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
|
ordertime = arrow.get(order['datetime']).datetime
|
||||||
|
|
||||||
# Check if trade is still actually open
|
# Check if trade is still actually open
|
||||||
if int(order['remaining']) == 0:
|
if float(order['remaining']) == 0.0:
|
||||||
self.wallets.update()
|
self.wallets.update()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user