hcaa
Subject
Section titled “Subject”Portfolio Construction and Risk
Why This Module Exists
Section titled “Why This Module Exists”Allocates capital by hierarchy to reduce concentration and covariance-estimation fragility.
Mathematical Foundations
Section titled “Mathematical Foundations”Cluster Variance
Section titled “Cluster Variance”
Recursive Split
Section titled “Recursive Split”
Usage Examples
Section titled “Usage Examples”Fit HCAA allocator
Section titled “Fit HCAA allocator”use openquant::hcaa::HierarchicalClusteringAssetAllocation;
let mut hcaa = HierarchicalClusteringAssetAllocation::new();let w = hcaa.allocate(&prices)?;API Reference
Section titled “API Reference”Rust API
Section titled “Rust API”HierarchicalClusteringAssetAllocationHcaaError
Implementation Notes
Section titled “Implementation Notes”- Cluster linkage choices influence allocations.
- Use with robust codependence distances when possible.