Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

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). Quantopian Zipline is currently used in production as the backtesting engine powering Quantopian.

Zipline comes with “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

 
How to Install PIP and Guidelines for Setting up Quantopian Zipline and its Dependencies

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 Come with Zipline Installation

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

Dependencies 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

Once 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 Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

[Course] Building Stock Market Based Telegram Bots using Python

Learn how to build powerful Telegram bots for the stock market using Python. This hands-on course guides you through creating bots that fetch real-time...
Rajandran R
1 min read

Understanding Object-Oriented Programming (OOP) Concepts in Python for Traders…

For traders and investors, having well-structured code can greatly improve the efficiency and manageability of trading applications. Object-Oriented Programming (OOP) in Python offers a...
Rajandran R
3 min read

How I Built a Trader-Friendly Stock Market Dashboard using…

As both a developer and an avid market watcher, I set out to create a tool that could give traders and investors a clear,...
Rajandran R
2 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