remove remnants markets and precisionlist

This commit is contained in:
iuvbio
2019-03-03 13:41:51 +01:00
parent df79098adc
commit e2cbb7e7da
4 changed files with 3 additions and 7 deletions

View File

@@ -657,9 +657,7 @@ class Exchange(object):
@retrier
def get_markets(self) -> List[dict]:
try:
markets = self._api.fetch_markets()
self.markets.update({m["symbol"]: m for m in markets})
return markets
return self._api.fetch_markets()
except (ccxt.NetworkError, ccxt.ExchangeError) as e:
raise TemporaryError(
f'Could not load markets due to {e.__class__.__name__}. Message: {e}')