Don't handle trades if they've just been closed.

This commit is contained in:
Matthias 2020-05-01 17:46:01 +02:00
parent 7558e4bffe
commit 40d4949f06

View File

@ -610,7 +610,7 @@ class FreqtradeBot:
trades_closed += 1
continue
# Check if we can sell our current pair
if trade.open_order_id is None and self.handle_trade(trade):
if trade.open_order_id is None and trade.is_open and self.handle_trade(trade):
trades_closed += 1
except DependencyException as exception: