Honor skip_pair_validation setting when downloading pairs.
This commit is contained in:
parent
d652e6fcc4
commit
53a8c693b8
@ -48,6 +48,7 @@ def start_download_data(args: Dict[str, Any]) -> None:
|
|||||||
# Init exchange
|
# Init exchange
|
||||||
exchange = ExchangeResolver.load_exchange(config['exchange']['name'], config, validate=False)
|
exchange = ExchangeResolver.load_exchange(config['exchange']['name'], config, validate=False)
|
||||||
# Manual validations of relevant settings
|
# Manual validations of relevant settings
|
||||||
|
if not config['exchange'].get('skip_pair_validation', False):
|
||||||
exchange.validate_pairs(config['pairs'])
|
exchange.validate_pairs(config['pairs'])
|
||||||
expanded_pairs = expand_pairlist(config['pairs'], list(exchange.markets))
|
expanded_pairs = expand_pairlist(config['pairs'], list(exchange.markets))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user