Portfolio returns and risk
2 views (last 30 days)
Show older comments
Hi
I've built a portfolio with 10 stocks following the video "getting started with portfolio optimization" but I have problem in understanding which formula Matlab used to compute the line: [prisk preturns]=p.plotfrontier.
More specifically I already run the previous code lines computing the mean and covariance matrix (estimateAssetMoments) and weights constraints (setDefaultConstraints) even considering I DIDN'T provide any info about weights (so I guess Matlab used 10 equal weights). But now I'm running the portfolio efficient frontier to plot every asset's expected return and risk (p.plotfrontier). Here is my problem: I don't understand what formula Matlab used to compute preturns and prisk . Can you help me please?
0 Comments
Answers (0)
See Also
Categories
Find more on Portfolio Optimization and Asset Allocation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!