Home / Backtesting & trading frameworks

zipline

Backtesting & trading frameworks★ 20,146 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

GitHub stars, last 30 days

Daily snapshots since 2026-09-12 (up to 30 days): +56 over the period, now 20,146. Gaps mean no snapshot was taken that day.

In the author's words

Pythonic algorithmic trading library.

Open on GitHub ↗This week's trending tools中文页面

Similar tools