mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-05-01 14:36:50 +00:00
chore: improve logging sequence
This commit is contained in:
@@ -607,11 +607,6 @@ def download_data_main(config: Config) -> None:
|
|||||||
if "timeframes" not in config:
|
if "timeframes" not in config:
|
||||||
config["timeframes"] = DL_DATA_TIMEFRAMES
|
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:
|
if len(expanded_pairs) == 0:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"No pairs available for download. "
|
"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"
|
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"]:
|
for timeframe in config["timeframes"]:
|
||||||
exchange.validate_timeframes(timeframe)
|
exchange.validate_timeframes(timeframe)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user