Noon Barbari

Validation & overfitting

What is walk-forward analysis?

Walk-forward analysis repeatedly optimizes a strategy on one window of history and tests it on the next, unseen window, rolling forward through time — optimize on 2021–2022, test on 2023 Q1; slide; repeat. The stitched-together test segments form an out-of-sample equity curve that no parameter choice ever saw.

It answers the question a single backtest can't: does the strategy keep working when it must be re-tuned on the past and traded on the future, the way it would be in real life? Consistent walk-forward segments are among the strongest evidence a retail strategy can have.

Walk-forward docsWalk-forward explained (blog)

The fastest answer is a test

Most 'does X work?' questions take a minute to answer empirically — on real data, with an out-of-sample check, free.

Backtest a strategy free

More in this topic

Educational content, not financial advice. Backtested and historical figures describe past periods only; past performance does not guarantee future results.