pub fn run_walk_forward_optimize(
lf: LazyFrame,
base_config: &BacktestConfig,
wf: &WalkForwardConfig,
variants: &[SweepVariant],
objective_metric: &str,
) -> Result<DataFrame, BacktestError>Expand description
Run walk-forward optimization: sweep on train fold, pick best by objective, backtest OOS.