LEGAL REVIEW REQUIRED: Educational only, not financial advice. Leveraged trading is high risk and may not suit everyone. Past performance is not indicative of future results. Full risk disclosure →
Back to academy0 of 18 complete
MODULE 06 LESSON 16

Backtests and overfitting

How convincing historical results are manufactured by accident or design.

14 min readEvidenceKnowledge check

A backtest asks how rules would have behaved on historical data. It is useful research, not proof. Flexible rules, repeated testing and unrealistic assumptions can fit noise and create a beautiful past that never existed in practice.

Core concepts
01

Look-ahead and survivorship bias

Look-ahead bias uses information unavailable at the decision time. Survivorship bias tests only assets that survived, excluding failures and delistings that a real investor could have owned.

02

Overfitting

Each parameter and filter gives a model another way to match historical noise. If hundreds of variants are tried and only the best is shown, the reported result understates the search process.

03

Realistic friction

Include spreads, commission, financing, slippage, borrowing constraints, contract rolls and taxes where relevant. Test whether results survive worse assumptions and different periods.

KEEP THESE

The lesson in three lines.

  1. 1Historical fit is not future evidence by itself.
  2. 2Count the full research search, not only the winner.
  3. 3Stress costs, parameters and market regimes.
KNOWLEDGE CHECK01 / 01

What is survivorship bias?

VERIFY AND GO DEEPER

Primary sources

Investor.gov: Introduction to InvestingOpen source →CFTC: Checklist Before You TradeOpen source →