Tools · SPBoucher
Menu

Zipline Reloaded

by Stefan Jansen (ML4Trading) · Library · also known as zipline, Zipline (Quantopian)

Community-maintained fork of Quantopian's Zipline, an event-driven Python backtester with data bundles and the Pipeline API

Apache-2.0 licenseOpen sourceFreeLocalSelf-hostable

Overview

Zipline Reloaded is the maintained continuation of Zipline, the event-driven backtesting library originally built by Quantopian, now developed by Stefan Jansen alongside the Machine Learning for Trading book. Strategies are written as Python modules with initialize and handle_data functions; the engine replays bar data through a simulated broker with slippage and commission models and produces a daily performance record. Data is loaded through bundles that ingest CSVs or vendor feeds into a local store, and the Pipeline API computes cross-sectional factors over a universe each day. It is a self-hosted library with no bundled data, so users must source and ingest prices themselves and keep calendars and adjustments in order. It does not include live trading, and its design centres on daily or minute US-equity style data rather than tick-level simulation.

Capabilities

  • Event-driven backtests with configurable slippage and commission
  • Data bundles for ingesting CSV or vendor data
  • Pipeline API for cross-sectional factor computation
  • Trading calendars for multiple exchanges
  • Daily performance and transaction records as pandas objects

Typical workflows

  1. Ingest a CSV bundle, run a factor strategy and analyze results with pyfolio-style tools
  2. Reproduce book examples from Machine Learning for Trading

Strengths

  • Permissive Apache-2.0 license
  • Well-documented event-driven model
  • Works offline with your own data

Limitations

  • No bundled market data; ingestion is the user's job
  • No live trading support
  • Oriented to daily and minute bars rather than tick data

Prerequisites

  • Python environment
  • Historical price data to ingest

Who it is for

  • Quantitative finance learners
  • Researchers wanting an auditable local backtester

Alternatives & comparison

vectorbt trades the event loop for vectorized arrays; QuantConnect's LEAN is also event-driven but ships with data and live routing as a hosted service.

  • QuantConnect

    Algorithmic trading platform built on the open-source LEAN engine, with cloud backtesting, research notebooks and brokerage-connected live trading

    MixedFreemium
  • vectorbt

    Python library for vectorized backtesting and portfolio analysis built on pandas, NumPy and Numba, with a commercial PRO edition

    Source-availableFree
Compare Zipline Reloaded with its alternatives →

Sources & verification

Primary sources consulted for this record. Claims are tied to the fields each source supports; the automated link checker re-verifies every URL on a schedule.

  • License
    LICENSE (Apache 2.0)

    https://github.com/stefan-jansen/zipline-reloaded/blob/main/LICENSE

    Supports: license_spdx

    checked Nov 1, 2026
  • Official site
    Zipline Reloaded documentation

    https://zipline.ml4trading.io/

    Supports: name, summary, capabilities

    checked Nov 1, 2026
  • Package registry
    zipline-reloaded on PyPI

    https://pypi.org/project/zipline-reloaded

    Supports: interfaces

    checked Nov 1, 2026
  • Repository
    stefan-jansen/zipline-reloaded

    https://github.com/stefan-jansen/zipline-reloaded

    Supports: product_status, languages

    checked Nov 1, 2026
Confidence
High
Reviewed
Nov 1, 2026
Links
Broken · Nov 2, 2026

Spotted an error?

Broken link, outdated license, wrong category, or a tool that no longer exists? Tell us; reports are reviewed by the editor.

Interactive Brokers API

Interactive Brokers LLC · Financial analysis & investing

In-depth entry

Programmatic trading and market-data access to Interactive Brokers accounts through the TWS API, the REST-based Web API and FIX

ProprietaryUsage-basedPaidLocalRedirected

QuantLib

QuantLib project (Luigi Ballabio and contributors) · Financial analysis & investing

In-depth entry

Open-source C++ library for quantitative finance covering instruments, term structures, pricing engines and calendars, with Python and other bindings

BSD-3-ClauseOpen sourceFreeLocalNov 2, 2026

Alpaca

Alpaca (AlpacaDB, Inc.) · Financial analysis & investing

API-first US brokerage offering a Trading API, Market Data API and Broker API for stocks, ETFs, options and crypto, with paper trading

Apache-2.0FreemiumUsage-basedNov 2, 2026

Kraken API

Payward, Inc. (Kraken) · Financial analysis & investing

REST, WebSocket and FIX interfaces to the Kraken cryptocurrency exchange for market data, spot and derivatives trading and account management

ProprietaryFreeUsage-basedNov 2, 2026

PyPortfolioOpt

Robert Andrew Martin and contributors · Portfolio & wealth management

Python library for portfolio optimization: efficient frontier, Black-Litterman, hierarchical risk parity and discrete allocation

MITOpen sourceFreeLocalNov 2, 2026

Riskfolio-Lib

Dany Cajas · Portfolio & wealth management

Python library for quantitative portfolio optimization with many risk measures, robust estimators and hierarchical clustering models

BSD-3-ClauseOpen sourceFreeLocalNov 2, 2026