Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regularization Function / Bounds Config #51

Open
almirb opened this issue Apr 23, 2020 · 1 comment
Open

Regularization Function / Bounds Config #51

almirb opened this issue Apr 23, 2020 · 1 comment

Comments

@almirb
Copy link

almirb commented Apr 23, 2020

Hello @fmilthaler !

I'm having some dificulty to use ef_maximum_sharpe_ratio with a more "spreaded" allocation... Would it be possible to add some regularization function to avoid the optimizer to concentrate allocation in only 1 or 2 stocks?
Another way to resolve this could be to add some "per stock" or global limit settings (lower and upper). I don't know wich solution is better.... E.g: only allow a maximum of 80% of portfolio allocation for each stock.

Thanks!

@fmilthaler
Copy link
Owner

I like this idea and think this would bring good value to the user. Do you want to go ahead and add this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants