mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Improve type hinting
This commit is contained in:
@@ -1336,6 +1336,7 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
for trade in Trade.get_open_trades():
|
for trade in Trade.get_open_trades():
|
||||||
|
open_order: Order
|
||||||
for open_order in trade.open_orders:
|
for open_order in trade.open_orders:
|
||||||
try:
|
try:
|
||||||
order = self.exchange.fetch_order(open_order.order_id, trade.pair)
|
order = self.exchange.fetch_order(open_order.order_id, trade.pair)
|
||||||
|
|||||||
Reference in New Issue
Block a user