From 0f505c6d7b3a1f3cc71a2e19b9289243656aa110 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 14 Sep 2024 10:04:28 +0200 Subject: [PATCH] Improve check to cover more potential api oddities --- freqtrade/exchange/kraken.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/exchange/kraken.py b/freqtrade/exchange/kraken.py index 553e61ff8..d3e4dfcff 100644 --- a/freqtrade/exchange/kraken.py +++ b/freqtrade/exchange/kraken.py @@ -78,7 +78,7 @@ class Kraken(Exchange): # x["side"], x["amount"], ) for x in orders - if x["price"] is not None + if (x["price"] is not None or x["side"] != "sell") and x["remaining"] is not None ] for bal in balances: if not isinstance(balances[bal], dict):