Systematic Trading Field Guide
2.6 · Not fooling yourself

Sampling error — how long a track record must be to mean anything

~13 min read
Mechanism

A Sharpe ratio is an estimate, and its error bars shrink only with the square root of time. For the Sharpes real strategies actually have — 0.4 to 1.0 — the error bars are so wide that three years of live trading cannot statistically distinguish a good strategy from a dead one, and ten years often can't either. Any process that judges strategies on short windows is mostly rewarding luck.

The idea

Here is a conversation you will eventually have with yourself. Your strategy has been live for two years. The backtest said Sharpe 0.9; live is running at 1.1. A quieter month arrives, then a losing quarter, and live drops to 0.6. Is the edge decaying? Was the backtest overfit? Should you cut the allocation? You open a spreadsheet, stare at the numbers, and feel the answer should be in there somewhere.

It isn't. And the reason it isn't is the single most under-appreciated fact in performance evaluation: the number you are staring at is a sample statistic, and at realistic Sharpe ratios its sampling error is enormous relative to the thing you're trying to measure.

You have a data science background, so let me put it in those terms first. Estimating a Sharpe ratio is estimating the mean of a noisy series in units of its standard deviation. The annoying property of financial returns is that the signal-to-noise ratio is brutally low: a strategy with a true annual Sharpe of 0.5 has monthly returns whose mean is about 0.14 standard deviations. You are trying to detect a 0.14σ effect. In an A/B test you would demand a large sample and flinch at peeking early; in trading, the "sample" accrues at twelve observations a year and everyone peeks constantly.

The standard error arithmetic was worked out cleanly by Lo (Lo 2002). For independent, identically distributed returns, the standard error of an estimated Sharpe ratio SR^\widehat{SR} measured over TT years is approximately

SE(SR^)  ≈  1+12SR2T\text{SE}(\widehat{SR}) \;\approx\; \sqrt{\frac{1 + \tfrac{1}{2}SR^2}{T}}

Read the numerator first: for small Sharpes it's essentially 1, so the rule of thumb is the standard error of an annual Sharpe is about 1/T1/\sqrt{T} with TT in years. Ten years of data → error bar of about ±0.32. Four years → ±0.5. One year → ±1.0. Now hold those against the size of the thing being measured. A true Sharpe of 0.5 — a genuinely good single-strategy result after costs — measured over ten years, comes with a 95% confidence interval of roughly 0.5±0.650.5 \pm 0.65: from −0.15 to +1.15. Ten years of data cannot reject the hypothesis that a good strategy is worthless. This is not a technicality. It is the reason performance evaluation by track record alone is close to astrology at retail time scales, and it is why this guide keeps insisting that the mechanism — the counterparty of lesson 1.3 — has to carry so much of the evidential load. The statistics cannot carry it alone in any sample you will live long enough to collect.

Two things make the honest picture slightly worse than the formula, and both are in Lo's paper. First, autocorrelation: if returns are smoothed — stale prices, infrequently marked positions, monthly aggregation of a faster process — the measured volatility understates the true volatility and the Sharpe is mechanically inflated, sometimes by tens of percent. Second, non-normality: fat tails and negative skew (which insurance-shaped strategies from module 5 have by construction) widen the true error bars beyond the Gaussian formula. The deflated Sharpe ratio of Bailey and López de Prado (Bailey & López de Prado 2014) exists precisely to fold skewness, kurtosis and the number of trials into the assessment — lesson 2.3 covered the trials part; this lesson is the TT part of the same formula.

One more framing before the maths, because it reframes the whole module. Harvey, Liu and Zhu's t ≳ 3.0 hurdle (Harvey, Liu & Zhu 2016) and this lesson's error bars are the same object seen from two sides: a t-statistic on a Sharpe is roughly SR^×T\widehat{SR} \times \sqrt{T}. Demanding t ≥ 3 is demanding that your Sharpe be at least three standard errors from zero. The multiple-testing lesson raises the bar; this lesson tells you how slowly you accumulate the evidence to clear any bar at all.

The maths

Where does the formula come from? Write monthly returns as i.i.d. with mean μ\mu and standard deviation σ\sigma; the true monthly Sharpe is SRm=μ/σSR_m = \mu/\sigma. You estimate both moments from nn months. The estimate of the mean has standard error σ/n\sigma/\sqrt{n} — this is the dominant term — so the error in SR^m\widehat{SR}_m from the numerator alone is about 1/n1/\sqrt{n} in monthly Sharpe units. The denominator σ^\hat\sigma is also estimated, and its uncertainty contributes the 12SR2\tfrac{1}{2}SR^2 term (small unless the Sharpe is large). Stacking both and annualising (multiply Sharpe by 12\sqrt{12}, divide time into years T=n/12T = n/12) gives

SE(SR^)≈1+12SR2T⟹t  =  SR^ T  (approximately, for modest SR)\text{SE}(\widehat{SR}) \approx \sqrt{\frac{1 + \tfrac{1}{2}SR^2}{T}} \qquad\Longrightarrow\qquad t \;=\; \widehat{SR}\,\sqrt{T} \ \ \text{(approximately, for modest } SR\text{)}
Standard error of an annualised Sharpe estimated from T years of data, i.i.d. case (Lo 2002). With autocorrelated or fat-tailed returns the true error is larger.

Invert it to get the question you actually care about: how many years until a true Sharpe of SRSR is statistically distinguishable from zero at significance zz? Setting SRT=zSR\sqrt{T} = z:

T⋆  ≈  z2(1+12SR2)SR2T^\star \;\approx\; \frac{z^2\left(1 + \tfrac{1}{2}SR^2\right)}{SR^2}

Every symbol: T⋆T^\star is years of track record required, zz the z-score you demand (2 for the textbook bar, 3 for the Harvey-Liu bar), SRSR the true annual Sharpe. The formula is brutal because SRSR enters squared in the denominator: halve the Sharpe, quadruple the wait.

Worked example

Worked example — how long before a track record means anything

First the table nobody wants to see. Years of data needed for the t-statistic to reach 2.0 and 3.0, by true Sharpe:

True SharpeYears for t = 2Years for t = 3
0.3~45~101
0.5~18~41
0.8~7.9~17.8
1.0~6.0~13.5
1.5~3.8~8.5
2.0~3.0~6.8

Walk through one row. Sharpe 0.5, t = 2: T⋆=4×(1+0.125)/0.25=18T^\star = 4 \times (1 + 0.125) / 0.25 = 18 years. A strategy as good as most factor strategies genuinely are needs eighteen years to clear even the lenient bar. The 3.0 bar takes four decades — longer than the anomaly literature has existed. Only implausibly good strategies (Sharpe 1.5–2, which at retail scale should trigger the lesson-2.5 overfitting alarm, not celebration) are confirmable within a normal attention span.

Now the situation from the opening: two years live, Sharpe 0.6 after a bad quarter. The t-statistic is 0.6×2=0.850.6 \times \sqrt{2} = 0.85. That is no evidence of anything, in either direction. And the harder question — is live (0.6) consistent with the backtest (0.9)? — is a two-sample problem with even wider error bars: you're asking whether a difference of 0.3 Sharpe units is real when each estimate alone carries a ±0.7-wide interval.

Simulation makes it visceral. Generate a strategy whose true Sharpe is exactly 0.5, run three-year samples, and look at the spread of measured Sharpes:

import numpy as np

rng = np.random.default_rng(0)
true_sr_annual = 0.5
n_months, n_sims = 36, 10_000          # three years, many parallel worlds

mu = true_sr_annual / np.sqrt(12)      # monthly mean in vol units
rets = rng.normal(mu, 1.0, size=(n_sims, n_months))
sr_hat = rets.mean(axis=1) / rets.std(axis=1, ddof=1) * np.sqrt(12)

print(np.percentile(sr_hat, [5, 25, 50, 75, 95]))
# roughly: [-0.45, 0.11, 0.50, 0.89, 1.46]

Every one of those ten thousand strategies is the same strategy. Over three years, one in twenty of them prints a Sharpe below −0.45 (you would certainly kill it), and one in twenty prints above 1.45 (you would certainly size it up, and probably write a confident memo about your edge). The dispersion — about ±1.0 around truth — is exactly the 1/31/\sqrt{3} standard error at work, and no amount of staring at the equity curve recovers the truth from inside one sample.

How you'd use it

Put error bars on every Sharpe your framework reports. One line of code: report SR^±2(1+SR^2/2)/T\widehat{SR} \pm 2\sqrt{(1 + \widehat{SR}^2/2)/T} next to the point estimate, in the backtest output and the live dashboard both. The psychological effect of seeing "0.9 ± 0.7" instead of "0.9" is worth more than any lecture.

Decide evaluation windows before going live, from power arithmetic. Before launching, write down: expected Sharpe, the t-value at which you'll conclude it's real, and — from the T⋆T^\star formula — the date on which that judgement becomes possible. If the answer is "2041", accept that the statistics will never confirm the strategy within its useful life, and that your continuing to run it rests on the mechanism holding, monitored the lesson-10.4 way (has the payer stopped paying?), not on the return series.

Let breadth shorten the clock. The one honest lever: T⋆T^\star falls with the true Sharpe, and the fundamental law (lesson 1.9) says portfolio Sharpe grows with the square root of independent bets. Ten genuinely independent 0.4-Sharpe streams make a ~1.26-Sharpe portfolio, confirmable in about four years rather than never. This is the statistical argument for diversifying across strategies and asset classes: not just better risk, but achievable inference.

Separate risk control from inference. Stopping a strategy at a −20% drawdown is a fine risk rule. It is not a statistical conclusion that the edge is gone — at Sharpe 0.5 such drawdowns occur routinely in perfectly healthy runs (lesson 10.4 does the arithmetic). Keep the two vocabularies apart in your own head: limits protect capital; inference needs TT.

Distrust everyone's short track records, including your own. A three-year live Sharpe of 1.5 from a fund, a Twitter account, or your own framework carries the same ±1.0-wide error bars, before selection effects. When lesson 1.5 told you fund research selects what it publishes, this lesson supplies the magnitudes: short samples are where selection lives, because that is where luck is biggest.

What goes wrong

Peeking, continuously. The error-bar formula assumes you evaluate once at time TT. Watching the Sharpe daily and reacting to its excursions is sequential testing — the same multiple-testing arithmetic as lesson 2.3, applied through time. If you look for a reason to act every week, three years of data offers ~150 chances for noise to hand you one. Pre-commit to evaluation dates.

Survivor selection among your own strategies. You launch four strategies, and after two years keep the two with the best live Sharpes. The kept ones are now selected-on-noise, their measured Sharpes biased upward by exactly the mechanism in the simulation above. Your live book becomes a small in-house replication of the factor-zoo problem. The fix: kill on mechanism failure and cost blowout, not on short-window rank.

Smoothed returns flattering the estimate. Anything that marks infrequently — spread-bet positions marked off stale quotes, monthly aggregation, illiquid names — depresses measured volatility and inflates the Sharpe (the autocorrelation adjustment in Lo (Lo 2002) is the diagnostic: compare the Sharpe computed from daily vs monthly returns; a large gap means smoothing). Distrust any Sharpe whose underlying marks you don't understand.

Skew hiding in the premium. Insurance-shaped strategies earn steadily and lose rarely and hugely — precisely the shape for which the Gaussian error bars are too narrow and the realized Sharpe overstates health right up to the claim. A short-vol book with three claim-free years and a 2.0 Sharpe has proven very little; the observations that would test it haven't happened yet. For these, the error bar that matters is on the tail, and TT counts claim events observed, not months elapsed — usually a number near zero.

Believing the point estimate because it's yours. The deepest failure mode is emotional. After two years of watching a live strategy daily, its Sharpe feels like a fact about the world; it's a draw from a wide distribution. Print the interval. Believe the interval.

Further reading