Asset Allocation - Hierarchical Risk Parity

This example presents the full workflow to perform hierarchical risk parity asset allocation proposed by Lopez de Prado Marcos.

You are now following this Submission

This example will walk you through the steps to build an asset allocation strategy based on hierarchical risk parity (HRP). You will:
- Learn how to use statistics and machine learning techniques to cluster assets into a hierarchical tree structure.
- Understand how to develop allocation strategies based on the tree structure and risk parity concept through recursion.
- Compare its result with Mean-Variance asset allocation.

Cite As

MathWorks Computational Finance Team (2026). Asset Allocation - Hierarchical Risk Parity (https://au.mathworks.com/matlabcentral/fileexchange/70186-asset-allocation-hierarchical-risk-parity), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Risk Management Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2018b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0