correct fallback to stake_currency

This commit is contained in:
Matthias 2019-12-03 06:36:43 +01:00
parent 0b03c6c786
commit 683406b57d

View File

@ -333,7 +333,9 @@ def start_test_pairlist(args: Dict[str, Any]) -> None:
exchange = ExchangeResolver(config['exchange']['name'], config, validate=False).exchange
quote_currencies = args.get('quote_currencies', [config.get('stake_currency')])
quote_currencies = args.get('quote_currencies')
if not quote_currencies:
quote_currencies = [config.get('stake_currency')]
results = {}
for curr in quote_currencies:
config['stake_currency'] = curr