From 2012bb7c53b7d438ee39108a23af5dd75e46bb13 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 16 Nov 2024 10:43:01 +0100 Subject: [PATCH] chore: improve logging sequence --- freqtrade/data/history/history_utils.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/freqtrade/data/history/history_utils.py b/freqtrade/data/history/history_utils.py index 7aa660f43..96c3a0b33 100644 --- a/freqtrade/data/history/history_utils.py +++ b/freqtrade/data/history/history_utils.py @@ -607,11 +607,6 @@ def download_data_main(config: Config) -> None: if "timeframes" not in config: config["timeframes"] = DL_DATA_TIMEFRAMES - logger.info( - f"About to download pairs: {expanded_pairs}, " - f"intervals: {config['timeframes']} to {config['datadir']}" - ) - if len(expanded_pairs) == 0: logger.warning( "No pairs available for download. " @@ -619,6 +614,11 @@ def download_data_main(config: Config) -> None: f"More info: {DOCS_LINK}/bot-basics/#pair-naming" ) + logger.info( + f"About to download pairs: {expanded_pairs}, " + f"intervals: {config['timeframes']} to {config['datadir']}" + ) + for timeframe in config["timeframes"]: exchange.validate_timeframes(timeframe)