mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
comparing float instead of int
This commit is contained in:
parent
390f13bbe4
commit
a5137e4fa4
|
@ -694,7 +694,7 @@ class FreqtradeBot(object):
|
|||
ordertime = arrow.get(order['datetime']).datetime
|
||||
|
||||
# Check if trade is still actually open
|
||||
if int(order['remaining']) == 0:
|
||||
if float(order['remaining']) == 0.0:
|
||||
self.wallets.update()
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user