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:
Matthias 2018-12-24 13:32:45 +01:00 committed by GitHub
commit cef1fa8636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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