Home / Backtesting & trading frameworks
zipline
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 for | Professional quants |
|---|---|
| Used for | Backtesting, Strategy research |
| Markets | US equities, Multi-market |
| Stack | Python |
| Learning curve | Steep learning curve |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | No 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.
Pythonic algorithmic trading library.
Similar tools
Event-driven backtesting engine for Python trading algorithms
Vectorized Python backtesting and strategy research toolkit
AI-oriented quantitative investment platform with full ML pipeline
Iterative trading strategy research framework with walk-forward testing
Research framework for RL-enhanced Avellaneda-Stoikov market making
Lightweight deep reinforcement learning framework for portfolio management