Skip to content

Commit 70ee652

Browse files
committed
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.
1 parent bb1d34c commit 70ee652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

freqtrade/optimize/backtesting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ def time_pair_generator(
16491649
pair_detail = self.get_detail_data(pair, row)
16501650
if pair_detail is not None:
16511651
pair_detail_cache[pair] = pair_detail
1652-
row = pair_detail_cache[pair][idx]
1652+
row = pair_detail_cache[pair][idx]
16531653

16541654
is_last_row = current_time_det == end_date
16551655

0 commit comments

Comments
 (0)