![]() ![]() Start_date = datetime(2000, 1, 1, tzinfo=pytz.UTC)Įnd_date = datetime(2015, 12, 31, tzinfo=pytz.UTC)ĭata_frequency = 'daily', bundle='quandl' Label='Exposure', linestyle='-', linewidth=1.0)Īx.plot(perf, label='Returns', linestyle='-.', linewidth=1.0) Order_target_percent(context.stock, stock_weight)Īx.semilogy(perf, linestyle='-', # This ensures that our graphs will be shown properly in the notebook.įrom zipline.api import order_target_percent, symbolĮquities_hist = data.history(context.stock, "close", (I'm running the code on python 3.8 with Jupyter notebook) Thanks in advance for any help. ![]() ![]() I've ingested the Quandl bundle with different API keys and tried to use a different environment, but nothing seems to help. The error message seems to refer to installation problems with the zipline library. I've tried this code from the book Trading Evolved, but could not get it working. ![]()
0 Comments
Leave a Reply. |