pfopt_hrp | Hierarchical risk parity weights from a price (or returns) history, or from a covariance matrix alone: the assets are clustered by correlation distance, ordered along the tree and risk is split between sub-clusters by inverse variance, needing no expected returns and no matrix inversion. | |