From 6d698e584bf4501c5e7bc3e8cafada8850bcdd1b Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 8 Dec 2024 11:45:25 +0100 Subject: [PATCH] chore: return 0 total balances total may be 0, while still having "free" balance (cross futures scenarios) --- freqtrade/rpc/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/rpc/rpc.py b/freqtrade/rpc/rpc.py index d4c05d2d2..bc4f84f24 100644 --- a/freqtrade/rpc/rpc.py +++ b/freqtrade/rpc/rpc.py @@ -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)