Info
This question is closed. Reopen it to edit or answer.
How to limit the stocks in a portfolio from a larger population?
2 views (last 30 days)
Show older comments
I currently have a problem using the functions in MATLAB for using investment portfolios. I have a population of 143 stocks but want to limit the amount put into my portfolio at the end of the day to 10. It is currently not bound. I do not know how to assign such a constraint to a portfolio object. Any help please? =)
2 Comments
Kaushik Lakshminarasimhan
on 11 Nov 2017
There is no generic answer to your question. Please share your code.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!