Maximizing sharpe ratio of a portfolio with shorting allowed, where sum of absolute weights must be one.

5 vues (au cours des 30 derniers jours)
Hi!
I am attempting to solve a problem in which I have a portfolio with 10 assets and their respective means and covariances, and I am trying to maximize the sharpe ratio. Shorting is allowed, but the sum of absolute weights of the assets must be 1. I have tried it but am not able to implement the constraint which limits the sum of absolute value of the weights to 1. Any help would be appreciated!
Thanks!

Réponses (1)

Mukul Rao
Mukul Rao le 24 Avr 2017
Modifié(e) : Mukul Rao le 24 Avr 2017
Hello,
Have you tried specifying bounds to be negative with "setBounds"
You can specify the constraint that the weights add up to 1 with "addEquality"
I also found a similar thread, that might be helpful
You could also try to write your own portfolio optimization problem similar to what is described here
While the example above has the weights restricted to be greater than zero, I would assume for the case of shorting, your use case would involve negative weights. The objective function can then be formulated to maximize the Sharpe Ratio.

Community Treasure Hunt

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

Start Hunting!

Translated by