refactor: automatically load detailed bt data

This commit is contained in:
Matthias
2025-05-03 20:01:13 +02:00
parent f8a151c2a5
commit 8b8bf6f97d
6 changed files with 4 additions and 8 deletions

View File

@@ -992,7 +992,7 @@ def test_backtest_one_detail_futures(
timerange=timerange,
candle_type=CandleType.FUTURES,
)
backtesting.load_bt_data_detail()
backtesting._load_bt_data_detail()
processed = backtesting.strategy.advise_all_indicators(data)
min_date, max_date = get_timerange(processed)
@@ -1120,7 +1120,7 @@ def test_backtest_one_detail_futures_funding_fees(
timerange=timerange,
candle_type=CandleType.FUTURES,
)
backtesting.load_bt_data_detail()
backtesting._load_bt_data_detail()
processed = backtesting.strategy.advise_all_indicators(data)
min_date, max_date = get_timerange(processed)