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

조회 수: 1 (최근 30일)
MLB
MLB 2017년 5월 28일
답변: Aman 2024년 9월 24일
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.

답변 (1개)

Aman
Aman 2024년 9월 24일
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!

카테고리

Help CenterFile Exchange에서 Portfolio Optimization and Asset Allocation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by