Hi,
I'm trying to run code from https://blog.quantopian.com/markowitz-portfolio-optimization-2/ on Quantopian Research. When running from zipline.utils.factory import load_bars_from_yahoo, it says
InputRejected:
Importing load_bars_from_yahoo from zipline.utils.factory raised an ImportError. No modules or attributes with a similar name were found. Our security system is concerned. If you continue to have import errors, your account will be suspended until a human can talk to you.
I tried again with import zipline.utils.factory:
InputRejected:
Importing zipline.utils.factory raised an ImportError. Did you mean to import zipline.utils.simfactory instead? Last warning! One more import error and your account will be suspended for security reasons until a human can talk to you.
So what's going on and what should I do instead?
Thanks