# Drawdowns and Volatility Targeting: The Risk Your Backtest Hides

AI agents: this is one page from QuantIDE's site, in Markdown.
Canonical HTML: https://www.quantide.io/guides/drawdowns-and-volatility-targeting-risk-backtest-hides
Full index of Markdown pages: https://www.quantide.io/llms.txt
Full text of recent articles: https://www.quantide.io/llms-full.txt

---
*2026-11-22 · QuantIDE Team · 5 min read*

Your backtest's Sharpe ratio can look fine while its drawdown quietly kills the strategy. What maximum drawdown measures, how volatility targeting shrinks it, and what it costs.

## In brief

- Maximum drawdown is the largest peak-to-trough fall in equity — and a 25% drawdown needs a 33% gain to recover, a 50% one needs 100%.
- Volatility targeting scales exposure by target over recent realized volatility; Moreira and Muir (2017) reported a 25% Sharpe-ratio lift on the US market, 1926-2015.
- The Sharpe gain did not survive out of sample (Cederburg et al. 2020; Jan 2016-Aug 2026 Sharpe fell 0.84 to 0.59), but the drawdown benefit did — 50% to 30% in 2007-2009.
- In the executed demo, targeting cut max drawdown from 25.23% to 19.02% and annualized vol from 24.05% to 16.28%, at a cost of $8,442 in final equity.

## The short answer

Your backtest's Sharpe ratio can look fine while its drawdown quietly kills the strategy. A drawdown is the peak-to-trough fall in equity, and it is the risk number that decides whether anyone — including you — can actually keep running a strategy. Volatility targeting is the simplest honest fix: scale your exposure down when recent volatility is high and up when it is low. It cuts drawdowns, but it is not free — on the research it can cost return, and its famous Sharpe-ratio gain did not survive out of sample. Measure the drawdown first, then decide what you are willing to pay to shrink it.

## What a drawdown actually measures

Maximum drawdown is the largest decline from a peak to the following trough before a new peak is reached. It is the worst loss a holder would have suffered by entering at the worst possible time and exiting at the worst possible time. Unlike volatility, it is path-dependent: two strategies with the same average return and the same volatility can have very different drawdowns, because the order of the returns matters.

The part backtests hide is recovery. A drawdown is not just a loss; it is a hole you have to climb out of, and the climb is steeper than the fall. A 25% drawdown needs a 33% gain to get back to the peak. A 50% drawdown needs a 100% gain. That asymmetry is pure arithmetic — the gain is measured on a smaller base — and it is why a strategy with a pretty equity curve and one deep drawdown is a strategy nobody runs for long. Maximum drawdown says nothing about how long recovery takes, either. A 20% drawdown that recovers in a month is a bad week; the same 20% that takes two years underwater is a strategy most people abandon.

## Why backtests hide drawdowns

Most backtests report the Sharpe ratio first, and the Sharpe ratio averages risk away. It divides excess return by volatility, and volatility treats upside and downside as the same thing. A strategy that grinds up steadily and then falls 30% in a month can still print a respectable Sharpe if the fall is short enough. The [backtesting guide](/guides/how-to-backtest-a-trading-strategy-in-python) shows how to build the test honestly; the [walk-forward validation guide](/guides/walk-forward-validation-systematic-strategies) shows how to stop it lying about the future. Neither fixes the drawdown problem on its own, because neither forces you to look at the worst path.

Two habits hide drawdowns specifically. First, testing on a short or lucky window: a three-year backtest that happens to miss the one bad regime reports a maximum drawdown that never existed in the data. Second, ignoring costs at the worst moment: [transaction costs](/guides/transaction-costs-backtesting-fees-slippage) are highest exactly when volatility spikes, so the drawdown in live trading is deeper than the one in the backtest. If your backtest reports a maximum drawdown under 10% on a strategy that trades through volatile markets, check the window and the costs before believing it.

## Volatility targeting: the rule

Volatility targeting is a sizing rule, not a signal. You pick a target volatility — say 15% annualized — and you scale your exposure so your realized volatility stays near it: exposure equals target volatility divided by recent realized volatility, capped so you never lever up without limit. When the market has just been volatile, you hold less. When it has been calm, you hold more. Volatility clusters, so a volatile month tends to follow a volatile month, and the rule cuts exposure before the worst of it.

The academic case is Moreira and Muir's 2017 paper on volatility-managed portfolios. Their rule scales exposure by the inverse of the previous month's realized variance. On the US market from 1926 to 2015, the managed portfolio earned an annualized alpha of 4.9% and lifted the buy-and-hold Sharpe ratio by about 25%. The mechanism is simple: volatility is highly forecastable at short horizons, but it barely predicts future returns, so taking less risk when volatility is high improves the risk-return trade-off.

## The honest caveat

That result did not survive contact with later data. Cederburg, O'Doherty, Wang and Yan tested 103 equity strategies in the Journal of Financial Economics in 2020 and found the volatility-managed version had the higher Sharpe ratio in only 53 cases and the lower in 50, with only eight differences statistically significant. Replicated on data after the paper appeared, from January 2016 to August 2026, the rule cut the market's Sharpe ratio from 0.84 to 0.59 — a 29% fall. What did survive was the drawdown benefit: the same replication found the rule cut the loss from the October 2007 peak to February 2009 from 50% to 30%.

That is the honest way to read volatility targeting. It is a drawdown tool, not a return tool. If you adopt it expecting a higher Sharpe ratio, the evidence says you will probably be disappointed. If you adopt it because a 30% drawdown is survivable and a 50% one is not, the evidence supports you.

## The demo: targeting vs fixed exposure

Here is the rule running on 500 synthetic daily bars — calm markets, then a 60-day crash regime with higher volatility and negative drift, then recovery. Same strategy, same returns; only the sizing changes. Fixed exposure holds 100% throughout. The targeted version aims for 15% annualized volatility, scaling exposure by target over trailing 20-day realized volatility, capped between 0 and 2x:

```python
import math
import random

random.seed(7)

rets = []
for i in range(500):
    if 200 <= i < 260:
        rets.append(random.gauss(-0.004, 0.03))  # crash regime
    else:
        rets.append(random.gauss(0.0006, 0.011))  # calm regime

def max_drawdown(equity):
    peak, worst = equity[0], 0.0
    for v in equity:
        peak = max(peak, v)
        worst = max(worst, (peak - v) / peak)
    return worst

target_daily = 0.15 / math.sqrt(252)

def vol_target(i):
    if i < 20:
        return 1.0
    window = rets[i - 20:i]
    mean = sum(window) / len(window)
    var = sum((x - mean) ** 2 for x in window) / (len(window) - 1)
    return max(0.0, min(2.0, target_daily / math.sqrt(var)))

def run(exposure_fn):
    eq = [100_000.0]
    for i, r in enumerate(rets):
        eq.append(eq[-1] * (1 + exposure_fn(i) * r))
    return eq

fixed = run(lambda i: 1.0)
targeted = run(vol_target)
```

Executed output, starting from $100,000:

- Fixed exposure: final equity $125,650.52, maximum drawdown 25.23%, annualized volatility 24.05%
- Volatility targeting: final equity $117,208.50, maximum drawdown 19.02%, annualized volatility 16.28%

Exposure fell to 0.32 by mid-crash and bottomed at 0.25 during the crash window — the rule did what it promises, cutting exposure while volatility was high. But notice what it cost: $8,442 of final equity. The targeting version ended poorer and smoother. That is the trade in one number pair, and it is the same trade the out-of-sample research shows: smaller drawdowns, no free return. The sizing rule in the [position sizing guide](/guides/position-sizing-systematic-traders-how-much-risk-per-trade) is the companion piece — the 1% rule caps what any single trade can lose; volatility targeting caps what a bad regime can do to the whole account.

## What to do next

Add maximum drawdown to every backtest report, next to the Sharpe ratio, and set a drawdown limit before you trade — a number that halts the strategy, not a feeling. Run the demo above on your own strategy's returns with your own target volatility, and look at what the targeting costs in return before you adopt it. If the drawdown math says the strategy is un-runnable as it stands, the fix is sizing, not a better signal. And if you would rather have an engineer build the risk layer — sizing, targeting, and the kill-switch — than wire it yourself, that is what the engineering desk inside [Blackshore Technologies](https://www.blackshoretechnologies.com/) does: describe the strategy, it comes back built, with the risk controls included.



## Frequently asked questions

### What is maximum drawdown?

Maximum drawdown is the largest peak-to-trough decline in equity before a new peak is reached. It is path-dependent: two strategies with the same return and volatility can have very different drawdowns.

### How does volatility targeting work?

Scale exposure by target volatility divided by recent realized volatility, capped so leverage stays bounded. When recent volatility is high you hold less; when it is low you hold more.

### Does volatility targeting improve returns?

It cuts drawdowns — in the demo, from 25.23% to 19.02% — but it cost return: $117,208.50 vs $125,650.52 final equity. Out-of-sample research agrees: the Sharpe-ratio gain did not survive, the drawdown benefit did.

### What drawdown limit should I set?

Set a drawdown limit that halts the strategy automatically, before you trade. A 25% drawdown needs a 33% gain to recover; a 50% one needs 100%. Decide the survivable number in advance.


## Sources

- [Investopedia — Understanding Maximum Drawdown (MDD)](https://www.investopedia.com/terms/m/maximum-drawdown-mdd.asp)
- [Moreira and Muir — Volatility-Managed Portfolios, Journal of Finance 2017](https://amoreira2.github.io/alan-moreira.github.io/VolPortfolios_published.pdf)
- [AssetWhisper — Risk Parity vs 60/40 and Volatility Targeting: The Record (Cederburg et al. 2020 replication)](https://assetwhisper.com/risk-parity-volatility-targeting/)

*Educational content, not investment advice. Trading involves risk of loss.*