mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 10:33:08 +00:00
chore: fix type-check
This commit is contained in:
@@ -394,7 +394,7 @@ class Backtesting:
|
||||
else:
|
||||
self.futures_data = {}
|
||||
|
||||
def get_pair_precision(self, pair: str, current_time: datetime) -> tuple[float, int]:
|
||||
def get_pair_precision(self, pair: str, current_time: datetime) -> tuple[float | None, int]:
|
||||
"""
|
||||
Get pair precision at that moment in time
|
||||
:param pair: Pair to get precision for
|
||||
|
||||
Reference in New Issue
Block a user