mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-08 07:10:28 +00:00
Improve check to cover more potential api oddities
This commit is contained in:
@@ -78,7 +78,7 @@ class Kraken(Exchange):
|
||||
# x["side"], x["amount"],
|
||||
)
|
||||
for x in orders
|
||||
if (x["price"] is not None or x["side"] != "sell") and x["remaining"] is not None
|
||||
if x["remaining"] is not None and (x["side"] == "sell" or x["price"] is not None)
|
||||
]
|
||||
for bal in balances:
|
||||
if not isinstance(balances[bal], dict):
|
||||
|
||||
Reference in New Issue
Block a user