This toy example algo incorporates some interesting Meucci techniques to improve portfolio optimization. Some of the key points are:
- Use longer time series for estimation – have the law of large numbers work in your favour
- Apply flexible probabilities to enhance estimation ie weight historical observations differently eg weight more recent data higher
- Shrink your mean and covariance matrix to reduce estimation risk
- Use a 2-step mean-variance optimization approach to choose the optimal portfolio on the efficient frontier according to your preference (satisfaction)
See also the post https://www.quantopian.com/posts/the-efficient-frontier-markowitz-portfolio-optimization-in-python-using-cvxopt for some background and some of the issues that arise in portfolio optimization.
Thanks
Peter