Merge pull request #1426 from mishaker/fix_int_remaining
Remaining amount in check_handle_timedout should be treated as float not int.
This commit is contained in:
commit
cef1fa8636
@ -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