Portfolio Allocation while shorting stocks
Show older comments
Hi all,
If I want to have constraints for assets so that I can only short them and then the sum of total allocation should be -1, how to achieve it in Matlab?
While using pcalims, I can only choose each asset minimum and maximum value, but not the sum of allocation as "-1". While using pcpval, I can choose total portfolio allocation as -1, but then it always becomes an unbounded and hence unsolved problem.
What am I missing when I want to have the aforesaid two constraints. Really appreciate the help.
Answers (0)
Categories
Find more on Portfolio Optimization and Asset Allocation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!