make docs reflect reality, move download_all_data to new utils.py file, automatic startup_candle detection

This commit is contained in:
robcaulk
2022-08-26 15:30:01 +02:00
parent 4b7e640f31
commit 65b552e310
4 changed files with 14 additions and 63 deletions

View File

@@ -148,7 +148,7 @@ class IStrategy(ABC, HyperStrategyMixin):
def load_freqAI_model(self) -> None:
if self.config.get('freqai', {}).get('enabled', False):
# Import here to avoid importing this if freqAI is disabled
from freqtrade.freqai.data_kitchen import (download_all_data_for_training)
from freqtrade.freqai.utils import download_all_data_for_training
from freqtrade.resolvers.freqaimodel_resolver import FreqaiModelResolver
self.freqai = FreqaiModelResolver.load_freqaimodel(self.config)
self.freqai_info = self.config["freqai"]