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

efficient_risk issue with global min vol #569

Open
zkuang86 opened this issue Dec 1, 2023 · 1 comment
Open

efficient_risk issue with global min vol #569

zkuang86 opened this issue Dec 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@zkuang86
Copy link

zkuang86 commented Dec 1, 2023

Describe the bug
I am trying to run portfolio optimization for portfolio of bonds. I am using the efficient risk function to get my portfolio. When I set that target vol to .25 I get an error with the global_min vol:

image

GIven this constraint, I enter a target vol of 1 and then I get the following results:

image

It seems strange that the vol of the optimized portfolio is lower than the global min vol.

Also no matter what target vol I enter into the function I get the same results for the optimized portfolio. I am trying to under the global_min_vol constraint and if there is a way to remove it.

@zkuang86 zkuang86 added the bug Something isn't working label Dec 1, 2023
@baobach
Copy link

baobach commented Jan 27, 2024

It looks like the target for your risk parameter is unattainable with the given covariance matrix and return vector. Can you give me more context e.g. the number of assets, covariance matrix shape, etc? Also, could you provide a method to recreate this risk and your versions of dependencies can help diagnose the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants