Home / Backtesting & trading frameworks

zipline

Backtesting & trading frameworks20,281 GitHub starsPython⏱ No commits in over six months

Pythonic event-driven backtesting library for trading algorithms

What it is

A Pythonic algorithmic trading library providing an event-driven system for backtesting. Users write algorithms in Python and can access common statistics like moving averages and linear regression directly from within their code, with input and output based on Pandas DataFrames for integration into the PyData ecosystem. Libraries such as matplotlib, scipy, statsmodels, and sklearn can be used for analysis and visualization. Installation is somewhat more involved than a typical Python package, so consulting the install documentation is recommended.

At a glance

Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.

Best forProfessional quants
Used forBacktesting, Strategy research
MarketsUS equities, Multi-market
StackPython
Learning curveSteep learning curve
Practical valueMedium practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceNo commits in over six months

Popularity snapshots

Daily snapshots of GitHub stars. Star changes are not a count of users or usage. Snapshots since 2026-11-02 (up to 30 days): first-to-last change +94 , latest 20,281. Gaps mean no snapshot was taken that day.

In the author's words

Pythonic algorithmic trading library.

Open on GitHub ↗This week's trending toolsChinese page

Similar tools