Challenge: 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.
Swipe to start coding
In this task you need to:
- Choose right shape for array of weights.
- Find index of necessary weights in the right way.
- Choose optimal weights and corresponding volatility.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Summarize this chapter
Explain the code in file
Explain why file doesn't solve the task
Awesome!
Completion rate improved to 6.25
Challenge: 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.
Swipe to start coding
In this task you need to:
- Choose right shape for array of weights.
- Find index of necessary weights in the right way.
- Choose optimal weights and corresponding volatility.
Solution
Thanks for your feedback!
single