Skip to content
This repository was archived by the owner on Feb 3, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion octobot_trading/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down