mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Improve check to cover more potential api oddities
This commit is contained in:
parent
ae155c78c2
commit
0f505c6d7b
|
@ -78,7 +78,7 @@ class Kraken(Exchange):
|
||||||
# x["side"], x["amount"],
|
# x["side"], x["amount"],
|
||||||
)
|
)
|
||||||
for x in orders
|
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:
|
for bal in balances:
|
||||||
if not isinstance(balances[bal], dict):
|
if not isinstance(balances[bal], dict):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user