extract download-data from freqai to prepare for future async changes
This commit is contained in:
@@ -278,12 +278,12 @@ class IFreqaiModel(ABC):
|
||||
|
||||
# download candle history if it is not already in memory
|
||||
if not self.dd.historic_data:
|
||||
logger.info(
|
||||
"Downloading all training data for all pairs in whitelist and "
|
||||
"corr_pairlist, this may take a while if you do not have the "
|
||||
"data saved"
|
||||
)
|
||||
dk.download_all_data_for_training(data_load_timerange, strategy.dp)
|
||||
# logger.info(
|
||||
# "Downloading all training data for all pairs in whitelist and "
|
||||
# "corr_pairlist, this may take a while if you do not have the "
|
||||
# "data saved"
|
||||
# )
|
||||
# dk.download_all_data_for_training(data_load_timerange, strategy.dp)
|
||||
self.dd.load_all_pair_histories(data_load_timerange, dk)
|
||||
|
||||
if not self.scanning:
|
||||
|
||||
Reference in New Issue
Block a user