Slightly enhance logging for clarity

This commit is contained in:
Matthias
2023-12-17 20:11:20 +01:00
committed by Thomas Joußen
parent 663b1e11f8
commit 4f2d7b858f

View File

@@ -316,8 +316,7 @@ class DataProvider:
timerange.subtract_start(tf_seconds * startup_candles)
logger.info(f"Loading data for {pair} {timeframe} "
f"from {timerange.start_fmt} "
f"to {timerange.stop_fmt}")
f"from {timerange.start_fmt} to {timerange.stop_fmt}")
self.__cached_pairs_backtesting[saved_pair] = load_pair_history(
pair=pair,
@@ -344,9 +343,9 @@ class DataProvider:
if add_train_candles:
train_candles = freqai_config['train_period_days'] * 86400 / tf_seconds
total_candles = int(self._config['startup_candle_count'] + train_candles)
logger.info(f'Increasing startup_candle_count for freqai on {timeframe} '
f'to {total_candles}')
return total_candles
logger.info(
f'Increasing startup_candle_count for freqai on {timeframe} to {total_candles}')
return total_candles
def get_pair_dataframe(
self,