Trying to optimize weights of series of combinations (250 in total) of 10-stock portfolios for Omega Ratio, with weights bound from 0<->1, and total of weights = 1.
Afficher commentaires plus anciens
So I know MATLAB has a function for Omega Ratio: Omega = lpm(-Data, -MAR, 1) / lpm(Data, MAR, 1), that uses "lpm". That is my objective function. I believe I can use "fmincon" - or a linear optimizer for this exercise. My constraints are as per above.
The question I have is, does anyone know of any scripts that I can begin with so I'm not reinventing the wheel?
I want to output the 1 of the 250 combinations with the highest Omega Ratio, its weights (for each of the 10 stocks)
6 commentaires
Brandon Eidson
le 5 Jan 2017
Andrew, can you specify what you mean by having 250 combinations of the 10-stock portfolios? Do you mean you have 250 combinations of 10 different stocks or do you mean you have 250 combinations of weights for the same 10 stocks?
I.e., do you already know the possible weights or is that part of what you are trying to calculate?
Brandon Eidson
le 5 Jan 2017
Also, can you specify what data it is with which you are starting. E.g., do you have a 10 x 250 matrix of doubles, 250 Portfolio objects, etc?
Andrew Burns
le 8 Jan 2017
Andrew Burns
le 8 Jan 2017
Modifié(e) : Walter Roberson
le 8 Jan 2017
Andrew Burns
le 8 Jan 2017
Modifié(e) : Walter Roberson
le 8 Jan 2017
Andrew Burns
le 8 Jan 2017
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!