QTQuant Terminal
D4-06D4·advanced·~21 min

Robustness checks — does the edge degrade gracefully?

backtestingrobustnessparameter-sensitivityplateaustress-testingchecklist

▸ Pretest — guess, even if you don't know

Strategy A shows Sharpe 1.2 at a 20-day lookback, but 0.1 at 15 days and 0.1 at 25 days. Strategy B shows Sharpe 0.8 across every lookback from 10 to 40. Which do you deploy?

The robustness mindset

Everything in D4 so far measured a strategy at one point: one parameter set, one period, one universe, one cost assumption. The last discipline is to poke it. A real edge degrades gracefully under perturbation; an overfit one collapses. Real effects are properties of markets, so they should survive small changes to everything that was your choice rather than the market's.

The four standard checks

1. Parameter perturbation. Vary each parameter ±20–50% around your choice and recompute Sharpe. Plot the surface. A plateau — broadly similar performance across the neighborhood — supports a real effect. A cliff — a sharp peak that collapses one step away — is the signature of a parameter fit to noise.

2. Subperiod analysis. Split the history into eras (for example thirds, or pre/post 2015, or crisis vs calm) and evaluate each separately. A real edge should be positive in at least 2 of 3 eras. A strategy whose entire P&L comes from one regime is a bet that the regime returns.

3. Universe perturbation. Randomly drop 20% of the assets and rerun, several times. If the result depends on a handful of specific names, you found those names' histories, not a strategy.

4. Cost stress. Double your cost assumption from D4-03 and rerun. An edge that dies at 2× assumed costs is a bet on your cost model being exactly right — and D4-03 showed how wide that uncertainty is.

The plateau principle

When you must choose a parameter, pick the middle of a stable region, never the peak. The peak is partly selection bias (D4-05, within a single strategy); the plateau's center is the point most likely to still work when the noise re-rolls. Quantify stability crudely as the range of neighboring Sharpes relative to the best: near 0 is a plateau, near 1 is a cliff. You'll implement exactly this below.

The full D4 pre-deployment checklist

D4-01's checklist, extended by everything since:

The honest close

The goal of backtesting is not to make a strategy look good. It is to give the strategy every chance to reveal itself as noise — and to deploy only what refuses to. Most ideas will die on this checklist. That is the checklist working. The few that pass are the only ones worth your capital, and even they get paper-traded first.

Try it

▮ EXERCISE · d4-06-ex1

Implement two functions. sharpe_surface_stability(sharpes): given a numpy array of Sharpe ratios at neighboring parameter values, return (max - min) / max. is_plateau(sharpes, tol): return True when that stability measure is strictly below tol.

⧉ Review card
What distinguishes a real edge from an overfit one under perturbation?
A real edge degrades gracefully — nearby parameters, subperiods, reduced universes, and doubled costs all capture most of it. An overfit edge collapses, because it was a property of the specific noise, not of the market.
⧉ Review card
What are the four standard robustness checks?
1) Parameter perturbation (vary each param 20-50 percent, look for plateau vs cliff). 2) Subperiod analysis (positive in at least 2 of 3 eras). 3) Universe perturbation (drop 20 percent of assets randomly). 4) Cost stress (double the cost assumption).
⧉ Review card
What is the plateau principle for choosing parameters?
Pick the middle of a stable region of the parameter surface, never the peak. The peak's excess performance is largely selection bias; the plateau center is most likely to survive when the noise re-rolls.
⧉ Review card
What is the goal of backtesting, honestly stated?
Not to make a strategy look good — to give it every chance to reveal itself as noise, and to deploy only what refuses to. Most ideas failing the checklist is the checklist working.

Teach it

Your generative activity: a friend shows you a backtest — Sharpe 1.4, lookback 20, tested on 2015–2025 tech stocks, 5 bps assumed costs. Teach them, out loud or in writing, the four robustness checks as a review of their strategy: name each check, say exactly what you would rerun, and state what result would make you trust or reject the edge. Finish by explaining the plateau principle in your own words.

Predict before the next lesson

Track D4 is complete — you now own the methodology. Track D5 begins the payoff: the classic strategy archetypes — momentum, mean reversion, carry, value, and friends. Predict:

◈ Calibration check

Could you run the four robustness checks on a backtest and recite the full D4 pre-deployment checklist from memory?

1 = guessing · 5 = could teach it

⏻ End of lesson

Mark it read to book its 4 review cards into your deck.

Sources & further reading