Add tests for get_quote_currencies

This commit is contained in:
Matthias
2020-01-11 12:01:34 +01:00
parent ca2880537d
commit 60b47b6eec
2 changed files with 22 additions and 1 deletions

View File

@@ -216,7 +216,7 @@ class Exchange:
Return a list of supported quote currencies
"""
markets = self.markets
currencies = set([x['quote'] for _, x in markets.items()])
currencies = set([x.get('quote') for _, x in markets.items()])
return list(currencies)
def klines(self, pair_interval: Tuple[str, str], copy=True) -> DataFrame: