Improve dry-run-wallets in futures case test
This commit is contained in:
parent
51828a0b0b
commit
a837571e2b
@ -356,3 +356,9 @@ def test_sync_wallet_futures_dry(mocker, default_conf, fee):
|
||||
positions['ETC/BTC'].side == 'long'
|
||||
positions['XRP/BTC'].side == 'long'
|
||||
positions['LTC/BTC'].side == 'short'
|
||||
|
||||
assert freqtrade.wallets.get_starting_balance() == default_conf['dry_run_wallet']
|
||||
total = freqtrade.wallets.get_total('BTC')
|
||||
free = freqtrade.wallets.get_free('BTC')
|
||||
used = freqtrade.wallets.get_used('BTC')
|
||||
assert free + used == total
|
||||
|
Loading…
Reference in New Issue
Block a user