fix: always cancel al open orders if the order ain't identical
This commit is contained in:
@@ -1781,7 +1781,6 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
f"Keeping existing {trade.exit_side} order. {price=}, {amount=}"
|
f"Keeping existing {trade.exit_side} order. {price=}, {amount=}"
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
else:
|
|
||||||
# cancel open orders of this trade if order is different
|
# cancel open orders of this trade if order is different
|
||||||
self.cancel_open_orders_of_trade(
|
self.cancel_open_orders_of_trade(
|
||||||
trade,
|
trade,
|
||||||
|
|||||||
Reference in New Issue
Block a user