use pairname for stake cur comparison

This commit is contained in:
iuvbio 2019-03-12 18:26:47 +01:00
parent d4543be8eb
commit d4d37667e1
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ class IPairList(ABC):
markets = self._freqtrade.exchange.markets
# keep only pairs with stake currency as quote
stake_pairs = [pair for pair in markets if # pair.endswith(self._config['stake_currency'])
markets[pair]["quote"] == self._config['stake_currency']]
stake_pairs = [pair for pair in markets if pair.endswith(self._config['stake_currency'])]
# markets[pair]["quote"] == self._config['stake_currency']
sanitized_whitelist = set()
for pair in whitelist: