diff --git a/tests/test_wallets.py b/tests/test_wallets.py index e7b804a0b..73a34bbae 100644 --- a/tests/test_wallets.py +++ b/tests/test_wallets.py @@ -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