Portfolio Theory

Hierarchical Risk Parity

A robust portfolio construction method that allocates risk equally across asset clusters without relying on expected return assumptions.

Hierarchical Risk Parity (HRP), developed by Marcos López de Prado in 2016, is a modern alternative to Mean Variance Optimization that uses machine learning clustering to build more robust portfolios. Unlike MVO, HRP does not require estimating expected returns — it only uses the covariance matrix, dramatically reducing forecast error.

The algorithm works in three steps: (1) build a hierarchical clustering tree of assets based on their correlation structure; (2) traverse the tree top-down to assign risk budgets to clusters; (3) within each cluster, allocate based on inverse variance (each asset gets a weight inversely proportional to its risk). This produces a naturally diversified portfolio that respects the correlation structure of assets.

HRP portfolios tend to be more stable out-of-sample than MVO portfolios. They avoid the 'error maximization' problem and rarely produce extreme concentration in a single asset. Research shows HRP outperforms MVO, equal-weight, and risk parity allocations in most real-world backtests.

On StressTest.pro, HRP optimization is available under the Optimizations tool. We recommend it as the default starting point for most users.

See Hierarchical Risk Parity in Action

Run a real backtest on any stock or ETF to see Hierarchical Risk Parity computed live from 10 years of data.

Launch Free Backtest
StressTest.pro

Advanced portfolio stress testing and risk analysis for professional investors.

© 2026 StressTest.pro. All rights reserved.

Disclaimer

The information provided by StressTest.pro is for educational and informational purposes only and does not constitute financial advice. Investment involves risk, including possible loss of principal. Past performance is not indicative of future results. Calculations are based on historical data and statistical approximations.