README.md

ClusterPortfolios

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:

Installation

devtools::install_github("https://github.com/jpfitzinger/ClusterPortfolios")

Usage

library(ClusterPortfolios)
data("Industry_10")
rets <- Industry_10
sigma <- cov(rets)
HRP(sigma, UB = 0.15, tau = 0.5)

References

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.



jpfitzinger/ClusterPortfolios documentation built on Sept. 27, 2024, 11:18 p.m.