Tail Gini Risk Parity

The Tail Gini Risk Parity gives every asset the same share, or its budgeted share, of the Tail Gini of the portfolio, a loss measure of the worst alpha share of the returns that also counts how far the losses within that tail spread out (Furman, Wang and Zitikis, 2017; Cajas, 2021).

The formula for the Tail Gini Risk Parity starts from the Conditional Value at Risk \(\text{CVaR} (\alpha_{j})\) of the portfolio returns \(X_{t}\), the sum of the weights \(w_{i}\) times the returns \(r_{i , t}\) of the N assets, 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 TG by that weight, to its budget \(b_{i}\) times TG:

\[X_{t} = \sum_{i=1}^{N} w_{i} \cdot r_{i,t}\] \[\text{TG} = \sum_{j=1}^{m} c_{j} \cdot \text{CVaR}(\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}\]

The assets behind the very worst periods of the portfolio get the smallest weights.

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 risk budgeting.

In the Finance Toolkit this is get_risk_parity_weights with risk_measure="tail_gini", 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", 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 Furman, E., Wang, R. and Zitikis, R. (2017). “Gini-Type Measures of Risk and Variability: Gini Shortfall, Capital Allocations, and Heavy-Tailed Risks.” Journal of Banking & Finance, 83, 70-84.
  • 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