We use solver to calculate the weights of the tangency portfolio and the minimum variance portfolio. We then use a random array to produce a data table of random portfolios. A properly formatted scatter plot shows the efficient frontier.
If you do not have data ready, use these videos:
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
![](https://s2.save4k.ru/pic/UK8PIiVr0v4/maxresdefault.jpg)