The Equation Series
Menu

Trading & Options · Guide

How to Spot Backtest Overfitting: A 20-Question Checklist

Most backtests look better than the live results that follow. Here is how to spot overfitting, with the statistics, the common biases and a 20-question checklist.

By Thomas Kofi Annan · November 12, 2026 · 9 min read

Backtest overfitting is tuning a trading strategy until it fits the random noise in past data instead of a real effect. You can spot it by asking how many variations were tried, whether the result survives on markets and periods it was not designed on, whether costs and realistic fills are included, and whether its returns fell after the idea was published or launched. A backtest that cannot answer those questions is a hypothesis, not evidence.

The scale of the problem is documented. In 2016 Campbell Harvey, Yan Liu and Heqing Zhu catalogued 316 factors proposed in leading finance journals to predict stock returns and concluded that the usual hurdle, a t-statistic of about 2, was far too low; a new factor should clear about 3.0. The same year David McLean and Jeffrey Pontiff found that 97 published predictors earned about 58% less after publication than in the original papers. That is peer-reviewed research. A vendor's backtest faces no review at all.

This guide is educational. It explains how to read evidence and recommends no strategy.

Why does the best backtest always look good?

Because testing many ideas manufactures winners. If a strategy has no true edge, its measured Sharpe ratio over T years is roughly normally distributed around zero, with a standard deviation of about 1 divided by the square root of T. Test enough strategies and the best one's Sharpe rises steadily with the number of tries, even though every one of them is worthless.

The companion's worked example simulates 1,000 strategies with no edge at all over five years.

Result for the best of 1,000 no-edge strategies Value
In-sample Sharpe ratio 1.82
t-statistic 4.07, above the 3.0 hurdle
Out-of-sample result Loses money
Deflated Sharpe ratio (probability true Sharpe > 0) ~0.78, below the 0.95 threshold
Walk-forward rule picking last two years' best, over ten years Sharpe −0.25

Stylized simulation; computed in the companion.

The best backtest cleared a demanding statistical hurdle and was still pure luck. When there is no edge, last period's winner is last period's luck.

What happens when one real edge hides among many variants?

This is the realistic case: a vendor starts from a sound idea and then tunes it. The book's chapter on measuring edge simulates one strategy with a genuine but modest edge, a true Sharpe ratio of 0.5, tested alongside variants with none, using eight years of data. The researcher picks the best backtest and trades it for three years.

Strategies tested (one genuine) Median backtest Sharpe of the winner Its t-statistic Chance the winner is the genuine one Median live Sharpe (3 years) Chance the live record loses money
1 0.50 1.41 100% 0.47 20%
10 0.66 1.86 48% 0.22 36%
50 0.82 2.33 23% 0.10 43%
200 0.97 2.74 11% 0.03 48%
1,000 1.13 3.21 4% 0.03 48%

Stylized; 4,000 repetitions per row; returns assumed normal, so fat tails would make every row worse.

Four points follow.

An honest test of a real edge looks unimpressive. Tested once over eight years, a true Sharpe of 0.5 has a median t-statistic of 1.41, failing even the old standard of 2.

The search manufactures significance. Test 1,000 variants and the winner clears a t-statistic of 3.21, yet it is the genuine strategy only 4% of the time.

The backtest overstates the live result. With 50 variants, the median live Sharpe is 0.10 against a backtest of 0.82, a haircut of about 87%.

Three years of live trading decide very little. Even the genuine strategy loses money over three years 20% of the time, so a short live record cannot easily tell a real edge from a fitted one.

The practical rule: the number of trials sets the hurdle. Researchers forget the variants they discarded and vendors do not say, so assume the number is large.

What are the most common backtest biases?

Overfitting is one bias among several. The companion's study of backtesting, overfitting and the evidence problem lists the main ones.

Bias What happens Defense
Look-ahead Uses data not known at the time, such as restated earnings or the close used to trade at that close Point-in-time data; trade at the next open
Survivorship Delisted stocks and closed funds are missing Databases that include dead securities
Data snooping Parameters, filters and periods chosen after seeing results Fix rules in advance; count trials; hold out data
Unrealistic fills Trades at the midpoint or at prices that traded for an instant Model spread, slippage and queue position
Ignored costs Commissions, spreads, impact, financing and taxes left out Costs that scale with turnover and size
Missing tail events The sample lacks a crash, gap or default Stress tests with historical shocks
Leverage and margin left out Returns on notional with leverage a broker would have cut Model margin calls and forced liquidation
Hypothetical options prices Model prices or mid-quotes on illiquid strikes Traded quotes with bid and ask

Costs alone can reverse a result. A stylized example in the companion takes a strategy earning 8% a year gross at 12% volatility. At one turn a year with 10 basis points a round trip, it keeps 7.9%. At 100 turns a year, it loses 2.0% a year.

Options backtests are especially fragile. Historical options prices are usually end-of-day quotes, and the midpoint of a wide quote on an illiquid strike was never a tradable price. Instruments must also have existed: SPX options have expired every trading day only since May 2022, so a backtest of same-day SPX options before then is fiction.

How to check a backtest: 20 questions

The companion's checklist groups twenty questions into five parts. Each has a good answer and a bad one.

Data

  1. Does the data include dead securities and funds? Good: a named, survivorship-free source. Bad: "current S&P 500 members back to 2000."
  2. Is it point-in-time? Good: index membership and fundamentals as known on each date. Bad: today's constituents and restated accounts.
  3. Did the instruments exist on each date? Good: start dates noted. Bad: products tested before they launched.
  4. For options, are prices traded bids and asks on strikes with open interest? Bad: model prices or mid-quotes.

Rules

  1. What is the source of edge, and who is on the other side? Good: a named premium, behavior, flow, information or speed advantage. Bad: "the indicator shows it."
  2. Were the rules fixed and written down before the test?
  3. How many parameters, and how sensitive is the result? A result that collapses when a lookback changes from 14 to 15 is a fitted optimum.
  4. Could the signal have been known at the time of the trade? Signal and trade at the same close is the most common look-ahead bug.

Statistics

  1. How many strategies and variations were tried? "We don't track that" is the bad answer.
  2. Is there a multiple-testing adjustment such as the deflated Sharpe ratio?
  3. How long is the sample? Ten or more years and a t-statistic well above 3, given the trials.
  4. Does it work in markets and periods it was not designed on?
  5. What is the worst drawdown, how long did it last, and when?
  6. What is the skew, and does the sample include a crisis? Short-volatility strategies look best right before they fail.

Costs and execution

  1. Which costs are included, at the trader's size? "Commissions included" alone is not enough.
  2. How are fills modeled? Market orders should pay the spread; limit orders should fill only if the price trades through.
  3. What is the capacity?
  4. Are margin calls and forced liquidation modeled?

Live evidence

  1. Is there a live record, and who verifies it? Audited statements or an exchange benchmark index, not screenshots.
  2. Has performance decayed since publication or launch, and what would make you stop?

The companion's scoring is blunt. Eighteen to twenty good answers is strong evidence for a backtest, still worth a small live trial. Eight to twelve is weak, a hypothesis rather than a system.

How should you read a live track record?

A live record beats a backtest because real money was traded, but it still needs reading. Four traps are common.

Gross or net? Renaissance Technologies' Medallion fund is reported to have earned about 66% a year gross and about 39% net, unaudited. Fees can more than halve a gross return.

What is the denominator? Universa's reported 3,612% in March 2020 was the return on the capital its tail hedge required. A portfolio with 3.33% in Universa and the rest in the S&P 500 gained about 0.4% that month, by Institutional Investor's calculation.

How long, and through which crises? A five-year record needs a Sharpe ratio of about 1.34 to clear a t-statistic of 3. A short-option record without a crash says little about the crash.

Is it too smooth? Infinity Q's smooth returns came from variance swaps its founder mismarked; he was sentenced to 180 months in April 2023. A record too smooth for its strategy is a warning.

Red flags in trading system marketing

Any of these moves a claim to the lowest evidence grade until shown otherwise: returns quoted per week or month with no drawdown or dates; a win rate without the average loss; "hypothetical" in small print or not at all; screenshots instead of statements; "AI" or "institutional secret" as the stated edge; a product that costs more than the edge would earn on a typical account; and a seller who earns from participants' failures, as with retail prop-firm challenges.

Even real edges decay

Passing every test does not make an edge permanent. The companion split US factor returns from the Kenneth French data library at the publication of each defining paper, gross of costs.

US factor Before publication, % a year After, % a year
Size (split March 1981) 3.48 0.12
Value (June 1992) 5.34 2.01
Momentum (March 1993) 8.80 4.68
Short-term reversal (July 1990) 10.83 1.63

Every factor earned less after publication. That is why the catalogue moved momentum from A to B and graded size alone F. A sensible planning rule is roughly half a paper's published return before costs, and less for anomalies in small, costly stocks. AQR's value drawdown of 2018–2020 shows the other side: a real edge can look broken for years. The chapter on finding an edge you can name covers how to tell the difference.

Backtests in the four factors of the edge equation

The Edge Equation argues that trading profit needs four factors that multiply: edge, survival, execution, and discipline and adaptation. Overfitting is a failure of the first. A system with no true edge multiplies everything else by zero, however well it is sized, executed and followed. It also undermines the fourth: a trader who cannot tell a decaying edge from a normal drawdown will either quit a sound system at its worst or keep trading a dead one. The catalogue's grades for all 118 systems are in the chapter on the systems scorecard. For how evidence fits into the wider business, see our guide to how trading firms make money, and for sizing a strategy that passes, our guide on how to calculate risk of ruin.

The takeaway

A backtest is the cheapest experiment in finance, and the best of many backtests is almost always flattered by luck. The questions that expose overfitting are simple: how many things were tried, does it work where it was not designed, are costs and fills realistic, and what happened after publication or launch. Plan on a fraction of any published return, and decide before going live what result would show the edge has gone. Chapter 4 of The Edge Equation sets out the evidence ladder and the statistics in full.

Frequently asked questions

What is backtest overfitting?+

It is tuning a strategy's rules until they fit the noise in past data rather than a real, repeatable effect. The result looks excellent in the backtest and earns much less, or loses, once traded live.

What is the deflated Sharpe ratio?+

A correction by David Bailey and Marcos López de Prado that estimates the probability a selected strategy's true Sharpe ratio is above zero, given how many strategies were tried, the sample length and the shape of returns. In the book's simulation, the best of 1,000 no-edge strategies had a Sharpe of 1.82 but a deflated Sharpe of about 0.78, below the usual 0.95 threshold.

How much worse are live results than backtests?+

For peer-reviewed research, McLean and Pontiff found returns about 26% lower out of sample and about 58% lower after publication across 97 published predictors. Private searches with many untracked trials can be much worse.

Does walk-forward testing prevent overfitting?+

Not by itself. A walk-forward test of one fixed rule is valuable, but if the walk-forward design was itself tuned, or if it selects among many rules, it inherits the same bias. In the book's simulation, picking each year's best trailing performer among 1,000 no-edge strategies earned a Sharpe of −0.25 over ten years.

Go deeper in The Edge Equation

The Edge Equation cover

From the research behind The Edge Equation

How Traders and Trading Systems Create, Capture and Destroy Value

25 chapters, 24 industry studies, 100 companies and 751 strategic moves.

See the book

Educational content, not investment, legal, tax, medical or engineering advice. Figures marked “reported” come from filings and published sources that have not been independently audited.

Keep reading