Update "Query" type

This commit is contained in:
Matthias
2023-02-20 20:22:41 +01:00
parent db4f4498dc
commit b65cff0adc
3 changed files with 13 additions and 8 deletions

View File

@@ -1305,7 +1305,7 @@ class Trade(ModelBase, LocalTrade):
)
@staticmethod
def get_trades(trade_filter=None, include_orders: bool = True) -> Query:
def get_trades(trade_filter=None, include_orders: bool = True) -> Query['Trade']:
"""
Helper function to query Trades using filters.
NOTE: Not supported in Backtesting.