Quant techniques · position sizing

Volatility targeting: scale down when it’s stormy

Volatility is the most predictable thing in finance: a wild week is usually followed by another. Returns are nearly unpredictable. Volatility targeting exploits that gap with one rule: each day, hold an amount inversely proportional to your volatility forecast. The portfolio’s risk stays roughly constant, its worst periods get milder, and, if returns don’t rise with volatility, its Sharpe ratio goes up.

1wt=min⁡ ⁣(σtargetσ^t, wmax⁡)w_t = \min\!\left(\dfrac{\sigma_{\text{target}}}{\hat\sigma_t},\ w_{\max}\right) Exposure for day t, from a forecast σ^t\hat\sigma_t built only from data before t (EWMA, GARCH, realised vol), with a leverage cap.
2σ^t2=λ σ^t−12+(1−λ) rt−12\hat\sigma_t^2 = \lambda\,\hat\sigma_{t-1}^2 + (1-\lambda)\,r_{t-1}^2 EWMA forecast. λ = 0.94 (RiskMetrics) gives a memory of about 1/(1−λ) ≈ 17 days.
3SRtarget≈μ E[1/σt]  ≥  μE[σt2]=SRhold\text{SR}_{\text{target}} \approx \mu\,E[1/\sigma_t] \;\ge\; \dfrac{\mu}{\sqrt{E[\sigma_t^2]}} = \text{SR}_{\text{hold}} With a constant expected return μ and a perfect forecast: Jensen’s inequality says scaling by 1/σ can only help.
The idea

Hold more when it’s calm, less when it’s not

If expected returns don’t change much with volatility, then a calm day offers the same expected return as a stormy one for much less risk. A fixed position ignores that. A vol-targeted position takes more risk per unit of expected return in calm times and less in stormy ones, so it buys return more cheaply on average.

With a perfect forecast and a constant mean μ, the scaled return wtrtw_t r_t has mean σtarget μ E[1/σt]\sigma_{\text{target}}\,\mu\,E[1/\sigma_t] and standard deviation σtarget\sigma_{\text{target}}, so its Sharpe ratio is μE[1/σt]\mu E[1/\sigma_t]. The buy-and-hold Sharpe is μ/E[σt2]\mu/\sqrt{E[\sigma_t^2]}. Since 1/x1/x is convex, Jensen gives E[1/σ]≥1/E[σ]≥1/E[σ2]E[1/\sigma] \ge 1/E[\sigma] \ge 1/\sqrt{E[\sigma^2]}. The more volatility varies, the bigger the gain.

A second benefit doesn’t depend on the mean at all: if the forecast is good, rt/σ^tr_t/\hat\sigma_t is close to a standard normal, so the vol-targeted returns lose most of their fat tails. Kurtosis falls towards 3 and the worst drawdowns, which come from high-vol periods, shrink.

Simulate it

GARCH returns, with and without targeting

The figure simulates 30 years of daily returns from a GARCH(1,1) model (α = 0.1, β = 0.885) with a constant expected return and 16% average vol, then compares holding it with targeting 16% using an EWMA forecast.

EWMA λleverage cap

Realised volatility, 3-month rolling (annualised)

Cumulative log return

buy and holdvol targeted to 16%
Sharpevolkurtosisworst drawdowns.d. of yearly vol

The buy-and-hold vol line swings a lot: over 200 simulated years its 3-month realised vol ranged from about 7% to 37% (1st to 99th percentile), against 12% to 21% for the targeted version. Targeting also raised the Sharpe ratio from 0.32 to 0.45, cut kurtosis from 8.4 to 3.1, and cut the year-to-year spread of realised vol from 4.7% to 0.6%. A leverage cap of 1× removes much of the Sharpe gain (it can only de-risk, not re-risk), but keeps most of the tail benefit. A slow EWMA (λ = 0.97) reacts late to vol spikes; a fast one (0.90) is noisier and trades more.

import numpy as np

def vol_target(returns, target_daily=0.01, lam=0.94, cap=3.0):
    """Scale returns to a target vol using an EWMA forecast built from past data only."""
    r = np.asarray(returns)
    var = np.empty_like(r)
    var[0] = r[:20].var()                       # seed
    for t in range(1, len(r)):
        var[t] = lam * var[t - 1] + (1 - lam) * r[t - 1] ** 2
    w = np.minimum(target_daily / np.sqrt(var), cap)
    return w * r, w
When it fails

The catches

  • If returns rise with volatility, the gain disappears. With μt∝σt2\mu_t \propto \sigma_t^2 (a classic risk–return trade-off), cutting exposure in high-vol times throws away the high-return times. Empirically, for stock indices, high volatility doesn’t predict much higher returns over the next month, which is why Moreira and Muir (2017) found vol-managed portfolios improved Sharpe ratios for many factors.
  • Gaps. A forecast built on yesterday’s data can’t anticipate a jump from calm to crisis overnight. Targeting helps in a slow-burning crisis more than in a sudden crash.
  • Turnover and costs. Exposure changes every day. Smoothing the forecast or trading only when the target moves by more than a threshold keeps costs down.
  • Leverage. In calm markets the rule wants to lever up. Without a cap, a long quiet period followed by a shock does real damage.

Vol targeting vs Kelly

With a constant μ, the Sharpe-maximising rule is actually wt∝μ/σt2w_t \propto \mu/\sigma_t^2 (the Kelly form), which reaches SR=μE[1/σt2]\text{SR} = \mu\sqrt{E[1/\sigma_t^2]}, higher still. Vol targeting, wt∝1/σtw_t \propto 1/\sigma_t, sits between buy-and-hold and Kelly. It’s popular because it’s less sensitive to errors in μ and keeps risk constant, which is what risk budgets and investors usually ask for.

Where people slip in interviews

  • Using today’s volatility to size today’s position. The forecast must use only data available before the trade; otherwise the backtest has look-ahead bias.
  • Claiming it always raises Sharpe. It does when the mean doesn’t scale with variance. It doesn’t fix a strategy with no edge.
  • Forgetting the cap. Uncapped targeting can demand very high leverage after a quiet spell.
  • Targeting vol and assuming tail risk is gone. It shrinks fat tails from vol clustering, not overnight jumps.
Practice

Try these before you open the answer

Warm-upYou target 10% annual vol and your forecast is 25%. What exposure do you hold?
Show answer

10/25=0.410/25 = 0.4, i.e. 40% of capital.

Two regimesVol is 10% or 30% with equal probability, expected return 6% in both. Compare the Sharpe of buy-and-hold with a perfect 20% vol target.
Show answer

Buy-and-hold: average variance (0.01+0.09)/2=0.05(0.01 + 0.09)/2 = 0.05, vol 22.4%, Sharpe 0.06/0.224≈0.270.06/0.224 \approx 0.27. Vol target: exposure 2 or 2/3; mean return 0.06×(2+0.667)/2=8%0.06 \times (2 + 0.667)/2 = 8\% at 20% vol: Sharpe 0.40.

KellySame two regimes. What's the Sharpe of the rule w ∝ 1/σ²?
Show answer

The best achievable Sharpe is μE[1/σ2]=0.06(100+11.1)/2≈0.06×7.45≈0.45\mu\sqrt{E[1/\sigma^2]} = 0.06\sqrt{(100 + 11.1)/2} \approx 0.06 \times 7.45 \approx 0.45.

MemoryWhat effective memory does an EWMA with λ = 0.97 have, roughly?
Show answer

About 1/(1 − 0.97) ≈ 33 days. The weights on past squared returns decay by 3% a day; the half-life is ln 0.5/ln 0.97 ≈ 23 days.

StretchIf expected returns are proportional to variance, μ_t = γσ_t², which sizing rule maximises the Sharpe ratio?
Show answer

The Sharpe-maximising weights are wt∝μt/σt2=γw_t \propto \mu_t/\sigma_t^2 = \gamma: constant. Buy-and-hold is optimal, and vol targeting would lower the Sharpe by cutting exposure exactly when expected returns are highest.

The Sharpe, kurtosis and vol-of-vol numbers come from 200 simulated GARCH years. The figure simulates 30 years in your browser.