diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 7d086677d..cedc716be 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -692,12 +692,13 @@ class Exchange: # Reload async markets, then assign them to sync api retrier(self._load_async_markets, retries=retries)(reload=True) self._markets = self._api_async.markets - self._api.set_markets(self._api_async.markets, self._api_async.currencies) + self._api.set_markets_from_exchange(self._api_async) # Assign options array, as it contains some temporary information from the exchange. + # TODO: investigate with ccxt if it's safe to remove `.options` self._api.options = self._api_async.options if self._exchange_ws: # Set markets to avoid reloading on websocket api - self._ws_async.set_markets(self._api.markets, self._api.currencies) + self._ws_async.set_markets_from_exchange(self._api_async) self._ws_async.options = self._api.options self._last_markets_refresh = dt_ts()