Bootstrap Confidence Intervals for Backtests Explained: Why Block Length Matters

November 8, 2026 · Guides · 9 min read

Published by , founder of Equity Rank

Bootstrap Confidence Intervals for Backtests Explained: Why Block Length Matters

A backtest reports a single average: "0.5% a month over ten years." That number is one draw from a noisy process. Run the same rules over a slightly different decade and the average would come out different. A confidence interval puts a range around the estimate that reflects how much it could plausibly move.

The bootstrap is a popular way to build that range without assuming returns are normally distributed. It is simple, flexible and easy to get wrong — and the most common mistake makes the interval look narrower, and the result more certain, than the data supports.

What the bootstrap does

The idea is to treat the observed history as a stand-in for the unknown distribution of returns:

  1. Take the 120 monthly returns from the backtest.
  2. Draw 120 months from that list at random, with replacement — some months appear twice, some not at all.
  3. Compute the average of this resampled history.
  4. Repeat thousands of times. The spread of those averages approximates how much the real average could vary.
  5. The middle 95% of the resampled averages (from the 2.5th to the 97.5th percentile) is a 95% percentile bootstrap interval.

If the lower end of the interval sits above zero, the data are hard to reconcile with a true average of zero. If the interval straddles zero, the backtest has not separated itself from luck.

The hidden assumption: months are independent

Step 2 draws months one at a time. That treats each month as unrelated to the month before. Real strategy returns often are not:

When returns cluster, a ten-year history contains fewer independent pieces of information than 120. Resampling single months shuffles the clusters apart, so each resampled history looks more varied, the averages wash out, and the interval comes out too narrow.

The block bootstrap

The block bootstrap keeps runs of consecutive months together. Instead of drawing single months, it draws blocks — for example six consecutive months starting at a random point — and stitches blocks together until the resampled history has 120 months. Clusters inside each block survive the resampling, so the variation between resampled averages reflects the dependence that is really there.

The key choice is the block length. Too short and the dependence is broken anyway; too long and there are so few distinct blocks that the interval itself becomes noisy. A practical starting point is to set the block at least as long as the span over which returns are noticeably correlated — and at least as long as any overlap in the return windows — then check that the answer is stable across nearby lengths.

A simulation: how often does the interval contain the truth?

To see the difference, we simulated strategy histories where the true average is known: 0.5% a month, volatility 4% a month (a hypothetical annualized Sharpe ratio of about 0.43), fat-tailed monthly shocks, and varying degrees of month-to-month correlation (an AR(1) coefficient, written φ). For each setting we generated 1,000 histories and built three 95% intervals on each: the classical t-interval, the single-month bootstrap, and a block bootstrap (1,000 resamples each). A well-built 95% interval should contain the true 0.5% about 95% of the time.

Setting History Classical t Single-month bootstrap Block bootstrap
φ = 0 (independent), block 6 5 years 94% 93% 91%
φ = 0 (independent), block 6 10 years 93% 93% 92%
φ = 0.3, block 6 5 years 85% 84% 91%
φ = 0.3, block 6 10 years 84% 83% 91%
φ = 0.6, block 12 5 years 67% 66% 85%
φ = 0.6, block 12 10 years 67% 65% 89%

Hypothetical simulation, seed 20261108. Coverage = share of 1,000 simulated histories whose 95% interval contained the true 0.5% monthly mean.

Three things stand out:

Narrow intervals make results look stronger

The same simulation shows how the narrow intervals translate into confidence. The table reports the average interval width (in percentage points of monthly return) and how often the interval's lower end sat above zero — the point where a result looks "significant".

Setting (10 years) Single-month bootstrap width Block bootstrap width Lower end above zero — single-month Lower end above zero — block
φ = 0 1.41 1.37 31% 32%
φ = 0.3 1.40 1.75 34% 22%
φ = 0.6 1.39 2.38 37% 18%

Hypothetical simulation, seed 20261108.

Notice that the single-month interval is the same width whatever the clustering — it cannot see the dependence at all. Under strong clustering the block interval is about 70% wider, and the share of histories that look significant halves.

Overlapping windows: the extreme case

Overlapping returns are dependence by construction. We simulated 15 years of independent monthly returns with a true average of zero, formed 169 overlapping 12-month returns from them, and tested whether the average differed from zero at the 5% level.

Method Share of zero-edge histories flagged as significant
Classical t-interval on overlapping 12-month returns 60%
Block bootstrap, block of 12 17%
What a correct 5% test should give 5%

Hypothetical simulation, seed 20261108, 1,000 histories.

Treating overlapping windows as independent flags a pure-noise strategy as significant six times in ten. The block bootstrap cuts that sharply but still runs well above 5%, because with 169 heavily overlapping points there are only about 14 truly independent years to learn from. The cleaner fix is to use non-overlapping returns, or a correction built for overlap such as Newey-West standard errors, and treat the bootstrap as a cross-check.

A worked example

One simulated ten-year history from the φ = 0.3 setting averaged 0.50% a month — almost exactly the true value. Its three 95% intervals:

Method 95% interval for the monthly average
Classical t-interval −0.33% to +1.33%
Single-month bootstrap −0.34% to +1.30%
Block bootstrap (block 6) −0.48% to +1.39%

Hypothetical simulated history.

Even with ten years of data and a true positive edge, every interval includes zero. A real Sharpe ratio around 0.4 is hard to confirm in a decade — the same lesson as the minimum track record length. The block interval is roughly 13% wider, which here only reinforces that conclusion; in a borderline case it can be the difference between "significant" and "not yet shown".

What the bootstrap cannot fix

A bootstrap only reshuffles the history it is given. It cannot repair a flawed history:

A checklist for reading a bootstrap interval

  1. Which bootstrap? Single observations or blocks — and if blocks, how long?
  2. Is the block length justified by the measured autocorrelation or by the overlap in the return windows?
  3. Is the result stable when the block length is doubled or halved?
  4. How many independent observations does the history really contain once overlap and clustering are accounted for?
  5. Was the interval built on returns net of costs, from a point-in-time, survivorship-free history?
  6. How many variations were tried before this one was reported?

For how prediction skill is measured in a ranking setting, see The Information Coefficient Explained.


This content is for educational and informational purposes only and does not constitute investment advice. Equity Rank is not a registered investment adviser. All returns, Sharpe ratios, intervals and simulations in this article are hypothetical illustrations generated from stated assumptions; they are not the results of any real fund, security, strategy, or Equity Rank output, and they do not predict future results.