ClusterPortfolios
is an R package for constructing portfolios based on statistical clustering techniques. Clustering financial asset returns and allocating capital along cluster boundaries can increase robustness, decrease sampling sensitivity, improve diversification and enhance portfolio performance.
Methods implemented in this package:
devtools::install_github("https://github.com/jpfitzinger/ClusterPortfolios")
library(ClusterPortfolios)
data("Industry_10")
rets <- Industry_10
sigma <- cov(rets)
HRP(sigma, UB = 0.15, tau = 0.5)
Lopez de Prado, M. (2016). Building Diversified Portfolios that Outperform Out-of-Sample. SSRN Electronic Journal.
Lopez de Prado, M. (2019). A Robust Estimator of the Efficient Frontier. SSRN Electronic Journal.
Pfitzinger, J., Katzke, N. (2019). A Constrained Hierarchical Risk Parity Algorithm with Cluster-Based Capital Allocation. Stellenbosch University, Department of Economics. Working Paper 14/2019.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.