Fix some minor typos
This commit is contained in:
@@ -804,7 +804,7 @@ class IFreqaiModel(ABC):
|
||||
train_it: int, total_trains: int):
|
||||
"""
|
||||
Log the backtesting progress so user knows how many pairs have been trained and
|
||||
hoe many more pairs/trains remain.
|
||||
how many more pairs/trains remain.
|
||||
:param tr_train: the training timerange
|
||||
:param train_it: the train iteration for the current pair (the sliding window progress)
|
||||
:param pair: the current pair
|
||||
|
@@ -220,7 +220,7 @@ def record_params(config: Dict[str, Any], full_path: Path) -> None:
|
||||
)
|
||||
|
||||
|
||||
def get_timerange_backtest_live_models(config: Config):
|
||||
def get_timerange_backtest_live_models(config: Config) -> str:
|
||||
"""
|
||||
Returns a formated timerange for backtest live/ready models
|
||||
:param config: Configuration dictionary
|
||||
|
@@ -135,8 +135,8 @@ class Backtesting:
|
||||
self.precision_mode = self.exchange.precisionMode
|
||||
|
||||
if self.config.get('freqai_backtest_live_models', False):
|
||||
from freqtrade.freqai import utils
|
||||
self.config['timerange'] = utils.get_timerange_backtest_live_models(self.config)
|
||||
from freqtrade.freqai.utils import get_timerange_backtest_live_models
|
||||
self.config['timerange'] = get_timerange_backtest_live_models(self.config)
|
||||
|
||||
self.timerange = TimeRange.parse_timerange(
|
||||
None if self.config.get('timerange') is None else str(self.config.get('timerange')))
|
||||
|
Reference in New Issue
Block a user