Skip to main content
HomePython

Course

Introduction to Portfolio Risk Management in Python

IntermediateSkill Level
4.8+
315 reviews
Updated 04/2026
Evaluate portfolio risk and returns, construct market-cap weighted equity portfolios and learn how to forecast and hedge market risk via scenario generation.
Start Course for Free
PythonApplied Finance
4 hr
13 videos
51 Exercises
4,250 XP
29,064
Statement of Accomplishment

Create Your Free Account

Continue with GoogleShow more options

or


By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training a Team?

Try for Business

Course Description

This course will teach you how to evaluate basic portfolio risk and returns like a quantitative analyst on Wall Street. This is the most critical step towards being able to fully automate your portfolio construction and management processes. Discover what factors are driving your portfolio returns, construct market-cap weighted equity portfolios, and learn how to forecast and hedge market risk via scenario generation.

Prerequisites

Introduction to Financial Concepts in PythonManipulating Time Series Data in Python
1

Univariate Investment Risk and Returns

Learn about the fundamentals of investment risk and financial return distributions.
Start Chapter
2

Portfolio Investing

Level up your understanding of investing by constructing portfolios of assets to enhance your risk-adjusted returns.
Start Chapter
Introduction to Portfolio Risk Management in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 315 reviews
88%
10%
1%
0%
0%
  • Antoine
    9 hours ago

  • Anh
    10 hours ago

    The phrase "CAPM model" is not accurate, as M in CAPM stands for "model", so it's usually referred to as the CAPM. The writing on the slides about Cvar is not accurate, though the explanation is correct. 2.5% is not exceeding, but an average expected loss once VaR is exceeded. The concept of running max in drawdown could be explained better. Drawdown formula could be linked to the more common (Peak - Trough)/Peak formula. Sorted function seems to be phasing out for Pandas DataFrame, so .sort_values could be used.

  • Fabian
    4 days ago

  • Thuy Ly
    5 days ago

  • An
    6 days ago

  • Juan Fernando
    last week

Antoine

Fabian

Thuy Ly

FAQs

Is this course suitable for beginners?

Yes, this course is suitable for beginners. It covers the fundamentals of investment risk and returns, portfolio investing, factor investing and Value at Risk, along with interactive coding challenges.

Will I receive a certificate at the end of the course?

Yes, upon completion of this course, you will receive a Certificate of Completion from DataCamp.

Who will benefit from this course?

This course is perfect for professionals in the finance and investment industry, such as financial analysts, portfolio managers, and other positions where understanding and managing financial risk is important.

What techniques will I learn in this course?

During this course you will learn various techniques related to portfolio risk management, such as constructing market-cap weighted equity portfolios, estimating probability of sustaining losses and expected value of losses for a given asset, and forecasting and hedging market risk via scenario generation.

What is Value at Risk?

Value at Risk (VaR) is a statistical measure used to estimate the probability of a portfolio suffering losses over a certain period of time. VaR measure is often used to assess the amount of risk in a portfolio and it is typically expressed in terms of a percentage of the portfolio value.

Join over 19 million learners and start Introduction to Portfolio Risk Management in Python today!

Create Your Free Account

Continue with GoogleShow more options

or


By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.