Pseudo-Mathematics and Financial Charlatanism
Citation. David H. Bailey (Lawrence Berkeley National Laboratory, retired, and UC Davis), Jonathan M. Borwein (University of Newcastle), Marcos López de Prado (Guggenheim Partners and LBNL) and Qiji Jim Zhu (Western Michigan University). "Pseudo-Mathematics and Financial Charlatanism: The Effects of Backtest Overfitting on Out-of-Sample Performance." Notices of the American Mathematical Society 61(5), May 2014, pp. 458–471, peer reviewed (WMU record). I read the authors' preprint of 1 April 2014, first version September 2013 (davidhbailey.com). Python code for Section 8 is said to be at quantresearch.info and financial-math.org. I didn't fetch it. López de Prado worked for an asset manager. The paper states no funding.
Status. Planned. MinBTL needs the number of trials from #7's ledger and the number of independent trials from #89. #10's splitters fix the backtest length that MinBTL constrains. No code in the repo uses the paper yet.
Read. Read on 2026-11-27. The AMS copy refused automated fetches, so I read the authors' preprint of 1 April 2014, 34 pages, extracted with pdftotext. I read all of it in the authors' own words, with the appendices of proofs. The preprint says that the Notices referees reviewed it, but I didn't compare it with the printed version. I saw Figures 1 to 8 only as captions. I recomputed Eq. 2.4 against the exact expected maximum, MinBTL for the paper's examples, the half-life, Example 8.1's grid, and Figure 5's experiment.
Summary
Claim. A few trials are enough to find a strategy with a high in-sample Sharpe ratio and no skill. A backtest that doesn't report the number of trials can't be judged. When returns have memory, an overfit backtest predicts losses out of sample, not just zero.
Method.
- The expected maximum (Proposition 2.1). For N independent standard normals, E[max_N] ≈ (1 − γ) Z⁻¹(1 − 1/N) + γ Z⁻¹(1 − 1/(Ne)), with γ the Euler–Mascheroni constant. Its upper bound is √(2 ln N). Under the null, an annualised Sharpe ratio over y years has standard deviation y^−½, so E[max_N] scales by y^−½.
- Minimum backtest length (Theorem 3.1). MinBTL is the number of years at which the expected best of N skill-less trials has an annualised Sharpe ratio of E[max_N]. MinBTL ≈ (the bracket of Eq. 2.4 / E[max_N])² < 2 ln N / E[max_N]². The authors call it "a necessary, non-sufficient condition".
- Compensation effects (Section 6). Simulated random walks, split half in sample and half out of sample. In one version each path is re-centred on a fixed mean, the "global constraint". In another the performance follows an AR(1) process with φ = 0.995. Propositions 6.1 and 6.3 prove that a higher in-sample Sharpe ratio then means a lower out-of-sample one.
- A seasonal example (Section 8). On 1,000 daily prices of one random walk, search entry day, holding period, stop loss and side for the best monthly rule.
Findings, as the source reports them.
| Setting | Number | Value |
|---|---|---|
| N = 10 trials, one year, no skill | expected best in-sample Sharpe | 1.57 |
| N = 128, seven binary parameters | expected best in-sample Sharpe | above 2.6 |
| 5 years of data, expected best Sharpe held at 1 | most independent trials | 45 |
| 2 years of data, the same | most independent trials | 7 |
| Section 5: N = 1,000, T = 1,000, no memory, best of N | in-sample and out-of-sample Sharpe | 1.2 to 2.6, centred at 1.7, and about 0 |
| The same: p-value of the in-sample Sharpe in a regression of out-of-sample on in-sample | p | 0.2131 |
| Section 6.1: the global constraint | the same p | 0, a negative slope |
| Section 6.2: AR(1), φ = 0.995 | half-life, and the same p | 138 observations, and 0 |
| Example 8.1: random walk, best seasonal rule | annualised Sharpe and PSR statistic | 1.27 and 2.83 |
I recomputed the formulas. Eq. 2.4 gives 1.575 for N = 10, and the exact expected maximum is 1.539. It gives 2.616 for N = 128, against 2.595 exact. MinBTL at E[max_N] = 1 is 5.0 years for N = 45 and 1.92 years for N = 7. The bound 2 ln N gives 7.6 and 3.9 years. The half-life at φ = 0.995 is ln 2 / −ln 0.995 = 138.3.
Where the claims go beyond the evidence
The trials are independent. MinBTL assumes N independent trials, and real parameter grids are strongly correlated. The authors note this, and suggest principal components to find the effective N, without testing it. #89 is the repo's issue for this.
MinBTL fixes the expected maximum, not an error rate. At MinBTL, the best skill-less trial has an expected Sharpe ratio of exactly the target. So the best trial still beats the target about 46% of the time, for N = 45, in my simulation. MinBTL isn't a test with a stated size. The later deflated Sharpe ratio (deflated-sharpe-ratio.md) turns the same expected maximum into one.
The authors build the compensation effects in. Re-centring every path on a fixed mean forces the in-sample and out-of-sample halves to offset, and the proposition proves just that. The AR(1) case at φ = 0.995 is a process with memory in its level, not in its returns. The paper asserts that such serial correlation is present in most hedge fund performance, but shows no data. So "good backtest performance is an indicator of negative future results" rests on two constructed processes.
The simulations have no real data. Every experiment uses Gaussian random walks. Nothing tests a real strategy, a real market or fat tails.
Inconsistencies in the text.
- Example 8.1's grid is "8,800 elements", but 22 × 20 × 11 × 2 = 9,680. The stop-loss set is {0, …, 10}, yet the best rule has stop loss −1, which isn't in that set.
- Section 5's best-of-1,000 in-sample Sharpe is "centred around 1.7". I simulated the stated design: 1,000 paths, 1,000 steps a year, best of the first 500 steps. Over 200 repeats the best in-sample Sharpe averaged 4.61, from 3.57 to 6.52. The paper doesn't say what N or annualisation Figure 5 uses.
- Eq. 6.5 gives the half-life as −ln 2 / ln φ, and its proof (Eq. 10.8) drops the minus sign.
- The text cites "Theorem 1" and "Proposition 1", which are Theorem 3.1 and Proposition 2.1. Section 10.5 cites the experiment of "Section 9", which is Section 8.
Credit. The paper states that MinBTL is necessary but not sufficient, and that the independence assumption is "quite conservative". It points to the PBO paper (probability-of-backtest-overfitting.md) for a fuller measure. It releases code for its example.
Use in this repo
MinBTL is a cheap check before a backtest runs. Given the ledger's N (#7) and a target Sharpe ratio, it says how many years the backtest needs. With N = 45 and a target of 1, that is 5 years. A strategy whose data is shorter than MinBTL can be refused before any run. #10's splitters could report it beside each split.
It needs the effective number of trials. With correlated trials, the raw N overstates MinBTL. #89 estimates the independent N for DSR, and MinBTL should use the same number. One source of N for both keeps them consistent.
DSR is the test, MinBTL is the budget. DSR (#8) gives a probability with the same expected maximum. MinBTL turns that maximum into a data budget. The verdict (#12) should use DSR, and MinBTL can warn early that a search is too large for the data.
The hourly data changes the units, not the rule. MinBTL is in years of an annualised Sharpe ratio. Under the null, the error of an annualised Sharpe ratio depends on years, not on how many returns a year there are. So hourly data doesn't shorten MinBTL. The paper says so: "increasing q does not reduce the variance".
The compensation result isn't evidence for the repo's markets. The paper shows negative out-of-sample returns only for processes built to have them. The repo can test whether its own strategies' in-sample and out-of-sample Sharpe ratios correlate negatively. All That Glitters (all-that-glitters.md) found a weak relation in real algorithms.
Nothing on paper trading. The paper names "model sequestration", announcing a strategy and waiting six months for its results, as an exception to praise. It gives no rule for how long. MinTRL (#8) and RQ5 (#32) remain the sources for that.
A question for the maintainer. Should the harness (#87) refuse a backtest shorter than MinBTL for its ledger's N, or only warn?