Interactive Course

Introduction to Portfolio Analysis in Python

Learn how to calculate meaningful measures of risk and performance, and how to compile an optimal portfolio for the desired risk and return trade-off.

  • 4 hours
  • 15 Videos
  • 52 Exercises
  • 1,691 Participants
  • 4,200 XP

Loved by learners at thousands of top companies:

ikea-grey.svg
siemens-grey.svg
rei-grey.svg
3m-grey.svg
uber-grey.svg
forrester-grey.svg

Course Description

Have you ever had wondered whether an investment fund is actually a good investment? Or compared two investment options and asked what the difference between the two is? What does the risk indicator of these funds even mean? Or do you frequently work with financial data in your daily job and you want to get an edge? In this course, you’re going to get familiar with the exciting world of investing, by learning about portfolios, risk and return, and how to critically analyze them. By working on actual historical stock data, you’ll learn how to calculate meaningful measures of risk, how to break-down performance, and how to calculate an optimal portfolio for the desired risk and return trade-off. After this course, you’ll be able to make data-driven decisions when it comes to investing and have a better understanding of investment portfolios.

  1. 1

    Introduction to Portfolio Analysis

    Free

    In the first chapter, you’ll learn how a portfolio is build up out of individual assets and corresponding weights. The chapter also covers how to calculate the main characteristics of a portfolio: returns and risk.

  2. Performance Attribution

    In chapter 3, you’ll learn about investment factors and how they play a role in driving risk and return. You’ll learn about the Fama French factor model, and use that to break down portfolio returns into explainable, common factors. This chapter also covers how to use Pyfolio, a public portfolio analysis tool.

  3. Risk and Return

    Chapter 2 goes deeper into how to measure returns and risk accurately. The two most important measures of return, annualized returns, and risk-adjusted returns, are covered in the first part of the chapter. In the second part, you’ll learn how to look at risk from different perspectives. This part focuses on skewness and kurtosis of a distribution, as well as downside risk.

  4. Portfolio Optimization

    In this last chapter, you learn how to create optimal portfolio weights, using Markowitz’ portfolio optimization framework. You’ll learn how to find the optimal weights for the desired level of risk or return. Lastly, you’ll learn alternative ways to calculate expected risk and return, using the most recent data only.

  1. 1

    Introduction to Portfolio Analysis

    Free

    In the first chapter, you’ll learn how a portfolio is build up out of individual assets and corresponding weights. The chapter also covers how to calculate the main characteristics of a portfolio: returns and risk.

  2. Risk and Return

    Chapter 2 goes deeper into how to measure returns and risk accurately. The two most important measures of return, annualized returns, and risk-adjusted returns, are covered in the first part of the chapter. In the second part, you’ll learn how to look at risk from different perspectives. This part focuses on skewness and kurtosis of a distribution, as well as downside risk.

  3. Performance Attribution

    In chapter 3, you’ll learn about investment factors and how they play a role in driving risk and return. You’ll learn about the Fama French factor model, and use that to break down portfolio returns into explainable, common factors. This chapter also covers how to use Pyfolio, a public portfolio analysis tool.

  4. Portfolio Optimization

    In this last chapter, you learn how to create optimal portfolio weights, using Markowitz’ portfolio optimization framework. You’ll learn how to find the optimal weights for the desired level of risk or return. Lastly, you’ll learn alternative ways to calculate expected risk and return, using the most recent data only.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Charlotte Werger
Charlotte Werger

Director of Advanced Analytics at Nike

Dr Charlotte Werger currently works at Nike as a Director of Advanced Analytics. Charlotte is a data scientist with a background in econometrics and finance. She loves applying Machine Learning to a broad variety of problems, ranging from image recognition to fraud detection, to customer recommender systems. Charlotte has previously worked in finance as Head of Data Science at Van Lanschot Kempen, and as a quantitative researcher and portfolio manager for BlackRock and Man AHL. In those roles she specialized in using data science to predict movements in stock markets. As the former Head of Education at Faculty, she loves teaching data science on- and off-line. Charlotte is also active as a Data Science mentor for the Springboard program. Charlotte holds a PhD from the European University Institute.

See More
Icon Icon Icon professional info