chore: fix type-check

pull/11711/head
Matthias 12 months ago
parent 53ba3ced06
commit 2142b2aea3

@ -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

Loading…
Cancel
Save