Overfitting in Trading Models | Fractalerts
When a Formula Learns the Answers

When a Formula Learns the Answers

| Fractalerts | Blog
Copper threads winding around a grid of ivory pins

The economic version of overfitting includes execution. A model might predict a tiny average move that looks significant before fees, spread and slippage. If the theoretical edge is smaller than the cost of trading, the market has not been beaten. It has merely been described at a level of precision that cannot be monetized. An honest report separates statistical predictability from tradable returns.

The exam papers are stacked on a desk, and one student has somehow memorized every answer from last year. He looks like a genius until the teacher changes the questions. A trading model can pass the same misleading examination.

We have also written about attractive but misleading trading claims in our research essays.

How a model learns the past

Overfitting occurs when a model captures noise or accidental details of its training sample rather than a stable relationship. Increasing the number of parameters usually makes historical fit easier. It does not guarantee better predictions. In fact, searching thousands of variations creates a multiple-testing problem: some will look extraordinary by chance alone.

A classic mistake is to reserve a test set, inspect it repeatedly, and then keep revising the model until it looks good there too. At that point the test set has quietly become training data. The solution is procedural as much as mathematical: define research stages, preserve genuinely untouched periods and record failed experiments.

Imagine testing one hundred timing rules on independent random returns. Even if none has predictive value, the best-looking rule will almost certainly outperform the average in the sample. Report only that winner, and you have manufactured an impressive story without manufacturing an edge.

Small circles and horizontal lines around a large circle

Conceptual illustration only. Not historical market data or evidence of trading performance.

The remedy is not a single magic statistic. Use untouched holdout periods, walk-forward tests, realistic costs, stability checks and an honest record of how many alternatives were tried. When market regimes change, even a previously valid relationship may decay.

A model that remembers every answer is not necessarily a model that has learned anything. That is why the next observation matters more than the last perfect chart.

Explore Fractalerts products and market coverage.

Related reading: The Swiss Clock That Stole a Second.