Merge pull request #5279 from rokups/patch-3

Honor skip_pair_validation setting when downloading pairs.
This commit is contained in:
Matthias 2021-07-17 08:44:22 +02:00 committed by GitHub
commit 03a4ae4674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,7 @@ 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
if not config['exchange'].get('skip_pair_validation', False):
exchange.validate_pairs(config['pairs'])
expanded_pairs = expand_pairlist(config['pairs'], list(exchange.markets))