mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
add debug message to timerange
This commit is contained in:
parent
f2762e3b4b
commit
e8c0dcf9f3
|
@ -743,7 +743,7 @@ class FreqaiDataKitchen:
|
|||
logger.warning('FreqAI could not detect max timeframe and therefore may not '
|
||||
'download the proper amount of data for training')
|
||||
|
||||
# logger.info(f'Extending data download by {additional_seconds/SECONDS_IN_DAY} days')
|
||||
logger.info(f'Extending data download by {additional_seconds/SECONDS_IN_DAY} days')
|
||||
|
||||
if trained_timestamp != 0:
|
||||
elapsed_time = (time - trained_timestamp) / SECONDS_IN_DAY
|
||||
|
@ -770,6 +770,13 @@ class FreqaiDataKitchen:
|
|||
data_load_timerange.stopts = int(time)
|
||||
retrain = True
|
||||
|
||||
logger.info(f'Total data download needed '
|
||||
f'{(data_load_timerange.stopts - data_load_timerange.startts)/SECONDS_IN_DAY} '
|
||||
' days')
|
||||
logger.info(f'Total training timerange '
|
||||
f'{(trained_timerange.stopts - trained_timerange.startts)/SECONDS_IN_DAY} '
|
||||
' days')
|
||||
|
||||
# if retrain:
|
||||
# coin, _ = metadata['pair'].split("/")
|
||||
# # set the new data_path
|
||||
|
|
Loading…
Reference in New Issue
Block a user