Use main exchange instead of creating a separate instance.

This commit is contained in:
Matthias
2022-08-08 18:34:11 +00:00
parent 20b4134787
commit 77b3b8a134
4 changed files with 11 additions and 15 deletions

View File

@@ -482,7 +482,6 @@ class Exchange:
def reload_markets(self) -> None:
"""Reload markets both sync and async if refresh interval has passed """
asyncio.set_event_loop(self.loop)
# Check whether markets have to be reloaded
if (self._last_markets_refresh > 0) and (
self._last_markets_refresh + self.markets_refresh_interval