Noon Barbari
S'inscrire
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.

Comment Noon Barbari utilise Walk-forward optimization

Chaque concept ici est implémenté dans la plateforme. Ouvre la documentation ou l'outil concerné pour le voir en action.

Walk-forward in the platform

Termes liés

Retour au glossaire