Conditional Drawdown at Risk Contribution

The Conditional Drawdown at Risk Contribution splits the Conditional Drawdown at Risk (CDaR) of the portfolio, the average of its deepest drawdowns (Chekhlov, Uryasev and Zabarankin, 2005), among the assets. Every drawdown of the portfolio is the sum of the falls of the assets since the peak of the portfolio, so the marginal contribution of an asset is its average fall over the worst drawdown periods of the portfolio (Goldberg and Mahmoud, 2017).

The formula for the Conditional Drawdown at Risk Contribution starts from the uncompounded cumulative returns \(C_{i , t}\) of every asset and \(Y_{t}\) of the portfolio, with \(w_{i}\) the weight and \(r_{i , s}\) the return of asset i of the N assets in period s, both zero before the first period:

\[C_{i,t} = \sum_{s=1}^{t} r_{i,s}\] \[Y_{t} = \sum_{i=1}^{N} w_{i} \cdot C_{i,t}\]

The drawdown \(D_{t}\) of the portfolio is its distance below its peak, with k the latest period up to t in which the portfolio stood at its highest, and \(d_{i , t}\) is the part of asset i, its own fall since that peak:

\[D_{t} = Y_{k} - Y_{t}\] \[d_{i,t} = C_{i,k} - C_{i,t}\]

With the tail probabilities \(p_{t}\) of Rockafellar and Uryasev (2002), 1 / (alpha * T) for each of the floor(alpha * T) deepest of the T drawdowns, what is left of a total of 1 for the next one and zero for the others, with alpha the tail probability, the CDaR, the marginal contribution \(\text{MC}_{i}\) and the risk contribution \(\text{RC}_{i}\) are:

\[\text{CDaR} = \sum_{t=1}^{T} p_{t} \cdot D_{t}\] \[\text{MC}_{i} = \sum_{t=1}^{T} p_{t} \cdot d_{i,t}\] \[\text{RC}_{i} = w_{i} \cdot \text{MC}_{i}\]

The contributions add up to the CDaR of the uncompounded cumulative return, per period. They show which assets drove the deepest falls of the portfolio, which matters to an investor who judges a strategy by its drawdowns; the deepest drawdowns often belong to a single episode, so they rest on few independent observations.

The risk contribution of an asset is its weight times its marginal contribution, the change in the risk of the portfolio from a small increase in that weight. Litterman (1997) used this decomposition to find the hot spots of a portfolio, the positions that add most to its risk, and the hedges that reduce it. For a risk measure that doubles when every weight doubles, Euler’s theorem makes the contributions add up to the risk of the portfolio (Tasche, 2000), so they split that risk among the assets: the Euler allocation. A large position in a calm asset can contribute less risk than a small one in a volatile asset, and an asset that tends to gain when the portfolio loses contributes a negative amount, as it hedges the rest. The percentage contribution, the risk contribution over the risk of the portfolio, compares directly with the weight: an asset whose share of the risk lies far above its share of the capital is a hot spot.

Also known as: CDaR contribution, drawdown contribution.

In the Finance Toolkit this is get_risk_contributions with risk_measure="cdar", the same function as Risk Contributions.

Example · AAPL, MSFT, JNJ, XOM · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_risk_contributions:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["AAPL", "MSFT", "JNJ", "XOM"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.portfolio.get_risk_contributions(risk_measure="cdar", weights={"AAPL": 0.4, "MSFT": 0.3, "JNJ": 0.2, "XOM": 0.1})

Which returns:

References

  • Paper Rockafellar, R. T. and Uryasev, S. (2002). “Conditional Value-at-Risk for General Loss Distributions.” Journal of Banking & Finance, 26(7), 1443-1471.
  • Paper Chekhlov, A., Uryasev, S. and Zabarankin, M. (2005). “Drawdown Measure in Portfolio Optimization.” International Journal of Theoretical and Applied Finance, 8(1), 13-58.
  • Paper Goldberg, L. R. and Mahmoud, O. (2017). “Drawdown: From Practice to Theory and Back Again.” Mathematics and Financial Economics, 11(3), 275-297.
Share