Noon Barbari
Registrarse
Backtesting

Walk-forward optimization

Optimize on a rolling in-sample window, validate on the next out-of-sample slice.

Walk-forward optimization (WFO) is the standard cure for overfitting in parameter tuning. The historical period is split into a sequence of windows; for each window, the parameters are optimized on the in-sample portion and then evaluated on the immediately following out-of-sample portion. The window then rolls forward and the process repeats.

The result is a stitched-together out-of-sample equity curve: every trade in the OOS curve was generated by parameters that had not seen its bar. This is much closer to what live trading would have produced than a single optimized backtest over the whole history.

WFO is parameter-set sensitive: optimizing 12 hyperparameters on 6 months of data still overfits, walk-forward or not. The discipline is about how you split data, not a free pass to search a giant parameter space.

Cómo Noon Barbari usa Walk-forward optimization

Cada concepto aquí está implementado en la plataforma. Abre la documentación o la herramienta correspondiente para verlo en acción.

Walk-forward in the platform

Términos relacionados

Volver al glosario