Problem and output
A backtest applies a fixed rule to historical data and reports returns, drawdowns, turnover and statistics. The question is how much of the record comes from the rule, how much from sample selection, cost assumptions and luck, and whether it merits an out-of-sample test rather than being treated as a return promise.
Inputs and data requirements
Use a point-in-time universe, adjusted prices, dividends, and delisting and suspension records. Register the rule, parameter grid and number of trials before looking at results. Charge costs on traded value and turnover, and match the benchmark by period, currency and exposure. The example is a hypothetical 60-month series of gross monthly returns: mean 0.90%, standard deviation 3.20%, risk-free rate 0.20% per month, one-way cost 0.10% per month, and 20 parameter trials.
Assumptions
Returns are adjusted; the strategy rebalances monthly; the raw series is gross of costs; only the best of 20 trials is reported; the regime is unchanged; the benchmark has similar exposure. All numbers are teaching assumptions, not a strategy recommendation.
The Sharpe convention follows OpenStax: an average return without risk is meaningless, the Sharpe ratio is the portfolio risk premium divided by the standard deviation of returns, and both Sharpe and Treynor are relative measures that need a benchmark or peer comparison [3].
Steps
- Fix the rule, sample, costs and benchmark before computing anything.
- Test the mean:
t = 0.90/(3.20/√60) = 2.18. - Annualized Sharpe:
(0.90-0.20)/3.20×√12 = 0.76. - Charge 0.10% per month: mean 0.80%,
t = 1.94. - Apply a simple multiple-testing correction for 20 trials: the two-sided 5% threshold is about 3.02, so 2.18 fails.
- Split the sample: the first 36 months have mean 0.70%, standard deviation 3.00% and t=1.40; the last 24 months have mean 1.20%, standard deviation 3.50% and t=1.68. Neither half is significant.
- Compare with the benchmark and factor exposures to see whether the return is just market, size or industry beta. If changing the start date changes the conclusion, call the result fragile.
Presenting only the best of 20 trials is the textbook case of backtest overfitting and selection bias: Bailey and López de Prado explain in the Journal of Portfolio Management that a backtest optimizer searches for the parameter set with the best historical record, that reporting only positive results with an uncontrolled number of trials produces overly optimistic performance expectations, and that the Deflated Sharpe Ratio corrects for multiple-testing selection bias and non-normal returns [2].
Figure
Interpreting the result
0.90% a month is 10.8% simple annualized and about 11.35% compounded. After costs, 0.80% a month is about 10.03% compounded. The numbers look respectable, but t=2.18 is unremarkable after 20 trials, falls below 2 after costs, and is lower in both halves. Statistical significance is an in-sample signal-to-noise ratio; economic significance asks whether the return survives fees, capacity and risk; implementability asks about borrow, liquidity and trading constraints. A backtest generates a hypothesis, not proof of future returns: it narrows the candidate list but provides no confidence guarantee.
There is also a methodological reason a backtest can only raise a hypothesis: Bailey et al. report in the Journal of Computational Finance that standard anti-overfitting techniques such as hold-out tend to be unreliable in investment backtesting, and propose combinatorially symmetric cross-validation (CSCV) to estimate the probability of backtest overfitting (PBO) [1].
Failure conditions
- look-ahead, survivorship or restated data
- changing parameters, breakpoints or the sample after seeing results
- reporting only the best trial and hiding failures
- ignoring costs, market impact, turnover and capacity
- a sample that is too short or spans a regime change
- a mismatched benchmark or exposure
- explaining returns with contemporaneous characteristics
Verification
Run out-of-sample and walk-forward tests; vary parameters, groupings and weights; charge costs, turnover and capacity limits; compare factor exposures and benchmarks; report every trial, including failures; replicate with an independent data source.
Reproduction
t = mean/(sd/√n); annualized Sharpe = (mean - risk-free rate)/sd × √12; multiple-testing threshold z = Φ⁻¹(1-0.05/(2×20)) ≈ 3.02. Example: 2.18 = 0.90/(3.20/√60); 0.76 = 0.70/3.20 × 3.464. Record the data version, universe, rebalancing dates, costs and number of trials.
Related
- Required prerequisite: Economic Interpretation of Factor Strategies (INV-015).
- Related reading: Economic Interpretation of Factor Strategies (INV-015), Diversification and Common Risk (INV-017), Hypothesis Testing and Practical Significance (RES-012), Introduction to Linear Regression (RES-013).
Figures in plain language
The three figures below check the mechanism, boundary and comparison in this article; labels come from its own sections, not new data.
Exercises
- Calculation. What is the compounded annual return after a 0.10% monthly cost?
- Judgement. Is t=2.18 from 20 trials reliable evidence?
- Concept. How do statistical and economic significance differ?
Suggested answers
- 0.80% a month:
1.008^12-1 ≈ 10.03%. - No. The simple multiple-testing threshold is about 3.02, and the result is gross of costs and not tested out of sample.
- Significance is in-sample signal-to-noise; economic viability requires surviving costs, capacity and risk.
Sources
- David H. Bailey, Jonathan M. Borwein, Marcos López de Prado and Qiji Jim Zhu. “The Probability of Backtest Overfitting.” https://www.davidhbailey.com/dhbpapers/backtest-prob.pdf (accessed 2026-10-30)
- David H. Bailey and Marcos López de Prado. “The Deflated Sharpe Ratio: Correcting for Selection Bias, Backtest Overfitting and Non-Normality.” https://www.davidhbailey.com/dhbpapers/deflated-sharpe.pdf (accessed 2026-10-30)
- Julie Dahlquist and Rainford Knight. “Principles of Finance, 15.4 Applications in Performance Measurement.” OpenStax. https://openstax.org/books/principles-finance/pages/15-4-applications-in-performance-measurement (accessed 2026-10-30)
Worked demo
Read-through check: can you say three things?
No recitation needed. Tick each sentence below and see whether you can explain the mechanism, one worked example and one boundary in your own words.
Ticked 0 / 3
The numbers are teaching assumptions that show relationships, not forecasts or investment advice.
This article has passed the current publication gate. Factual, calculation and translation revisions update both language versions together.