From 0e3ab3d03b0a01502a59222ae10f5cfb4efcad25 Mon Sep 17 00:00:00 2001 From: Herklos Date: Thu, 29 Jan 2026 20:10:32 +0100 Subject: [PATCH] [OHLCVUpdater] Fix missing await --- CHANGELOG.md | 4 ++++ README.md | 2 +- octobot_trading/__init__.py | 2 +- octobot_trading/exchange_data/ohlcv/channel/ohlcv_updater.py | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f3fb205e..4174698b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.5.8] - 2026-01-29 +### Fixed +[OHLCVUpdater] Missing await inside _remove_unsupported_pairs + ## [2.5.7] - 2026-01-29 ### Updated [MarketsUpdater] Reduce markets update from every 2.5 to every 10min diff --git a/README.md b/README.md index d8f5a17bb..491db151f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot-Trading [2.5.7](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md) +# OctoBot-Trading [2.5.8](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/903b6b22bceb4661b608a86fea655f69)](https://app.codacy.com/gh/Drakkar-Software/OctoBot-Trading?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot-Trading&utm_campaign=Badge_Grade_Dashboard) [![PyPI](https://img.shields.io/pypi/v/OctoBot-Trading.svg)](https://pypi.python.org/pypi/OctoBot-Trading/) [![Coverage Status](https://coveralls.io/repos/github/Drakkar-Software/OctoBot-Trading/badge.svg?branch=master)](https://coveralls.io/github/Drakkar-Software/OctoBot-Trading?branch=master) diff --git a/octobot_trading/__init__.py b/octobot_trading/__init__.py index c9101dcdd..34cd847dc 100644 --- a/octobot_trading/__init__.py +++ b/octobot_trading/__init__.py @@ -15,4 +15,4 @@ # License along with this library. PROJECT_NAME = "OctoBot-Trading" -VERSION = "2.5.7" # major.minor.revision +VERSION = "2.5.8" # major.minor.revision diff --git a/octobot_trading/exchange_data/ohlcv/channel/ohlcv_updater.py b/octobot_trading/exchange_data/ohlcv/channel/ohlcv_updater.py index f817bcf69..6ee2c5a8c 100644 --- a/octobot_trading/exchange_data/ohlcv/channel/ohlcv_updater.py +++ b/octobot_trading/exchange_data/ohlcv/channel/ohlcv_updater.py @@ -390,7 +390,7 @@ async def _remove_unsupported_pairs(self, pair: str): # For now only remove the pair from the traded pairs if it's an option exchange if self.channel.exchange_manager.is_option: self.logger.warning(f"Removing {pair} from traded pairs...") - self.channel.exchange_manager.exchange_config.remove_traded_symbols([pair]) + await self.channel.exchange_manager.exchange_config.remove_traded_symbols([pair]) async def resume(self) -> None: await super().resume()