Merge pull request #3471 from freqtrade/fix/3465

Fix exception with stacktrace in test-pairlist
This commit is contained in:
hroff-1902
2020-06-12 07:57:37 +03:00
committed by GitHub
2 changed files with 20 additions and 0 deletions

View File

@@ -150,6 +150,9 @@ class IPairList(ABC):
black_listed
"""
markets = self._exchange.markets
if not markets:
raise OperationalException(
'Markets not loaded. Make sure that exchange is initialized correctly.')
sanitized_whitelist: List[str] = []
for pair in pairlist: