Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Fix code on Markowitz optimization

This code is from Lecture 8 in the folder "Tutorial and Documentation" in Notebook. There is one error if you run it:

"ImportError: cannot import name add_history".

add_history is not used in zipline anymore by google search. If I remove add_history from import list, then it shows up with another error:

"RemoteDataError: Unable to read URL: http://www.google.com/finance/historical"

I do not know how to fix it. Anybody can help?
Thanks.