mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-17 13:21:15 +00:00
chore: return 0 total balances
total may be 0, while still having "free" balance (cross futures scenarios)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user