tentative augmented typing of Trade object

This commit is contained in:
Matthias
2023-02-14 10:35:18 +00:00
parent 41e27ba621
commit 3c019e0e16
2 changed files with 39 additions and 36 deletions

View File

@@ -1737,7 +1737,8 @@ class FreqtradeBot(LoggingMixin):
#
def update_trade_state(
self, trade: Trade, order_id: str, action_order: Optional[Dict[str, Any]] = None,
self, trade: Trade, order_id: Optional[str],
action_order: Optional[Dict[str, Any]] = None,
stoploss_order: bool = False, send_msg: bool = True) -> bool:
"""
Checks trades with open orders and updates the amount if necessary