This repository was archived by the owner on Feb 3, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 2.5.10] - 2026-01-29
8+ ### Fixed
9+ [ PositionsUpdater] Missing is_option is should_run check
10+
711## [ 2.5.9] - 2026-01-29
812### Fixed
913[ PositionValueHolder] Fix futures get_holdings_ratio position margin handling
Original file line number Diff line number Diff line change 1- # OctoBot-Trading [ 2.5.9 ] ( https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md )
1+ # OctoBot-Trading [ 2.5.10 ] ( https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md )
22[ ![ 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 )
33[ ![ PyPI] ( https://img.shields.io/pypi/v/OctoBot-Trading.svg )] ( https://pypi.python.org/pypi/OctoBot-Trading/ )
44[ ![ 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 )
Original file line number Diff line number Diff line change 1515# License along with this library.
1616
1717PROJECT_NAME = "OctoBot-Trading"
18- VERSION = "2.5.9 " # major.minor.revision
18+ VERSION = "2.5.10 " # major.minor.revision
Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ async def resolve_pending_portfolio_update_events_if_any(self):
407407 f"{ self .pending_portfolio_update_events } "
408408 )
409409 else :
410- self .logger .info ("No pending portfolio update events: stopping expected portfolio update checker" )
410+ self .logger .debug ("No pending portfolio update events: stopping expected portfolio update checker" )
411411 await self .stop_expected_portfolio_update_checker ()
412412
413413 def has_pending_portfolio_update_events (self ) -> bool :
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ async def fetch_and_push(self):
129129 await asyncio .sleep (self .TIME_BETWEEN_POSITIONS_REFRESH )
130130
131131 def _should_run (self ):
132- return self .channel .exchange_manager .is_future
132+ return self .channel .exchange_manager .is_future or self . channel . exchange_manager . is_option
133133
134134 def _is_relevant_position (self , position_dict ):
135135 return position_dict and position_dict .get (enums .ExchangeConstantsPositionColumns .SYMBOL .value , None ) \
You can’t perform that action at this time.
0 commit comments