Glossary / Walk-forward testing
Walk-forward testing
Tuning a strategy on one stretch of past data, testing it on the stretch that comes next, then sliding both windows forward and repeating.
An example
Tune on January to June 2023, test on July to September. Tune on April to September, test on October to December. The score is built only from the test windows the tuning never saw.
Why it matters
It catches strategies that were fitted to the past. A result that only holds in the windows used for tuning is not a result.
We build this into client work under trading systems.