I have 5 emerging market foreign exchange total return series, for which I am forecasting single period future returns (1 year). I would like to construct a Markowitz mean variance optimized portfolio of the 5 series, using historical variances and covariances (1) and my own forecast expected returns. Does R have an (easy) way/library to do this? In addition how would I go about calculating (1) is there a built in function?

For interest sake my currencies are USDTRY, USDZAR, USDRUB, USDHUF and USDPLN.


You might look at the following:





| cite | improve this answer | |
  • $\begingroup$ and why didn't I find all this stuff! Awesome thanks Bill. $\endgroup$ – Thomas Browne May 22 '11 at 20:20

Concerning this topic there was quite recently a fantastic Coursera MOOC from Professor Eric Zivot from the University of Washington:
Introduction to computational finance and Financial Econometrics

In case you don't have access there they will offer this course again starting Dec 17th 2012: https://www.coursera.org/course/compfinance

Meanwhile most of the material can be found here too:

| cite | improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.