Day 47 — Maximum drawdown is one draw from a wide distribution

Tuesday, 22 September 2026 · Week 7 of 52 · Returns and noise · Study day · 60 min

It is the statistic clients ask for and the one with the worst sampling properties in common use, and treating it as a parameter rather than as a realisation is the mistake that produces confident nonsense.

What you should be able to do tonight

  • Given a Sharpe ratio and a horizon, simulate the distribution of maximum drawdown and report its interquartile range.
  • Say why maximum drawdown grows with sample length even for a strategy whose properties have not changed.

Tasks 60 min

30 min Simulate the distribution: 10,000 paths at a true Sharpe of 1 over three years of daily returns, and plot the histogram of maximum drawdown. Report the median and the 5th and 95th percentiles. The width of that interval is the answer to almost every question anyone asks about a drawdown.

20 min Show the length dependence: repeat at one, three, five and ten years and plot median maximum drawdown against horizon. Then reconcile your five SPY numbers from last night with the pattern.

10 min Add max_drawdown() and drawdown_series() to qlib/stats.py, with a test on a hand-constructed path whose answer you can verify by eye.

Resources

Deliverable

notebooks/day-047-drawdown.ipynb with the simulated drawdown distribution at four horizons, plus drawdown functions in qlib/stats.py.

Checkpoint

A manager with a true Sharpe of 1 shows a 22 percent drawdown over three years. Is that unusual? Give the percentile.

Prepare for tomorrow

Ten minutes tonight so Day 48, Wednesday, 23 September 2026 starts clean. This is what the evening email sends you.

Compute Sortino and Calmar ratios for the same momentum series you used on day 43, alongside its Sharpe.

Write the three numbers down and note which one flatters the strategy most.

Read the empyrical-reloaded source for one of the three and check the convention it uses matches yours.