From 53a8c693b8eb7db0f7bca6e3608544f4cd687a32 Mon Sep 17 00:00:00 2001 From: Rokas Kupstys <19151258+rokups@users.noreply.github.com> Date: Sat, 17 Jul 2021 09:21:03 +0300 Subject: [PATCH] Honor skip_pair_validation setting when downloading pairs. --- freqtrade/commands/data_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/commands/data_commands.py b/freqtrade/commands/data_commands.py index 3877e0801..141e85f14 100644 --- a/freqtrade/commands/data_commands.py +++ b/freqtrade/commands/data_commands.py @@ -48,7 +48,8 @@ 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']) + if not config['exchange'].get('skip_pair_validation', False): + exchange.validate_pairs(config['pairs']) expanded_pairs = expand_pairlist(config['pairs'], list(exchange.markets)) logger.info(f"About to download pairs: {expanded_pairs}, "