Skip to content

Commit cb6c6e3

Browse files
Pigbibicodex
andcommitted
fix(strategy): require panel in crypto runner factory
Co-Authored-By: Codex <noreply@openai.com>
1 parent 6bb1718 commit cb6c6e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/strategy_lifecycle/backtest_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ def run(
3838
return self._runner.run(strategy_profile, params, start_date=start_date, end_date=end_date)
3939

4040

41-
def build_backtest_runner(*, panel: pd.DataFrame | None = None) -> CryptoBacktestRunner:
42-
"""Build a production adapter; callers must supply prepared real data."""
41+
def build_backtest_runner(*, panel: pd.DataFrame) -> CryptoBacktestRunner:
42+
"""Build a production adapter from a required prepared real-data panel."""
4343
return CryptoBacktestRunner(panel=panel)

0 commit comments

Comments
 (0)