fix typo for list type
This commit is contained in:
@@ -1706,7 +1706,7 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
logger.warning(f"Unable to replace order for {trade.pair}: {exception}")
|
logger.warning(f"Unable to replace order for {trade.pair}: {exception}")
|
||||||
self.replace_order_failed(trade, f"Could not replace order for {trade}.")
|
self.replace_order_failed(trade, f"Could not replace order for {trade}.")
|
||||||
|
|
||||||
def cancel_open_orders_of_trade(self, trade: Trade, reason: str, sides: List[str]) -> None:
|
def cancel_open_orders_of_trade(self, trade: Trade, reason: str, sides: list[str]) -> None:
|
||||||
"""
|
"""
|
||||||
Cancel trade orders of specified sides that are currently open
|
Cancel trade orders of specified sides that are currently open
|
||||||
:param trade: Trade object of the trade we're analyzing
|
:param trade: Trade object of the trade we're analyzing
|
||||||
|
|||||||
@@ -595,7 +595,7 @@ class LocalTrade:
|
|||||||
return self.amount > 0
|
return self.amount > 0
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def open_sl_orders(self) -> List[Order]:
|
def open_sl_orders(self) -> list[Order]:
|
||||||
"""
|
"""
|
||||||
All open stoploss orders for this trade
|
All open stoploss orders for this trade
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user