Quant research and backtesting

Minimum backtest length

Also called MinBTL

The shortest history needed so that the best of N skill-less strategy variants is not expected to show an in-sample Sharpe ratio above a chosen level.

How it works

Minimum backtest length (MinBTL) answers one question: if you try N strategy variants with no skill at all, how many years of data do you need before the best of them is no longer expected to show a Sharpe ratio above a target? Bailey, Borwein, Lopez de Prado and Zhu introduced it in "Pseudo-mathematics and financial charlatanism" (Notices of the American Mathematical Society, 2014).

The steps. A zero-skill strategy's annualised Sharpe ratio estimated over y years is roughly normal with mean 0 and standard deviation 1 / sqrt(y). The best of N independent such estimates therefore has an expected value of E[max of N standard normals] / sqrt(y). The paper approximates that expected maximum as (1 - g) x Phi^-1(1 - 1/N) + g x Phi^-1(1 - 1/(N e)), with g = 0.5772 the Euler-Mascheroni constant and Phi^-1 the inverse normal distribution function. Set the expected best Sharpe ratio equal to your target and solve: MinBTL = (expected maximum / target)^2 years. A handy upper bound is MinBTL < 2 ln(N) / target^2.

Why you care: it ties how hard you searched to how much history you need. With 5 years of data, the best of 45 independent skill-less variants is expected to show an in-sample annualised Sharpe ratio of 1 from noise alone, so the paper says to try no more than 45. A backtest report that does not state N cannot be judged.

Common mistakes. MinBTL is a necessary condition, not a sufficient one: a backtest longer than MinBTL can still be overfit. It counts independent trials; 1,000 highly correlated parameter tweaks are fewer effective trials, and the paper suggests estimating that number with principal components. It is a different quantity from the minimum track record length, which asks how long one live record must be for its Sharpe ratio to be significant.

Worked example

N = 45 variants, target annualised Sharpe ratio 1. Phi^-1(1 - 1/45) = 2.01 and Phi^-1(1 - 1/(45e)) = 2.40, so the expected maximum is 0.4228 x 2.01 + 0.5772 x 2.40 = 2.24 (simulation gives 2.21). MinBTL = (2.24 / 1)^2 = 5.0 years. For N = 7 the expected maximum is about 1.39, so 1.9 years. For N = 1,000 it is 3.26, so 10.6 years. The upper bound 2 ln(1,000) = 13.8 years is looser.

In an interview

"You tested 1,000 variants of a strategy on 3 years of data and the best has an annualised Sharpe ratio of 1.8. Should you be impressed?"

No. With no skill, the best of N annualised Sharpe ratios over y years is about E[max of N normals] / sqrt(y). For N = 1,000 that expected maximum is about 3.26, so over 3 years noise alone gives an expected best of 3.26 / sqrt(3) = 1.88, more than 1.8. Turned round, the minimum backtest length for a target of 1 is 3.26^2, about 10.6 years. A strong candidate then says the 1,000 variants are probably correlated, so the effective N is smaller, and suggests estimating it with principal components or clustering. The interviewer may then ask what to do next: hold out data you never touched, run the deflated Sharpe ratio with the effective N, or reduce the search.

Put it to work in a timed game.

Practise with Find the Bug

Sources

  1. davidhbailey.com/dhbpapers/backtest-pseudo.pdf

Last checked November 2026.

← All 281 glossary terms

Was this definition clear?