Conditional Value at Risk Range Parity

The Conditional Value at Risk Range Parity gives every asset the same share, or its budgeted share, of the Conditional Value at Risk of the losses plus that of the gains of the portfolio, the width of both tails of its returns (Cajas, 2021).

The formula for the Conditional Value at Risk Range Parity starts from the return \(X_{t}\) of the portfolio in each of the T periods, with \(w_{i}\) the weight and \(r_{i , t}\) the return of asset i of the N assets, and the tail probabilities \(p_{t}\) of the lowest returns and \(q_{t}\) of the highest: 1 / (alpha * T) for each of the floor(alpha * T) returns furthest in the tail, what is left of a total of 1 for the next one and zero for the others, with alpha the tail probability. It sets the risk contribution \(\text{RC}_{i}\) of every asset, its weight times the derivative of the range by that weight, to its budget \(b_{i}\) times the range:

\[X_{t} = \sum_{i=1}^{N} w_{i} \cdot r_{i,t}\] \[\text{CVaR Range} = \sum_{t=1}^{T} q_{t} \cdot X_{t} - \sum_{t=1}^{T} p_{t} \cdot X_{t}\] \[\text{RC}_{i} = b_{i} \cdot \text{CVaR Range}\]

Extreme gains count against an asset as much as extreme losses.

Volatile assets get smaller weights, and correlated assets share their risk budget, so no single asset dominates the portfolio’s risk. Risk parity needs no expected returns, which are the inputs mean-variance analysis is most sensitive to, and spreads the risk where an equally weighted portfolio spreads the capital (Maillard, Roncalli and Teïletche, 2010). The risk contribution of an asset is its weight times the derivative of the risk measure by that weight; for the measures here, which double when every weight doubles, the contributions add up to the risk of the portfolio, and risk parity sets each to its budget, an equal share by default. For a risk measure other than the volatility, the weights are those of the y that minimizes the measure subject to a logarithmic barrier on the budgets, scaled to sum to one (Roncalli, 2013), which makes the problem convex.

Also known as: CVaR range risk parity.

In the Finance Toolkit this is get_risk_parity_weights with risk_measure="cvar_range", the same function as Risk Parity.

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

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

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_parity_weights(risk_measure="cvar_range", sector_bounds={"Healthcare": (0, 0.3)})

Which returns:

References

  • Paper Roncalli, T. (2013). “Introduction to Risk Parity and Budgeting.” Chapman & Hall/CRC, Boca Raton.
  • Paper Cajas, D. (2021). “OWA Portfolio Optimization: A Disciplined Convex Programming Framework.” SSRN Working Paper 3988927.
  • Paper Kelley, J. E. (1960). “The Cutting-Plane Method for Solving Convex Programs.” Journal of the Society for Industrial and Applied Mathematics, 8(4), 703-712.
Share