comparing float instead of int

This commit is contained in:
misagh 2018-12-24 11:39:11 +01:00
parent 390f13bbe4
commit a5137e4fa4

View File

@ -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