NEW+--

Portfolio Management using Machine Learning: Hierarchical Risk Parity

1023 Learners
10 hours
Do you want a robust technique to allocate capital to different assets in your portfolio? This is the right course for you. Learn to apply the hierarchical risk parity (HRP) approach on a group of 16 stocks and compare the performance with inverse volatility weighted portfolios (IVP), equal-weighted portfolios (EWP), and critical line algorithm (CLA) techniques. And concepts such as hierarchical clustering, dendrograms, and risk management.
Level
Intermediate
Author
QuantInsti®
Price Lifetime Access
₹18956₹24303(Additional 22% off)
Original Price: ₹43399
  • Learning OutComes
  • Case Studies
  • Python Lab
  • Syllabus
  • Reviews
  • Faqs

Live Trading

  • Allocate weights to a portfolio based on a hierarchical risk parity approach.
  •  Create a stock screener.
  •  Describe inverse volatility weighted portfolios (IVP) and critical line algorithm (CLA).
  •  Backtest the performance of different portfolio management techniques.
  •  Explain the limitations of IVPs, CLA and equal-weighted portfolios.
  •  Compute and plot the portfolio performance statistics such as returns, volatility, and drawdowns.
  •  Implement a hierarchical clustering algorithm and explain the mathematics behind the working of hierarchical clustering.
  •  Describe the dendrograms and interpret the linkage matrix.
F1cmtxLxF5w

REAL-WORLD CASE STUDIES

Case Study 1

Case study: How to Create a Portfolio Using Hierarchical Risk Parity?

Leverage the power of Hierarchical Clustering to create smarter, risk-aware portfolios with the advanced HRP allocation technique.

Hierarchical Risk Parity is a highly advanced approach to portfolio allocation. It takes advantage of Hierarchical Clustering, a powerful technique that groups similar assets based on their characteristics. By doing so, HRP intelligently optimises the weight allocation of these asset groups according to their risk profiles.

Try This in Python Lab
Case study: How to Create a Portfolio Using Hierarchical Risk Parity?

Read More

Hands-On Labs in Python

  • Perform hierarchical clustering on asset return data.
  • Visualise correlation matrices and dendrograms.
  • Implement the HRP allocation algorithm in Python.
  • Backtest HRP allocations vs. Mean-Variance Optimization and Equal Weight.
Custom Video Thumbnail

Course Features

  • Community
    Community

    Faculty Support on Community

  • Interactive Coding Exercises
    Interactive Coding Exercises

    Interactive Coding Practice

  • Capstone Project
    Capstone Project

    Capstone Project Using Real Market Data

  • Trade & Learn Together
    Trade & Learn Together

    Trade and Learn Together

  • Get Certified
    Get Certified

    Get Certified

Prerequisites

A general understanding of trading in the financial markets such as how to place orders to buy and sell is helpful. Basic knowledge of the pandas dataframe and matplotlib would be beneficial to easily work with the codes covered in this course. To learn how to use Python, check out our free course "Python for Trading: Basic".

Syllabus

Module 1: Introduction, Portfolio Basics & Risk-Based Portfolio Techniques

Learn portfolio diversification with machine learning to reduce risk across multiple assets.

Understand portfolio returns, volatility, and covariance for constructing portfolios.

Watch for Free

Use a stock screener filtering on liquidity, momentum, and fundamental factors.

Explore the inverse volatility portfolio approach for risk-based asset allocation.

Analyse correlation effects to optimise diversification and risk management.

Try for Free
Module 2: Classical Portfolio Optimization

Apply the critical line algorithm portfolio optimisation to find optimal portfolios on the efficient frontier.

Manage constraints with upper and lower bounds on asset weights.

Use expected returns and the covariance matrix

Assess portfolio risk-return profiles, focusing on long-only portfolios.

Module 3: Hierarchical Clustering Fundamentals

Implement hierarchical clustering portfolio allocation based on similarity metrics like Euclidean distance.

Watch for Free

Visualise asset groupings with dendrograms to support portfolio construction and risk evaluation.

Allocate capital inversely proportional to cluster risk, isolating less correlated assets.

Adjust cluster allocations dynamically with market changes.

Module 4: Visualising Clusters, Data Preparation and Scaling

Create dendrograms using linkage matrices and methods like Ward’s linkage.

Choose the optimal number of clusters using dendrogram analysis.

Apply data scaling methods, such as StandardScaler, to ensure proper distance calculations.

Leverage scikit-learn and SciPy libraries for scaling and clustering visualisation.

Module 5: Hierarchical Risk Parity (HRP) Portfolio Construction

Build Hierarchical Risk Parity portfolios integrating clustering and recursive bisection.

Assign weights using risk parity principles.

about author

QuantInsti®
QuantInsti®
QuantInsti is the world's leading algorithmic and quantitative trading research & training institute with registered users in 190+ countries and territories. An initiative by founders of iRage, one of India’s top HFT firms, QuantInsti has been helping its users grow in this domain through its learning & financial applications based ecosystem for 10+ years.
Move Right
Move Left

learning track 7

This course is a part of the Learning Track: Portfolio Management and Position Sizing using Quantitative Methods

Customize Cart
Total courses in cart: 0
Original Price
Slashed Discount
-
Subtotal
₹0
learning track
Portfolio Management and Position Sizing using Quantitative Methods
Need help? Write to us at quantra@quantinsti.com or call us at +91 8450963428.

Faqs