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.
pull/12169/head
Matthias 9 months ago
parent bb1d34c33d
commit 70ee652be5

@ -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

Loading…
Cancel
Save