As
mentioned on their website Zipline
is a Pythonic algorithmic trading library. It is an event-driven
system that supports both backtesting and live-trading.
Zipline is currently used in production as the backtesting and live-trading engine powering Quantopian – a free, community-centered, hosted platform for building and executing trading strategies.
I found installing zipline pretty difficult to install because of its dependencies of older versions of libraries like numpy, scipy, numexpr etc.
These are the steps it took me to finally get going
Zipline is currently used in production as the backtesting and live-trading engine powering Quantopian – a free, community-centered, hosted platform for building and executing trading strategies.
I found installing zipline pretty difficult to install because of its dependencies of older versions of libraries like numpy, scipy, numexpr etc.
These are the steps it took me to finally get going
1.
sudo apt-get install liblapack-devThis
ensures that your lapack/blas dependencies are taken care of which is
required by scipy2.
sudo apt-get install libamd2.2.0 libblas3gf libc6 libgcc1 libgfortran3 liblapack3gf libumfpack5.4.0 libstdc++6 build-essential gfortran python-all-dev libatlas-base-devThis
would ensure that you now have a fortran compiler on your system for
the dfftpack in scipy3.
sudo pip install ziplineThis
will finally install zipline along with all its dependenciesHave
a go at it.