From c4031761fec25cb1193557cc09733451fa028612 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 8 Feb 2020 09:53:20 +0100 Subject: [PATCH 1/2] Don't validate exchange for data-download subcommand --- freqtrade/commands/data_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/commands/data_commands.py b/freqtrade/commands/data_commands.py index ddc2ca25b..aee144505 100644 --- a/freqtrade/commands/data_commands.py +++ b/freqtrade/commands/data_commands.py @@ -37,7 +37,7 @@ def start_download_data(args: Dict[str, Any]) -> None: pairs_not_available: List[str] = [] # Init exchange - exchange = ExchangeResolver.load_exchange(config['exchange']['name'], config) + exchange = ExchangeResolver.load_exchange(config['exchange']['name'], config, validate=False) try: if config.get('download_trades'): From 1a9787ac76d6df1f337c1889ccf3135ae8cdaa13 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 8 Feb 2020 21:53:34 +0100 Subject: [PATCH 2/2] Add validation for data-download relevant settings --- freqtrade/commands/data_commands.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/freqtrade/commands/data_commands.py b/freqtrade/commands/data_commands.py index aee144505..e8e0f06d2 100644 --- a/freqtrade/commands/data_commands.py +++ b/freqtrade/commands/data_commands.py @@ -38,6 +38,11 @@ def start_download_data(args: Dict[str, Any]) -> None: # Init exchange exchange = ExchangeResolver.load_exchange(config['exchange']['name'], config, validate=False) + # Manual validations of relevant settings + exchange.validate_pairs(config['pairs']) + for timeframe in config['timeframes']: + exchange.validate_timeframes(timeframe) + try: if config.get('download_trades'):