Risk parity: diversify the risk, not the dollars
Split your money evenly between stocks, bonds and commodities and you might think you’re diversified. In risk terms you aren’t: bonds are so much calmer that they contribute about 1% of the portfolio’s ups and downs. Risk parity starts from a different question: how much of the risk does each asset bring? Then it sets weights so the answer is the same for each.
Where does the risk come from?
The portfolio’s variance is , a sum over every pair of assets. To split it fairly between assets, ask how much σ_p changes when you nudge each weight, and multiply by the weight. That’s the risk contribution in step 2. Because scaling all weights by c scales σ_p by c, Euler’s theorem for homogeneous functions says the contributions add up to σ_p exactly, with nothing left over. In percentages, is the fraction of the risk that asset i is responsible for.
is the covariance of asset i with the whole portfolio. So an asset’s risk contribution is its weight times its covariance with the portfolio, over portfolio vol. An asset that hedges the rest (negative covariance) has a negative risk contribution.
60/40 example. Stocks at 16% vol, bonds at 5%, correlation 0.2. The portfolio vol is 10.2%, and stocks contribute 92% of it. With a correlation of −0.2, stocks contribute 99.8%. A 60/40 portfolio is, in risk terms, a stock portfolio.
Weights and risk are different pictures
Read each pair of bars: capital on top, risk underneath.
- Equal weight looks balanced in dollars, but stocks and commodities carry nearly all the risk.
- Inverse vol fixes most of it by holding more of the calm asset. It ignores correlations, so with correlated stocks and commodities their combined risk share is still above two thirds.
- ERC makes the bottom bar exactly equal, for any correlations.
- Minimum variance often piles into the lowest-vol asset. Its risk shares equal its weights: at the minimum-variance point every asset has the same marginal risk ∂σ/∂w, so . (Here it’s unconstrained, so it can go short when correlations are high.)
Move the stock–bond correlation. ERC adjusts: when bonds hedge stocks (negative correlation), it needs less bond weight to give bonds a third of the risk.
A fixed point you can solve one coordinate at a time
ERC is the solution of for all i, rescaled to sum to 1. A neat way to find it: solve , one coordinate at a time. For coordinate i that’s a quadratic in :
Cycle through the coordinates until nothing changes, then normalise. This is cyclical coordinate descent on the convex function , whose minimiser is exactly ERC (Roncalli’s formulation), so it converges.
import numpy as np
def erc_weights(Sigma, iters=500, tol=1e-12):
"""Equal risk contribution weights by cyclical coordinate descent."""
n = len(Sigma)
x = 1 / np.sqrt(np.diag(Sigma)) # start from inverse vol
for _ in range(iters):
x_old = x.copy()
for i in range(n):
a = Sigma[i, i]
b = Sigma[i] @ x - a * x[i]
x[i] = (-b + np.sqrt(b * b + 4 * a)) / (2 * a)
if np.max(np.abs(x - x_old)) < tol:
break
return x / x.sum()
def risk_contributions(w, Sigma):
sw = Sigma @ w
return w * sw / (w @ sw) # fractions summing to 1
vol = np.array([0.16, 0.05, 0.20])
corr = np.array([[1, -0.2, 0.3], [-0.2, 1, 0], [0.3, 0, 1]])
Sigma = np.outer(vol, vol) * corr
w = erc_weights(Sigma)
print(w.round(3), risk_contributions(w, Sigma).round(3)) # [0.189 0.679 0.133] [0.333 0.333 0.333]Risk parity needs leverage
ERC holds a lot of the low-vol asset, so the portfolio is calm: 5.3% vol in the example, against about 10% for 60/40. To reach the same risk you need about 1.9× leverage. The argument for doing that is that low-vol assets have historically paid more return per unit of risk than high-vol ones (the low-beta anomaly), so leveraging a balanced, high-Sharpe portfolio beats holding an unbalanced one unlevered.
The costs are real: financing, margin calls, and exposure to times when the usual hedges stop working. In 2022, stocks and bonds fell together, and leveraged risk-parity funds had a very bad year.
Where people slip in interviews
- Thinking equal weights means equal risk. Volatility differences dominate.
- Calling inverse vol “risk parity” in general. It equalises risk only when all correlations are equal.
- Forgetting that risk contributions can be negative. A hedge reduces total risk and has RC < 0.
- Using marginal risk as the contribution. RC is weight × marginal risk; the marginal risk alone doesn’t add up to σ_p.
- Ignoring estimation. ERC uses only Σ, no expected returns, which is part of its appeal: covariances are much easier to estimate than means.
Try these before you open the answer
Warm-upTwo assets with vols of 10% and 30%. What are the ERC weights?Show answer
With two assets, ERC is inverse vol whatever the correlation: weights ∝ 1/0.1 and 1/0.3, so 75% and 25%.
Two assetsProve that with two assets, ERC gives w₁σ₁ = w₂σ₂ for any correlation.Show answer
and . Setting them equal: , because the cross terms are the same on both sides. So .
EulerShow that the risk contributions add up to σ_p.Show answer
60/40Stocks 16% vol, bonds 5% vol, correlation 0.2. What share of a 60/40 portfolio's risk comes from stocks?Show answer
, where 0.0016 = 0.2 × 0.16 × 0.05. Variance = 0.6 × 0.016 + 0.4 × 0.00196 = 0.01038. Stocks’ share = 0.0096/0.01038 ≈ 92%.
LeverageAn ERC portfolio has 5.3% vol. What leverage brings it to 10% vol, and what happens to its Sharpe ratio (ignoring financing costs)?Show answer
10/5.3 ≈ 1.9×. Leverage scales return and vol by the same factor, so the Sharpe ratio doesn’t change.
Equal correlationsShow that if every pair of assets has the same correlation ρ, ERC is inverse vol.Show answer
Try . Then , so , the same for every i.
The weights and risk shares in the text were computed with the code above. The figure solves ERC in your browser as you move the correlations.