Fix last occurances of pair splitting

This commit is contained in:
Matthias
2020-02-25 07:16:37 +01:00
parent d34515a5de
commit 31ac4598ba
4 changed files with 7 additions and 7 deletions

View File

@@ -91,9 +91,9 @@ class VolumePairList(IPairList):
if self._pairlist_pos == 0:
# If VolumePairList is the first in the list, use fresh pairlist
# check length so that we make sure that '/' is actually in the string
# check base currency equals to stake currency.
filtered_tickers = [v for k, v in tickers.items()
if (len(k.split('/')) == 2 and k.split('/')[1] == base_currency
if (self._exchange.get_pair_quote_currency(k) == base_currency
and v[key] is not None)]
else:
# If other pairlist is in front, use the incomming pairlist.