Use markets.quote to validate
This commit is contained in:
parent
6c8b5ea38c
commit
6581ba56ca
@ -99,7 +99,8 @@ class IPairList(ABC):
|
|||||||
logger.warning(f"Pair {pair} is not compatible with exchange "
|
logger.warning(f"Pair {pair} is not compatible with exchange "
|
||||||
f"{self._exchange.name}. Removing it from whitelist..")
|
f"{self._exchange.name}. Removing it from whitelist..")
|
||||||
continue
|
continue
|
||||||
if not pair.endswith(self._config['stake_currency']):
|
|
||||||
|
if markets[pair]['quote'] != self._config['stake_currency']:
|
||||||
logger.warning(f"Pair {pair} is not compatible with your stake currency "
|
logger.warning(f"Pair {pair} is not compatible with your stake currency "
|
||||||
f"{self._config['stake_currency']}. Removing it from whitelist..")
|
f"{self._config['stake_currency']}. Removing it from whitelist..")
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user