How can I calculate daily portfolio returns having daily stock returns and monthly portfolio weights?
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to calculate daily portfolio returns having a 143x43 matrix of portfolio weights( 143 months, 43 stocks) and 4220 daily returns. I have also the daily dates corresponding to the daily returns in a text object. Could someone please give me some hints to write down the code?
Thank you in advance
1 个评论
jgg
2016-1-25
I'm unclear what you're trying to do?
Do you want to weight the returns by the portfolio weights to get an average? You for sure will need the stocks corresponding to the returns, as well as the dates. Do you have that?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Portfolio Optimization and Asset Allocation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!