From 70ee652be502b558ff7e1907d6393e6acd01c77e Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 26 Aug 2025 19:39:15 +0200 Subject: [PATCH] fix: cut-off (too short) timeframe-detail bug If the detail data stops short, this shouldn't cause an exception. instead, we should continue with "parent only" logic. --- freqtrade/optimize/backtesting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index 56f349f25..9f8759f95 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -1649,7 +1649,7 @@ class Backtesting: pair_detail = self.get_detail_data(pair, row) if pair_detail is not None: pair_detail_cache[pair] = pair_detail - row = pair_detail_cache[pair][idx] + row = pair_detail_cache[pair][idx] is_last_row = current_time_det == end_date