Don't handle trades if they've just been closed.
This commit is contained in:
parent
7558e4bffe
commit
40d4949f06
@ -610,7 +610,7 @@ class FreqtradeBot:
|
|||||||
trades_closed += 1
|
trades_closed += 1
|
||||||
continue
|
continue
|
||||||
# Check if we can sell our current pair
|
# 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
|
trades_closed += 1
|
||||||
|
|
||||||
except DependencyException as exception:
|
except DependencyException as exception:
|
||||||
|
Loading…
Reference in New Issue
Block a user