This commit is contained in:
Matthias
2024-04-20 08:55:37 +02:00
parent b5239f06ae
commit 68c36ce07d

View File

@@ -104,7 +104,7 @@ class ExchangeWS:
self._background_tasks.discard(task)
result = task.result()
logger.info(f"{pair}, {timeframe} Task finished {result}")
self._pairs_scheduled.discard(pair, timeframe, candle_type)
self._klines_scheduled.discard((pair, timeframe, candle_type))
async def _continuously_async_watch_ohlcv(
self, pair: str, timeframe: str, candle_type: CandleType) -> None: