Objective
A backtest that survives the checks in the previous lesson can still fail live. This lesson is about the second line of defence: does the result survive small changes to the rule, to the sample and to the market environment, and is the edge being competed away? These are the follow-up questions a desk asks once the headline number looks clean.
Parameter sensitivity
Every rule has free parameters: lookback, holding period, entry threshold, universe filter. Plot performance against each. What you want is a plateau: a broad region where the Sharpe ratio changes slowly. A sharp peak surrounded by poor results says the chosen value is fitted to noise, because the true economic effect is very unlikely to care whether the lookback is 47 or 53 days.
Practical rules:
- Choose from the middle of a plateau, not its highest point.
- Better still, average across neighbouring parameter values (an ensemble of lookbacks). It costs little in-sample and removes most of the selection.
- Report the whole grid, not just the winner. The grid tells the reader how many trials were made.
Stability across assets and periods
A real effect should show the same sign in places it was not designed on: other countries, other asset classes, sub-periods, large and small stocks. Do not expect the same magnitude.
Sub-period consistency is weaker evidence than it feels. If a strategy has a true annualised Sharpe ratio and annual returns are roughly normal, each year is positive with probability . For that is only 69%, so even a genuine strategy has losing years regularly, and "positive in 8 of 10 years" is neither necessary nor, by itself, strong proof.
Regime dependence
Signals are conditional. Momentum works in trending, low-dispersion markets and crashes in sharp rebounds; reversal is strongest when liquidity is scarce and volatility is high; carry works until a funding shock. Ways to handle it:
- Volatility scaling. Size to a constant risk target. It does not change the sign of the edge but stops high-volatility regimes from dominating P&L, and it has historically reduced momentum's crash risk.
- Conditioning on observable state. Volatility, market drawdown, dispersion, funding spreads. Every conditioning variable is another parameter to overfit, so require an economic reason and out-of-sample support.
- Diversifying across signals whose bad regimes differ, such as momentum and value, which have been negatively correlated.
Beware of regime filters fitted after the fact: "turn the strategy off when the VIX is above 30" chosen because it removes 2008 is look-ahead bias in disguise.
Crowding and decay
A signal's edge is paid by someone, and once many funds trade it the price moves before you do.
- Publication decay. McLean and Pontiff (2016) found that published anomaly returns were about 26% lower out of sample and about 58% lower after publication.
- Crowding risk. When many funds hold the same positions, one fund's forced deleveraging moves every crowded position against everyone else at once, as in the August 2007 quant unwind. Crowded signals show rising correlation with known factors, compressed spreads between long and short legs, and falling returns per unit of turnover.
- Speed decay. A signal's IC usually falls with the delay between computing it and trading it. If the IC decays as for a half-life of days, a one-day execution delay costs a fraction of the IC.
Worked example
plateau or peak?
Two momentum variants are tested on the same data over lookbacks of 1, 3, 6, 9, 12 and 15 months. Annualised Sharpe ratios:
| Lookback (months) | 1 | 3 | 6 | 9 | 12 | 15 |
|---|---|---|---|---|---|---|
| Variant A | 0.20 | 0.60 | 0.70 | 0.75 | 0.70 | 0.65 |
| Variant B | 0.10 | 0.00 | 1.40 | 0.10 | 0.20 | 0.00 |
Which would you trade, and with what parameter? What would you expect out of sample?
Show solutionHide solution
Variant A has a plateau from 3 to 15 months, with every value between 0.60 and 0.75. Its best value, 0.75 at 9 months, is hardly better than its neighbours, so the choice of parameter adds little selection bias. Trade A with an ensemble of the 6, 9 and 12-month lookbacks, or with 9 months, and expect something near 0.7 before the general in-sample haircut.
Variant B's 1.40 is a single spike. Its neighbours at 3 and 9 months, which hold almost the same positions, earn nothing, and that is implausible for a real effect. The spike is the maximum of six noisy draws. Out of sample, B should be expected to perform like its typical grid value, close to zero. In an interview, say that you would reject B even though its best number is twice A's.
Worked example
the live track record disappoints
A strategy had a backtest Sharpe ratio of 2.0. After six months live, its annualised Sharpe is 0.3. The portfolio manager asks whether the strategy is broken. Answer out loud.
Show solutionHide solution
Step 1: is the gap statistically surprising? Six months of daily data gives an annualised standard error of about . The shortfall is about standard errors. Even if the true Sharpe were 2.0, a result this bad or worse would happen roughly one time in nine. Six months cannot distinguish "broken" from "unlucky".
Step 2: but the prior should move. Backtest Sharpe ratios are biased upward by selection, so the true Sharpe was probably below 2.0 from the start. The live data push the estimate further down.
Step 3: check what can be checked now, without waiting for statistics.
- Implementation shortfall: compare live fills and costs with backtest assumptions. Costs higher than modelled are the most common cause and can be measured directly.
- Signal fidelity: do the live signals match the backtest code run on the same data? Mismatches find bugs and look-ahead.
- Regime: is the current environment one where the backtest also struggled? If so, the drawdown is within the strategy's known behaviour.
- Crowding and decay: has the signal's correlation with common factors or other funds' positions risen?
Step 4: decide in advance. Agree a drawdown or underperformance limit that triggers a review, set before the strategy went live, so the decision is not made on emotion.
Knowledge check
A strategy has a true annualised Sharpe ratio of 0.5 and roughly normal annual returns. Roughly how often should it have a losing year?
Knowledge check
A signal's IC decays with a half-life of 2 days. Your execution adds a one-day delay. Roughly what fraction of the IC (and so of the information ratio) do you lose?
Knowledge check
After a backtest, a researcher adds a rule to switch the strategy off whenever market volatility exceeds a threshold, chosen because it removes the strategy's worst year. What is the main problem?
Key takeaways
- Look for plateaus, not peaks, in parameter grids; prefer ensembles of neighbouring parameters and report the whole grid.
- A real effect keeps its sign across assets and periods; sub-period consistency is weak evidence because good strategies lose in many years.
- Signals are regime-dependent; volatility scaling and diversification across signals help, after-the-fact regime filters are overfitting.
- Edges decay through publication, crowding and slow execution; with IC half-life , a one-day delay keeps of the IC.
- When live results disappoint, first measure whether the gap is statistically meaningful, then check costs, fills and code before blaming the regime.
Finished reading?
Answer the 3 knowledge checks to complete this lesson (0 done).