Don't check for "open orders" in handle_cancel_enter

it's actually irrelenant (closes #9273).
This commit is contained in:
Matthias
2023-10-08 09:40:35 +02:00
parent 6c00bf423b
commit 897c14e2e5

View File

@@ -1506,9 +1506,6 @@ class FreqtradeBot(LoggingMixin):
"""
was_trade_fully_canceled = False
side = trade.entry_side.capitalize()
if not trade.has_open_orders:
logger.warning(f"No open order for {trade}.")
return False
if order['status'] not in constants.NON_OPEN_EXCHANGE_STATES:
filled_val: float = order.get('filled', 0.0) or 0.0