---
title: "What is Overfitting? Meaning and example | TradeLiga"
description: "Fitting a rule to random moves in past prices, not a real pattern. Also called curve-fitting. Try enough versions and one will look great by luck alone…"
url: https://tradeliga.com/en/glossary/overfitting
language: en
dateModified: 2026-11-27
---

[Risk & strategy](https://tradeliga.com/en/glossary?c=strategy)

# What is Overfitting?

Fitting a rule to random moves in past prices, not a real pattern. Also called curve-fitting. Try enough versions and one will look great by luck alone.

[Learn it in 60 seconds](https://tradeliga.com/en/learn/w:overfitting)
[From your path **Lesson 4.1.4 · Backtesting and Overfitting**](https://tradeliga.com/en/learn/backtest)

## Think of it like

A suit tailored to one photo of you standing still. It fits that pose perfectly, then pinches the moment you move.

## Real example

A usual test passes 1 in 20 no-edge rules by luck. Ana tried 200 versions: 200 × 0.05 = about 10 lucky winners, if the versions were unrelated.

## Key takeaway

- One great result from 200 tries is what luck predicts.
- So an honest backtest counts every version tried and tests once on unseen data.
- It also checks for prices you couldn't have known, for markets that vanished and for costs.

Lesson 4.1.4 · [Backtesting and Overfitting](https://tradeliga.com/en/learn/backtest)

## Frequently asked questions

**What does overfitting mean?**

Fitting a rule to random moves in past prices, not a real pattern. Also called curve-fitting. Try enough versions and one will look great by luck alone.

**What is an example of overfitting?**

A usual test passes 1 in 20 no-edge rules by luck. Ana tried 200 versions: 200 × 0.05 = about 10 lucky winners, if the versions were unrelated.

## Related words

- [**Look-ahead bias** Testing with prices you couldn't know yet](https://tradeliga.com/en/glossary/look-ahead-bias)
- [**Unseen data** Prices kept back for one final test](https://tradeliga.com/en/glossary/unseen-data)
- [**Hypothetical results** Results from a model, not real trades](https://tradeliga.com/en/glossary/hypothetical-results)
- [**Forward test** Running finished rules live on demo](https://tradeliga.com/en/glossary/forward-test)
- [**Track record** A full, checked list of every trade](https://tradeliga.com/en/glossary/track-record)
- [**Pass mark** A result a system must reach, set first](https://tradeliga.com/en/glossary/pass-mark)
- [**Backtesting** Testing a trading rule on past prices](https://tradeliga.com/en/glossary/backtesting)
- [**FOMO** Fear of missing out on a big price move](https://tradeliga.com/en/glossary/fomo)

[All 477 words in the glossary](https://tradeliga.com/en/glossary)

---

Source: <https://tradeliga.com/en/glossary/overfitting>

TradeLiga is a free trading-education game: pretend money only, no financial advice.
