Improve type hinting

This commit is contained in:
Matthias
2023-10-08 09:58:06 +02:00
parent e525c6694b
commit c59b5e7781

View File

@@ -1336,6 +1336,7 @@ class FreqtradeBot(LoggingMixin):
:return: None
"""
for trade in Trade.get_open_trades():
open_order: Order
for open_order in trade.open_orders:
try:
order = self.exchange.fetch_order(open_order.order_id, trade.pair)