From 60579485e52dd36d1bc20344766baf9850510b57 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 29 Feb 2020 14:56:36 +0100 Subject: [PATCH] fix empty stake currency problem --- freqtrade/exchange/exchange.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 799ee2c37..f6b722c9a 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -332,7 +332,8 @@ class Exchange: logger.warning(f"Pair {pair} is restricted for some users on this exchange." f"Please check if you are impacted by this restriction " f"on the exchange and eventually remove {pair} from your whitelist.") - if not self.get_pair_quote_currency(pair) == self._config['stake_currency']: + if (self._config['stake_currency'] and + not self.get_pair_quote_currency(pair) == self._config['stake_currency']): invalid_pairs.append(pair) if invalid_pairs: raise OperationalException(