Quant interview toolkit · hedging

The hedge that uses the wrong number of shares

You own an asset whose return moves around by 2% a day. A liquid hedge moves around by only 1%. The two returns have correlation 0.8. How much of the hedge should you short against one unit of the asset? “One unit” is attractive because it looks balanced. It is also the wrong answer to the question of minimum residual variance.

Decide which uncertainty to remove

Let XX be the asset’s one-period return and HH the hedge’s return, measured over the same period and in compatible currency and notional units. A position that holds one unit of XX and shorts hh units of HH has return-like change Z=X−hHZ=X-hH. For now, assume hh can be any real number and ignore trading costs. The quantity to minimize is

Var⁡(Z)=Var⁡(X)+h2Var⁡(H)−2hCov⁡(X,H).\operatorname{Var}(Z) =\operatorname{Var}(X)+h^2\operatorname{Var}(H) -2h\operatorname{Cov}(X,H).

This is a quadratic in hh. Differentiating and setting the result to zero gives

h∗=Cov⁡(X,H)Var⁡(H)=ρXHσXσH.h^*=\frac{\operatorname{Cov}(X,H)}{\operatorname{Var}(H)} =\rho_{XH}\frac{\sigma_X}{\sigma_H}.

The second derivative is 2Var⁡(H)>02\operatorname{Var}(H)>0, so this is a minimum when the hedge has nonzero variance. The formula is also the slope from a regression of XX on HH with an intercept. It removes the part of XX that is linearly predictable from HH under the estimated joint distribution.

Put the numbers in

With σX=2%\sigma_X=2\%, σH=1%\sigma_H=1\%, and ρXH=0.8\rho_{XH}=0.8, the ratio is h∗=1.6h^*=1.6. Short 1.6 units of the hedge per unit of the asset in these normalized return units. The variance of the unhedged asset is (0.02)2=0.0004(0.02)^2=0.0004. At the optimum, completing the square or substituting h∗h^* yields

Var⁡(Z∗)=σX2(1−ρXH2)=0.0004(1−0.64)=0.000144.\operatorname{Var}(Z^*) =\sigma_X^2(1-\rho_{XH}^2) =0.0004(1-0.64)=0.000144.

Residual standard deviation is 0.000144=1.2%\sqrt{0.000144}=1.2\%. The hedge removes 64% of variance, not 64% of volatility. If you shorted just one unit, residual variance would be 0.0004+0.0001−2(0.8)(0.02)(0.01)=0.000180.0004+0.0001-2(0.8)(0.02)(0.01)=0.00018, giving about 1.34% residual volatility. The apparently tidy one-for-one hedge leaves more risk.

Hedge units hhResidual varianceResidual volatility
00.0004002.00%
10.0001801.34%
1.60.0001441.20%

The calculation is deliberately about return-like exposures. If the instruments have different prices, multipliers, currencies, or contract sizes, convert hh into actual contracts only after translating both legs into the same cash P&L unit. A regression slope on raw price levels does not automatically supply the right contract count.

Why the residual cannot disappear

When correlation is less than one in magnitude, a linear hedge leaves basis risk. In a one-factor picture, XX contains a part moving with HH and a remainder that the hedge does not explain. The regression residual is uncorrelated with HH in the estimation population, but it need not be independent of HH, and it can behave differently in a stress event. The zero-correlation counterexample shows why that distinction matters.

The minimum-variance ratio also says nothing about expected profit. If the hedge has an expected return, a funding cost, or a borrow fee, minimizing variance may sacrifice expected net return. A desk might instead minimize expected squared hedging error plus transaction costs, constrain gross exposure, or target a particular market beta. Those are different objectives and can have different answers. Dollar versus beta neutrality compares two such exposure targets.

Estimation is part of the risk

The formula contains covariance and variance estimates. A short estimation window reacts quickly but is noisy; a long window can lag a regime change. Thinly traded assets can also have stale prices that distort measured correlation at short horizons. Check the timestamp alignment and return convention before treating the sample slope as tradable. If a position is held for weeks, a one-minute hedge regression may answer the wrong horizon question.

One practical diagnostic is to estimate the ratio on a historical training period, lock it, and measure residual P&L on later observations. Report both its total variance and its tail behavior. Re-estimating the hedge using the same future returns on which you judge it gives the ratio an impossible advantage. If you must update the hedge, specify the update rule and costs in advance. A time-varying hedge can be modeled, for example, with a Kalman filter, but the extra flexibility introduces more estimation choices.

Stress the correlation estimate

The fitted ratio of 1.6 depended on an estimated correlation of 0.8. Imagine that volatilities remain 2% and 1% but the live correlation falls to 0.4. Holding the old h=1.6h=1.6 hedge now gives variance 0.022+1.62(0.01)2−2(1.6)(0.4)(0.02)(0.01)=0.00040.02^2+1.6^2(0.01)^2-2(1.6)(0.4)(0.02)(0.01)=0.0004: exactly the unhedged variance in this example. The ideal ratio under the new correlation would be 0.8. A hedge that once removed risk can become an extra source of noise even before correlation changes sign.

This is why a hedge report should include sensitivity to plausible covariance inputs. Show residual volatility at the fitted ratio, at a smaller ratio, and under stressed correlations. If the hedge asset and exposure share a sector only in normal times, a calm-period regression may be least trustworthy precisely when protection is needed. The quadratic formula is a decision tool; its input uncertainty belongs in the decision too.

Move the hedge, then change the correlation

Asset volatility is 2%; hedge volatility is 1%. The curve uses the variance formula in the article.

Practice

Perfect correlationIf the return correlation is exactly one and the volatilities are 2% and 1%, what ratio minimizes variance, and what residual variance does this ideal model imply?
Show answer

h∗=1(0.02/0.01)=2h^*=1(0.02/0.01)=2. The formula gives residual variance σX2(1−12)=0\sigma_X^2(1-1^2)=0. That conclusion depends on the exact linear relationship and matching horizon assumed by the model; estimated correlation near one does not guarantee a riskless live hedge.

Negative correlationIf the correlation is negative 0.5, what sign does the variance-minimizing hedge ratio have?
Show answer

It is negative. In X−hHX-hH, a negative hh means holding a positive amount of HH alongside XX. An asset that tends to rise when XX falls can hedge a long XX position without being shorted.