mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 00:23:07 +00:00
remove Optinal property of replacing param in cancel_open_orders_of_trade
This commit is contained in:
@@ -1728,7 +1728,7 @@ class FreqtradeBot(LoggingMixin):
|
||||
self.replace_order_failed(trade, f"Could not replace order for {trade}.")
|
||||
|
||||
def cancel_open_orders_of_trade(
|
||||
self, trade: Trade, sides: list[str], reason: str, replacing: Optional[bool] = False
|
||||
self, trade: Trade, sides: list[str], reason: str, replacing: bool = False
|
||||
) -> None:
|
||||
"""
|
||||
Cancel trade orders of specified sides that are currently open
|
||||
|
||||
Reference in New Issue
Block a user