Skip to content

hcaa

Portfolio Construction and Risk

Allocates capital by hierarchy to reduce concentration and covariance-estimation fragility.

σC2=wCTΣCwC\sigma_C^2=w_C^T\Sigma_C w_C

wleft,wright1σleft2,1σright2w_{left},w_{right}\propto\frac{1}{\sigma_{left}^2},\frac{1}{\sigma_{right}^2}

use openquant::hcaa::HierarchicalClusteringAssetAllocation;
let mut hcaa = HierarchicalClusteringAssetAllocation::new();
let w = hcaa.allocate(&prices)?;
  • HierarchicalClusteringAssetAllocation
  • HcaaError
  • Cluster linkage choices influence allocations.
  • Use with robust codependence distances when possible.