Menu
  • Option Hydra
  • Training
  • Premium
  • Courses
  • Library

Marketcalls

Simply Intelligent Technical Analysis and Trading Strategies

  • Software
    • Amibroker
    • NinjaTrader 7
    • Ninjatrader 8
    • Option Action
    • Market Analyst
    • Metatrader
    • Python
    • Datafeed
  • Market Profile
    • Orderflow
  • Markets
  • Commodities
  • Forex
  • Economy
    • Banking
  • Webinars
  • Trading Lessons
    • Algo Trading
    • Infographic
    • Video
You are here: Home / Python / How to Install Quantopian Zipline in Windows

How to Install Quantopian Zipline in Windows

September 20, 2014 by Rajandran 4 Comments

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

 
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 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.

Related Readings and Observations

  • Quantcon 2015 – Workshop Videos In case if you missed the Quantcon 2015 a disruptive quant trading event, will break down the existing walls to algorithmic trading by giving you an inside look at tools and content sets. […]
  • How to Build Simple Metrics using Excel from Amibroker Backtesting ReportHow to Build Simple Metrics using Excel from Amibroker Backtesting Report Here is a video tutorial which explains how to make use of your Amibroker backtesting report by building simple metrics and visualize your trading strategy with MS Excel Pivot tables. Some […]
  • Buy at Today’s Close and Sell at Next day Open – Do Simple Trading Strategies Really Work? [Part2]Buy at Today’s Close and Sell at Next day Open – Do Simple Trading Strategies Really Work? [Part2] Do simple trading strategies really work in Indian Markets? This curiosity in me raised again, after looking into a simple backtest buy at today's close and sell at next day open which […]
  • Python For Trading 2-Day BootcampPython For Trading 2-Day Bootcamp Python has taken the data analytics space by storm – more so in the financial services space. With the rapid growth of data and ever-increasing need to process data faster and getting […]
  • Introduction to Backtesting a Trading System using AmibrokerIntroduction to Backtesting a Trading System using Amibroker Backtesting is a simple process which helps a trader to evaluate his trading ideas and provides information about how good the trading system performs on the given historical dataset. It […]
  • Kalman Filter and Unscented Kalman Filter AFL in Amibroker using Python ComServerKalman Filter and Unscented Kalman Filter AFL in Amibroker using Python ComServer In the last tutorial we explored Kalman filter and how to build kalman filter using pykalman python library. In this section we will be dealing with python com server to integrate […]

Filed Under: Python Tagged With: Backtesting, Python, Quantopian, Video Tutorial, Zipline, Zipline Windows Installation

About Rajandran

Rajandran is a Full time trader and founder of Marketcalls & Co-Founder of Traderscafe, trades mostly using discretionary Trading Concepts like Market Profile, Trading sentimental analysis, building timing models, algorithmic trading models. Instructs professional traders, full time traders & aspiring full time traders. Rajandran attended college in the Chennai where he earned a BE in Electronics and Communications. Rajandran has a broad understanding of trading softwares like Amibroker, Ninjatrader, Esignal, Metastock, Motivewave, Market Analyst(Optuma),Metatrader,Tradingivew,Python and understands individual needs of traders and investors utilizing a wide range of methodologies.

Comments

  1. sayantan chakraborty says

    September 20, 2014 at 4:02 pm

    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 ]

    Reply
    • Rajandran R says

      September 20, 2014 at 4:14 pm

      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.

      Reply
  2. sayantan chakraborty says

    September 20, 2014 at 4:09 pm

    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

    Reply
    • Rajandran R says

      September 22, 2014 at 4:30 pm

      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

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Email Newsletter

Sign up to receive email updates on latest trading strategies , analysis & financial market updates

We Respect Your Privacy

Premium Access

Username:
Password:
Remember Me
Lost your password?

Tools For Traders

  • Marketcalls Android App
  • MCX Signals
  • Intraday Signals
  • International Commodities
  • OI Tracker
  • Participation OI
  • Your Broker
  • Market Sentiment Analysis

Amibroker Updates

Code Snippet: ATM Call and ATM Put calculation from Spot Prices: Amibroker AFL

December 10, 2019 By Rajandran 2 Comments

Volatile Phases – Colorful ADX Amibroker AFL Code

November 16, 2019 By Rajandran 4 Comments

Amibroker Technical Analysis Workshop – Bangalore

November 1, 2019 By Rajandran 2 Comments

How to Send Alerts from Amibroker to Telegram Channel using Telgram API

June 12, 2019 By Rajandran 15 Comments

How to Estimate the VWAP based settlement Close like a Pro using Amibroker?

June 9, 2019 By Rajandran Leave a Comment

  • Facebook
  • Google+
  • LinkedIn
  • RSS
  • Twitter
  • YouTube

Metatrader Updates

MetaTrader 5 Demo Servers Now Available for BSE Currency Markets

March 20, 2018 By Rajandran 8 Comments

ChartIQ – WebTrader for MT4

December 4, 2017 By Rajandran 5 Comments

Metatrader 4 – Web Platform Overview

October 29, 2015 By Rajandran 9 Comments

William VIX FIX Indicator for Metatrader 4

May 16, 2015 By Rajandran 9 Comments

How to Install Custom MQL4 indicators in Metatrader

November 14, 2014 By Rajandran 7 Comments


About | Contact Us | Terms and Conditions | Privacy Policy | Support Policy | Privacy Policy | Refund Policy | Disclaimer


© Copyright 2018 Marketcalls Financial Services Pvt Ltd · All Rights Reserved · And Our Sitemap · All Logos & Trademark Belongs To Their Respective Owners·

Data and information is provided for informational purposes only, and is not intended for trading purposes. Neither marketcalls.in website nor any of its promoters shall be liable for any errors or delays in the content, or for any actions taken in reliance thereon.