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.
Show older comments
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 Comments
Brandon Eidson
on 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
on 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
on 8 Jan 2017
Andrew Burns
on 8 Jan 2017
Edited: Walter Roberson
on 8 Jan 2017
Andrew Burns
on 8 Jan 2017
Edited: Walter Roberson
on 8 Jan 2017
Andrew Burns
on 8 Jan 2017
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!