Page 1 of 1

Portfolio construction using Matlab

PostPosted: Sat Jan 23, 2016 1:33 pm
by Nour
Dear members
I have daily returns of 10 stocks. I need to construct an equally weighted portfolio that goes long in the 3 highest returns and short in the 3 lowest returns, using Matlab. The portfolio needs to be re-balanced every month.
How to tell Matlab about this constraint?
I can't use the default command (setDefaultConstraints) coz it doesn't allow short positions...
I'm new member here, I would be very grateful if you could answer me.
Thanks in advance!

Re: Portfolio construction using Matlab

PostPosted: Sun Jan 24, 2016 7:41 pm
by jpfeifer
Sorry, but I am afraid you have come to the wrong place. This forum is about the software Dynare. We do not provide support for Matlab products.

Re: Portfolio construction using Matlab

PostPosted: Mon Jan 25, 2016 10:51 am
by Nour
Ah ok !
Thanks for your comment