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.13] - 2026-02-01
### Fixed
[Backtesting] fix accurate price time_frame

## [2.5.12] - 2026-01-30
### Fixed
[ExchangeConfigData] Don't use realtime timeframe if no realtime evaluator is configured
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.12](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md)
# OctoBot-Trading [2.5.13](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.12" # major.minor.revision
VERSION = "2.5.13" # major.minor.revision
11 changes: 6 additions & 5 deletions octobot_trading/exchanges/config/exchange_config_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,12 @@ def _set_config_time_frame(self):
for time_frame in time_frame_manager.get_config_time_frame(self.config):
if self.exchange_manager.time_frame_exists(time_frame.value):
self.available_required_time_frames.append(time_frame)
if self.realtime_data_fetching and (
(
not self.exchange_manager.is_backtesting or
(self.exchange_manager.is_backtesting and self.exchange_manager.exchange.use_accurate_price_time_frame())
) or not self.available_required_time_frames
if (
self.exchange_manager.is_backtesting and self.exchange_manager.exchange.use_accurate_price_time_frame()
) or (
self.realtime_data_fetching and (
not self.exchange_manager.is_backtesting or not self.available_required_time_frames
)
):
# add shortest time frame for realtime evaluators
client_shortest_time_frame = time_frame_manager.find_min_time_frame(
Expand Down