Noon Barbari
Sign up
Backtesting

Overfitting

Fitting a strategy so closely to past data that it captures noise, not signal.

Overfitting (curve-fitting) is the failure mode where a strategy's parameters are tuned so aggressively to the in-sample period that they end up describing noise instead of repeatable structure. The signature is great in-sample performance and poor out-of-sample performance.

Overfitting risk grows with the number of parameters tuned and the amount of search done over them. Six binary on/off filters yield 64 combinations; the best-of-64 will look great on any data set by chance alone. This is the Multiple-Testing problem applied to trading.

Mitigations: keep parameter count small, optimize on long histories, hold out untouched OOS data, walk-forward in production, and stress-test by deliberately perturbing parameters to confirm performance is not razor-thin around the chosen values.

How Noon Barbari uses Overfitting

Every concept here is implemented in the platform. Open the relevant docs or tool to see it in action.

Anti-overfit workflow

Related terms

Back to glossary