From a5137e4fa4ac35b6e6492deabfa3b23bde86c8aa Mon Sep 17 00:00:00 2001 From: misagh Date: Mon, 24 Dec 2018 11:39:11 +0100 Subject: [PATCH] comparing float instead of int --- freqtrade/freqtradebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 9b58f8ec6..4febe9dd0 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -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