mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix some minor typos
This commit is contained in:
parent
6559384286
commit
884014a4b9
|
@ -88,7 +88,7 @@ The `--timerange` parameter must not be informed, as it will be automatically ca
|
|||
Each model has an identifier derived from the training end date. If you have only 1 model trained, FreqAI will backtest from the training end date until the current date. If you have more than 1 model, each model will perform the backtesting according to the training end date until the training end date of the next model and so on. For the last model, the period of the previous model will be used for the execution.
|
||||
|
||||
!!! Note
|
||||
Currently, there is no checking for expired models, even if the expired_hours parameter is set.
|
||||
Currently, there is no checking for expired models, even if the `expired_hours` parameter is set.
|
||||
|
||||
|
||||
### Downloading data to cover the full backtest period
|
||||
|
|
|
@ -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')))
|
||||
|
|
Loading…
Reference in New Issue
Block a user