From 683406b57d9daf0c3c609a011b1ff99d0f8ae6a7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 3 Dec 2019 06:36:43 +0100 Subject: [PATCH] correct fallback to stake_currency --- freqtrade/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freqtrade/utils.py b/freqtrade/utils.py index b7873876a..da0ef1fff 100644 --- a/freqtrade/utils.py +++ b/freqtrade/utils.py @@ -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