Map.TradeMap.Trade
Client LoginGet Access →
Intermediate

Overfitting

Pronunciation: OH-ver-fit-ing

Tuning a strategy so tightly to past data that it captures noise, not a real edge — so it fails on new data.

Also known asCurve FittingCurve-fitting

Definition

Overfitting is the failure mode where a strategy is tuned so closely to a specific historical dataset that it models the noise rather than a durable, repeatable edge. It typically comes from too many parameters/filters, excessive re-optimisation, and a small sample. The standard defences are validating on out-of-sample data, walk-forward analysis, forward testing, and keeping the rule set simple. Fitting a strategy to data is normal; overfitting is fitting it so hard that it no longer generalises.

In plain English — Overfitting (or "curve-fitting") is when you optimise a strategy until it looks almost perfect on historical data — but it has really just memorised the random noise of that exact period. The moment it meets new data, the magic disappears. A backtest that looks too good is the classic warning sign.

Example

A system with eight filters shows a flawless equity curve on 2019–2021, then loses money in 2022. The filters were tuned to the past, not to a real edge — a textbook overfit.

Related terms

Where you see this in the app

Educational content only. Map.Trade does not provide financial advice or trading signals.

Why it matters

Overfitting is why so many backtests look amazing and then fail live. Spotting it is what separates a strategy with a real edge from one that just described the past.

Frequently asked questions

Is curve fitting the same as overfitting?

In trading, "curve fitting" is the most common way overfitting shows up: you keep adjusting parameters until the strategy fits the historical price curve almost perfectly. They are effectively the same idea — a strategy shaped to the past rather than to a durable edge.

What is the difference between fitting and overfitting?

Fitting a strategy to data is normal — you want rules that match how a market behaves. Overfitting (curve fitting) is going so far that the rules capture random noise of one period and stop working on new data.

How do I know if my strategy is overfit?

It looks near-perfect in-sample but falls apart out-of-sample or in forward testing, relies on many finely-tuned parameters, or was built on a small sample. Any of those is a red flag.

How does forward testing help with overfitting?

Forward testing runs the rules on new, unseen data where no tuning was possible — so an overfit strategy that only memorised the past is exposed quickly.

Do more indicators make a strategy safer?

Usually the opposite. Every extra filter is another knob to tune to the past, which raises overfitting risk. Simpler rule sets generalise better. Educational only, not financial advice.

Overfitting — Trading Glossary · Map.Trade