diff --git a/CHANGELOG.md b/CHANGELOG.md index d86f8e72c..fb4e96b97 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.10] - 2026-01-29 +### Fixed +[PositionsUpdater] Missing is_option is should_run check + ## [2.5.9] - 2026-01-29 ### Fixed [PositionValueHolder] Fix futures get_holdings_ratio position margin handling diff --git a/README.md b/README.md index 26d3ffa40..57ff08c61 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot-Trading [2.5.9](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md) +# OctoBot-Trading [2.5.10](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 1700ad8f0..4c8ee3d12 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.9" # major.minor.revision +VERSION = "2.5.10" # major.minor.revision diff --git a/octobot_trading/personal_data/portfolios/portfolio_manager.py b/octobot_trading/personal_data/portfolios/portfolio_manager.py index 1de79757d..585c73a6b 100644 --- a/octobot_trading/personal_data/portfolios/portfolio_manager.py +++ b/octobot_trading/personal_data/portfolios/portfolio_manager.py @@ -407,7 +407,7 @@ async def resolve_pending_portfolio_update_events_if_any(self): f"{self.pending_portfolio_update_events}" ) else: - self.logger.info("No pending portfolio update events: stopping expected portfolio update checker") + self.logger.debug("No pending portfolio update events: stopping expected portfolio update checker") await self.stop_expected_portfolio_update_checker() def has_pending_portfolio_update_events(self) -> bool: diff --git a/octobot_trading/personal_data/positions/channel/positions_updater.py b/octobot_trading/personal_data/positions/channel/positions_updater.py index bbb7a26a0..739771f25 100644 --- a/octobot_trading/personal_data/positions/channel/positions_updater.py +++ b/octobot_trading/personal_data/positions/channel/positions_updater.py @@ -129,7 +129,7 @@ async def fetch_and_push(self): await asyncio.sleep(self.TIME_BETWEEN_POSITIONS_REFRESH) def _should_run(self): - return self.channel.exchange_manager.is_future + return self.channel.exchange_manager.is_future or self.channel.exchange_manager.is_option def _is_relevant_position(self, position_dict): return position_dict and position_dict.get(enums.ExchangeConstantsPositionColumns.SYMBOL.value, None) \