Merge pull request #2884 from freqtrade/fix/stakecurr_validation
fix download-data validation problems
This commit is contained in:
commit
f41de38498
@ -37,7 +37,12 @@ def start_download_data(args: Dict[str, Any]) -> None:
|
|||||||
pairs_not_available: List[str] = []
|
pairs_not_available: List[str] = []
|
||||||
|
|
||||||
# Init exchange
|
# Init exchange
|
||||||
exchange = ExchangeResolver.load_exchange(config['exchange']['name'], config)
|
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:
|
try:
|
||||||
|
|
||||||
if config.get('download_trades'):
|
if config.get('download_trades'):
|
||||||
|
Loading…
Reference in New Issue
Block a user