Zipline - A Pythonic Algorithmic Trading Library

  •        277

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.Note: Installing Zipline via pip is slightly more involved than the average Python package. Simply running pip install zipline will likely fail if you've never installed any scientific Python packages before.

  • Ease of use: Zipline tries to get out of your way so that you can focus on algorithm development. See below for a code example.
  • Zipline comes "batteries included" as many common statistics like moving average and linear regression can be readily accessed from within a user-written algorithm.
  • Input of historical data and output of performance statistics are based on Pandas DataFrames to integrate nicely into the existing PyData eco-system.
  • Statistic and machine learning libraries like matplotlib, scipy, statsmodels, and sklearn support development, analysis, and visualization of state-of-the-art trading systems.

http://www.zipline.io/
https://github.com/quantopian/zipline

Tags
Implementation
License
Platform

   




Related Projects

alphalens - Performance analysis of predictive (alpha) stock factors


Alphalens is a Python Library for performance analysis of predictive (alpha) stock factors. Alphalens works great with the Zipline open source backtesting library, and Pyfolio which provides performance and risk analysis of financial portfolios.Check out the example notebooks for more on how to read and use the factor tear sheet.

Pyfolio - Portfolio and risk analytics in Python


pyfolio is a Python library for performance and risk analysis of financial portfolios developed by Quantopian Inc. It works well with the Zipline open source backtesting library.Also see slides of a talk about pyfolio.

algostock - Machine learning stock trading naive experiences


Machine learning stock trading naive experiences

stocker - A work-in-progress algorithmic stock-trading simulation console built in Angular


A work-in-progress algorithmic stock-trading simulation console built in Angular

StockSharp


????????? ??? ???????? ??????? - http://stocksharp.com/



TradeTools - Ruby framework and application for financial stock analysis and trading.


Ruby framework and application for financial stock analysis and trading.

IBCSharp


IBCSharp consists of an improved version of Karl Schulze's Interactive Brokers C# API, a WinForms C# algorithmic daytrading program, and a WinForms C# long term trading program.

EclipseTrader


Stock exchange analysis system, featuring shares pricing watch, intraday and history charts with technical analysis indicators, level II/market depth view, news watching, automated trading systems, integrated trading. Based on Eclipse RCP framework.

ms-algorithmic-trading-application-mcgill-codejam


"Team Gredona" submission for McGill Code Jam 2012. Platform for testing out low-latency trading strategies on electronic exchanges. Handles trading, scheduling, and reporting for Morgan Stanley Electronic Trading group . Optimized to minimize latency.

bitfinex - Bitcoin trading scripts written in Python


Open source ripped and changed from Original Author: jndok Python scripts for the Bitfinex Bitcoin exchange. Open sourced development and learning about algorithmic trading on the Bitcoin market.

Open Java Trading System


The Open Java Trading System (OJTS) is meant to be a common infrastructure to develop (stock) trading systems. There are four parts: gathering of raw data over the internet, recognition of trading signals, a visualisation module and trading with banks.

js-trading-simulator - Built a stock trading simulator using mostly JavaScript and some jQuery


Built a stock trading simulator using mostly JavaScript and some jQuery

Merchant of Venice


Venice is a stock market trading programme that supports portfolio management, charting, technical analysis, paper trading and genetic programming. Venice runs in a graphical user interface with online help and has full documentation.

Stock-Analysis - A Stock Analysis Framework based on model for machine learning practice.


A Stock Analysis Framework based on model for machine learning practice.

Algorithmic Trading


Algorithmic Trading implementation

algotradelib - Algorithmic Trading Framework


Algorithmic Trading Framework

holygrail - Code potentially useful for algorithmic trading in general


Code potentially useful for algorithmic trading in general

onTSLab - The algorithmic trading framework for TSLab.


The algorithmic trading framework for TSLab.

playtrader - An algorithmic trading application using the Play framework & Scala


An algorithmic trading application using the Play framework & Scala

TradingProject - Backend for future algorithmic trading project


Backend for future algorithmic trading project