Portfolio construction using Matlab

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Portfolio construction using Matlab

Postby Nour » Sat Jan 23, 2016 1:33 pm

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!
Nour
 
Posts: 2
Joined: Sat Jan 23, 2016 1:24 pm

Re: Portfolio construction using Matlab

Postby jpfeifer » Sun Jan 24, 2016 7:41 pm

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Portfolio construction using Matlab

Postby Nour » Mon Jan 25, 2016 10:51 am

Ah ok !
Thanks for your comment
Nour
 
Posts: 2
Joined: Sat Jan 23, 2016 1:24 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 11 guests