Continue in "regular backtest" case (no detail-data available).

link to #7967
This commit is contained in:
Matthias 2023-01-04 18:08:45 +01:00
parent 6470635753
commit 8e5b4750d6

View File

@ -1177,6 +1177,7 @@ class Backtesting:
open_trade_count_start = self.backtest_loop(
row, pair, current_time, end_date, max_open_trades,
open_trade_count_start)
continue
detail_data.loc[:, 'enter_long'] = row[LONG_IDX]
detail_data.loc[:, 'exit_long'] = row[ELONG_IDX]
detail_data.loc[:, 'enter_short'] = row[SHORT_IDX]