Tail Gini Range Risk Parity

The Tail Gini Range Risk Parity gives every asset the same share, or its budgeted share, of the Tail Gini of the losses plus that of the gains of the portfolio, the width of both tails with the most extreme returns weighing most (Cajas, 2021).

The formula for the Tail Gini Range Risk Parity starts from the portfolio returns \(X_{t}\), the sum of the weights \(w_{i}\) times the returns \(r_{i , t}\) of the N assets, and the Conditional Value at Risk of the returns and of the returns with the sign turned at \(m = 100\) tail probabilities \(\alpha_{1} < \ldots < \alpha_{m} = \alpha\) spaced evenly from 0.0001, weighed with the coefficients \(c_{j}\), the middle one for every \(1 < j < m\), and 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{TG Range} = \sum_{j=1}^{m} c_{j} \cdot (\text{CVaR}(X, \alpha_{j}) + \text{CVaR}(-X, \alpha_{j}))\] \[c_{1} = \frac{\alpha_{2} \cdot \alpha_{1}}{\alpha^{2}}\] \[c_{j} = \frac{(\alpha_{j+1} - \alpha_{j-1}) \cdot \alpha_{j}}{\alpha^{2}}\] \[c_{m} = \frac{\alpha_{m} - \alpha_{m-1}}{\alpha}\] \[\text{RC}_{i} = b_{i} \cdot \text{TG Range}\]

Like the Conditional Value at Risk Range Parity it counts both tails, with the most extreme returns weighing more.

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: Tail Gini range risk budgeting.

In the Finance Toolkit this is get_risk_parity_weights with risk_measure="tail_gini_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="tail_gini_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