mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Slightly enhance logging for clarity
This commit is contained in:
@@ -316,8 +316,7 @@ class DataProvider:
|
|||||||
timerange.subtract_start(tf_seconds * startup_candles)
|
timerange.subtract_start(tf_seconds * startup_candles)
|
||||||
|
|
||||||
logger.info(f"Loading data for {pair} {timeframe} "
|
logger.info(f"Loading data for {pair} {timeframe} "
|
||||||
f"from {timerange.start_fmt} "
|
f"from {timerange.start_fmt} to {timerange.stop_fmt}")
|
||||||
f"to {timerange.stop_fmt}")
|
|
||||||
|
|
||||||
self.__cached_pairs_backtesting[saved_pair] = load_pair_history(
|
self.__cached_pairs_backtesting[saved_pair] = load_pair_history(
|
||||||
pair=pair,
|
pair=pair,
|
||||||
@@ -344,9 +343,9 @@ class DataProvider:
|
|||||||
if add_train_candles:
|
if add_train_candles:
|
||||||
train_candles = freqai_config['train_period_days'] * 86400 / tf_seconds
|
train_candles = freqai_config['train_period_days'] * 86400 / tf_seconds
|
||||||
total_candles = int(self._config['startup_candle_count'] + train_candles)
|
total_candles = int(self._config['startup_candle_count'] + train_candles)
|
||||||
logger.info(f'Increasing startup_candle_count for freqai on {timeframe} '
|
logger.info(
|
||||||
f'to {total_candles}')
|
f'Increasing startup_candle_count for freqai on {timeframe} to {total_candles}')
|
||||||
return total_candles
|
return total_candles
|
||||||
|
|
||||||
def get_pair_dataframe(
|
def get_pair_dataframe(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user