From 0318ca9f127a7e9b1004068a11ff8836cc1e4d7e Mon Sep 17 00:00:00 2001 From: Wagner Costa Santos Date: Mon, 26 Sep 2022 19:08:25 -0300 Subject: [PATCH] backtest_live_models - fix typo --- freqtrade/freqai/freqai_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/freqai/freqai_util.py b/freqtrade/freqai/freqai_util.py index da5b5615f..629bed9ea 100644 --- a/freqtrade/freqai/freqai_util.py +++ b/freqtrade/freqai/freqai_util.py @@ -4,7 +4,7 @@ FreqAI generic functions import logging from datetime import datetime, timezone from pathlib import Path -from typing import Any, Dict +from typing import Any, Dict, Tuple from freqtrade.configuration import TimeRange from freqtrade.constants import Config @@ -25,7 +25,7 @@ def get_full_model_path(config: Config) -> Path: ) -def get_timerange_from_ready_models(models_path: Path) -> tuple[TimeRange, str, dict[str, Any]]: +def get_timerange_from_ready_models(models_path: Path) -> Tuple[TimeRange, str, dict[str, Any]]: """ Returns timerange information based on a FreqAI model directory :param models_path: FreqAI model path