Open PooratPython opened 1 year ago
I'm getting the same error, any luck figuring it out?
+1
So, here's what I observed in my case. When the annual returns are turning out to be negative or when the solver is unable to optimize the solution, that is what's causing this error.
@Suhetu look at #488
I'm trying to generate an Efficient frontier plot but continue to get the same error - "ValueError: Weights is None".
The code I have used is as follows:
I used a few years of price for General Electric, JP Morgan Microsft and P&G daily - attached. I get the following error message and a blank graph:
Thanks in advance for your help!