Description Usage Arguments Details
This function designs hierarchical equal risk contribution portfolios based on the method proposed by Raffinot (2018).
1 2 3 4 5 6 7 8 |
asset_prices |
An XTS object of the asset prices. |
asset_returns |
An XTS object of the asset returns. |
Sigma |
Covariance matrix of returns. If none is provided, the covariance matrix will be computed from the returns. |
risk_measure |
String indicating the desired risk measure for assigning portfolio weights. Must be one of c('variance', 'standard-deviation', 'equal-weighting', 'CVaR', 'CDaR') |
method |
String indicating the desired hierarchical clustering method. Must be one of c("single", "complete", "average" ,"ward.D", "ward.D2", "divisive"). If method="divisive", divisive clustering (or the DIANA algorithm)is used, otherwise agglomerative clustering is used with method referring to the desired linkage function. |
num_clusters |
Integer value representing the optimal number of clusters. If no value is given, the optimal number of clusters will be computed automatically. |
This portfolio allocation method makes use of hierarchical clustering to assign portfolio weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.