Strategy Validation

In-Sample

The stretch of history a strategy's settings are tuned on. Results there say how well the settings fit the past, not how they will do next.

By AlphaProve

In-sample data is the history used to choose a strategy's settings. In a forward walk, each window tries every combination of the values you set to sweep on its in-sample months and keeps the best one.

That best result is flattering by construction: the settings were picked because they did well on exactly those months. Treat in-sample numbers as a fit to the past. The test comes on out-of-sample data the settings never saw.