chore: return 0 total balances

total may be 0, while still having "free" balance (cross futures scenarios)
This commit is contained in:
Matthias
2024-12-08 11:45:25 +01:00
parent 193b989342
commit 6d698e584b

View File

@@ -726,7 +726,7 @@ class RPC:
coin: str
balance: Wallet
for coin, balance in self._freqtrade.wallets.get_all_balances().items():
if not balance.total:
if not balance.total and not balance.free:
continue
trade = open_assets.get(coin, None)