mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-15 04:33:57 +00:00
fix: minor missing statement in detail backtest fallback
This commit is contained in:
parent
4b582b9d7e
commit
aa8cefc110
|
@ -1466,6 +1466,7 @@ class Backtesting:
|
||||||
].copy()
|
].copy()
|
||||||
if len(detail_data) == 0:
|
if len(detail_data) == 0:
|
||||||
# Fall back to "regular" data if no detail data was found for this candle
|
# Fall back to "regular" data if no detail data was found for this candle
|
||||||
|
self.dataprovider._set_dataframe_max_date(current_time)
|
||||||
self.backtest_loop(row, pair, current_time, end_date, trade_dir)
|
self.backtest_loop(row, pair, current_time, end_date, trade_dir)
|
||||||
continue
|
continue
|
||||||
detail_data.loc[:, "enter_long"] = row[LONG_IDX]
|
detail_data.loc[:, "enter_long"] = row[LONG_IDX]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user