Installing Zipline on Colab

If you’re using Zipline for portfolio analysis you may be wondering how to get it installed in Google Colab which is running Ubuntu 18.04. Here are the commands.

!wget -qO libta.deb
!wget -qO ta.deb
!dpkg -i libta.deb ta.deb
!pip install ta-lib
import talib
!pip install zipline-reloaded
!pip install pyfolio

%env QUANDL_API_KEY=<your key>
!zipline ingest -b quandl

Facebook Comments Box

Leave a Reply