Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Computing GMV Portfolio | Portfolio Optimization Basics
Introduction to Portfolio Management with Python

bookChallenge: Computing GMV Portfolio

In the previous chapter, we've discovered, how to compute portfolios with minimal risk and with the best ratio of expected return and corresponding risk.

Now, you are going to compute them on your own.

First of all, in this chapter, you are going to compute GMV portfolio, which provides the lowest risk.

Task

Swipe to start coding

In this task you need to:

  1. Choose right shape for array of weights.
  2. Find index of necessary weights in the right way.
  3. Choose optimal weights and corresponding volatility.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 4
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Summarize this chapter

Explain the code in file

Explain why file doesn't solve the task

close

Awesome!

Completion rate improved to 6.25

bookChallenge: Computing GMV Portfolio

Swipe to show menu

In the previous chapter, we've discovered, how to compute portfolios with minimal risk and with the best ratio of expected return and corresponding risk.

Now, you are going to compute them on your own.

First of all, in this chapter, you are going to compute GMV portfolio, which provides the lowest risk.

Task

Swipe to start coding

In this task you need to:

  1. Choose right shape for array of weights.
  2. Find index of necessary weights in the right way.
  3. Choose optimal weights and corresponding volatility.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 4
single

single

some-alt