Skip to content
Prev 13501 / 15274 Next

Failure of solve.QP in portfolio modeling

Because you can't invert a matrix with more features than observations. IE
if you have 50 stocks but only use 26 weekly return data points, you can't
invert that covariance matrix because it's not positive semi-definite. You
may want to try my Constrained Critical Line algorithm.

https://quantstrattrader.wordpress.com/2015/06/05/momentum-markowitz-and-solving-rank-deficient-covariance-matrices-the-constrained-critical-line-algorithm/
On Tue, Sep 22, 2015 at 9:37 AM, aschmid1 <aschmid1 at stevens.edu> wrote: