Portfolio construction

CVaR optimisation (minimum expected shortfall)

The mix with the smallest average loss on its worst days, measured on the real history rather than a bell curve.

2 мин чтения · Попробовать в оптимизаторе портфеля ↗

Идея простыми словами

Minimum variance treats a gain and a loss alike. CVaR optimisation looks only at the bad tail: on the 5% worst days (or the level you choose), how much did the portfolio lose on average? It picks the weights that make that number smallest, so tickers that crash together are avoided even if their ordinary volatility is low.

Как считается

Over the daily scenarios, CVaR is VaR plus the average loss beyond VaR. Rockafellar and Uryasev showed it can be minimised directly; the optimiser uses projected subgradient steps over the history.

CVaR_α(w) = min_z { z + (1 ÷ ((1 − α)T)) Σₜ max(0, −wᵀrₜ − z) }
minimise CVaR_α(w)  subject to  Σwᵢ = 1, 0 ≤ wᵢ ≤ w_max

Как использовать

  • When crash days matter most to you: drawdown-sensitive money, leveraged accounts.
  • Set the level under Settings (95% by default; 97.5% looks further into the tail).
  • Use three or more years of data so the tail has enough days.

Выводы

  • The study's notes show the average loss on the worst days for the chosen mix.
  • Results close to minimum variance mean the tails are roughly normal.

Пример

Running example (used in every portfolio guide): US500, GER40, gold (XAUUSD) and EURUSD, two years of daily data. Expected returns 8%, 7%, 7% and 1% a year; volatilities 18%, 20%, 15% and 7%. US500 and GER40 move together (correlation about 0.7); gold hardly moves with the indices (about 0.04). CVaR optimisation: 7% US500, 14% gold, 79% EURUSD. Average loss on the worst 5% of days 0.90% (equal weights: 1.31%). Compared with minimum variance it holds more gold (14% against 6%), which had milder bad days than its volatility suggests.

Входные данные примера условны; веса и цифры — это то, что для них выдаёт наш оптимизатор.

На что обратить внимание

  • Few tail days means a noisy estimate; the weights can jump between studies.
  • It protects against the tails that happened, not against new kinds of crisis.

Немного истории

R. Tyrrell Rockafellar and Stanislav Uryasev, "Optimization of Conditional Value-at-Risk" (Journal of Risk, 2000). CVaR (expected shortfall) is now the regulatory measure of bank trading risk.

Только образовательный материал. Ни одна модель портфеля не знает будущего: все они работают на оценках из прошлого, и ничто здесь не является инвестиционной рекомендацией.