Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

How to Install Quantopian Zipline in Windows

1 min read

Quantopian logo Quantopian, is a Boston-based algorithmic trading platform and Zipline is a Pythonic algorithmic trading library(Open Source). Quantiopian Zipline is currently used in production as the backtesting engine powering Quantopian.

Zipline comes “batteries included” as many common statistics like moving average and linear regression can be readily accessed from within a user-written algorithm. Zipline supports data import from Yahoo Finance too. You can get more info about Zipline here

Installation Guidelines for Setting up Python for the First time
httpv://www.youtube.com/watch?v=xVy6WYtq5go

 
How to Install PIP and Guidelines for Setting up Quantopian Zipline and its Dependencies
httpv://www.youtube.com/watch?v=GNyWM-alzoo

List of Required Dependencies

1)NumPy is a fundamental package needed for scientific computing with Python
2)SciPy is software for mathematics, science, and engineering.
3)Pandas is a cross-section and time series data analysis toolkit.
4)IPython is an interactive computing environment.
5)TA-Lib is a wrapper for the TA-LIB Technical Analysis Library.
6)Scikit-learn integrates classic machine learning algorithms.
7)Statsmodels provides classes and functions for the estimation of statistical models.
8)Zipline is a pythonic algotrading library.

Installation of TA-Lib, Scikit-learn, Statsmodels are not shown in the video for time constratint and you can download all the above Python Library Windows binaries here. And Zipline installation can be done using direct pip command.

pip install zipline

Other Dependencies which comes with Zipline Installation

1)Logbook
2)pytz
3)requests
4)six
5)python-dateutil

Dependenices for IPython and Matplotlib Installation

pyzmp, jinja2, tornado,pyparsing are some of the dependencies which are required for running IPython and you can use the pip command to install it.

pip install pyzmq
pip install jinja2
pip install tornado
pip install pyparsing

One the dependencies are installed go to Windows Powershell and enter to start IPython Notebook

ipython notebook –pylab inline

In the next video will try to come up with few more concepts on how to use quantiopian zipline in IPython Notebook Interactive computing environment.

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Getting Started with Google Colab

Google Colab also known as Google Colaboratory is a product from Google Research which allows user to run their python code from their browser...
Rajandran R
1 min read

Python Multi-Broker Library for Algomojo – Trade Automation

Presenting a functional python wrapper for algomojo trading api. Algomojo is a multi broker python library for the Algomojo Free API + Free Algo...
Rajandran R
1 min read

Hurst Exponent – Checking for Trend Persistance – Python…

Hurst exponent is originally developed by the famous hydrologist Harold Edwin Hurst to study the Long-Term Storage Capacity of Reservoirs. Hurst is developed to...
Rajandran R
1 min read

4 Replies to “How to Install Quantopian Zipline in Windows”

  1. hi

    can we have same type of vedio in perl ?
    i was a bit familiar with perl.python / jython never tried.

    this python can have a quandle package for data.can you extend this demo upto that level also?

    thx
    sayantan

    [NB:- i used to scare with its name as it is name of some reptile ]

    1. There are no much of open source libraries for a Backtesting Engine in Perl. Most of the Quant based development works happened with Python/R and there is one With .Net too (Quantconnect) where you can play around with quant algorithms.

  2. hi

    2ndly the komodo IDE is not free.we need a proper IDE.
    I can not remember the support matrix of netbeans although.
    but python/perl is very hectic with such stuff. tried before 2009.

    thx
    sayantan

    1. Why you need to go with Komodo IDE when you are able to solve with Ipython? Moreoever the license is free for open source lovers when comes to Komodo IDE too.

      Rajandran R

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More