|
|
|
|
|
by scast
2236 days ago
|
|
Absolutely. I just focused in finding good weight allocations for the given risk, but changing the objective function given to the negative of the sharpe ratio should get you good allocations that maximize the sharpe ratio. You'll notice I am returning the expected return and variance of the returns. I didn't talk about it too much (besides a high level risk vs. returns at the end) because I didn't want to introduce another concept, but you can readily compare the sharpe ratio using those. I did a quick analysis (which I had put here but I can't properly format it) here: https://gist.github.com/scast/d7ab3a0f5c5458c11d8624cc73806d... |
|