Noon Barbari

Validation & overfitting

What does out-of-sample mean in backtesting?

Out-of-sample (OOS) data is history the strategy was never tuned on. A common split is chronological 70/30: design and optimize on the first 70% (in-sample), then run the frozen strategy once on the final 30%. The OOS result is the honest one — the in-sample number is what the strategy was shaped to produce.

The discipline is in the "once": if you peek at the OOS result, adjust the strategy, and test again, the out-of-sample data quietly becomes in-sample and its evidential value is gone. Count your shots.

Out-of-sample (glossary)Validation docs

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.