How can I calculate daily portfolio returns having daily stock returns and monthly portfolio weights?

4 vues (au cours des 30 derniers jours)
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 commentaire
jgg
jgg le 25 Jan 2016
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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Portfolio Optimization and Asset Allocation dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by