How do I remove short-selling constraints from a portfolio?

3 Ansichten (letzte 30 Tage)
MLB
MLB am 28 Mai 2017
Beantwortet: Aman am 24 Sep. 2024
I need to calculate an efficient frontier for a Markowitz portfolio using the integrated Portfolio class. If I use the function "setDefaultConstraints", I set short-selling restrictions. The only restriction I need is that the portfolio weights sum to one, how can I thus removed the short-selling restriction? I have tried to "setBounds", but it is not possible to use infinite bounds.

Antworten (1)

Aman
Aman am 24 Sep. 2024
Hi MLB,
As per my understanding, you just want to find an efficient frontier with the condition that there should be no bound on the short-selling and your budget constraints sum to one.
In order to achieve this, you need to follow the below steps:
  1. Instead of using "setDefaultConstraints," use the "setBound" method and set the lower limit and upper limit to negative infinite and positive infinite, respectively.
  2. Once you have set the bounds, you can utilize the "setBudget" method for putting constraints on your portfolio object.
  3. When the above two steps are done, you can use the "estimateFrontier" method for calculating the efficient frontier.
You can refer to the below documentation to learn more about the mentioned method:
I hope this helps you to proceed ahead with your workflow!

Kategorien

Mehr zu Portfolio Optimization and Asset Allocation finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by