Home / Backtesting & trading frameworks
pyalgotrade
Archived event-driven Python algorithmic trading and backtesting library
What it is
A deprecated event-driven algorithmic trading library that supports backtesting as well as paper and live trading through Bitstamp for Bitcoin. It handles market, limit, stop, and stop-limit orders, ingests CSV time-series data, and includes technical indicators, Sharpe ratio and drawdown metrics, an event profiler, and TA-Lib integration. Traders studying classic backtesting broker and order-execution models will find its source code useful as a reference. The project is archived and read-only on GitHub, with no maintenance, and it was developed for Python 2.7/3.7.
At a glance
Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Developers |
|---|---|
| Used for | Backtesting, Live trading |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Moderate learning curve |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | Archived, no longer maintained |
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 +5 , latest 4,682. Gaps mean no snapshot was taken that day.
Archived event-driven trading library retained for studying its original backtesting broker and order-execution models.
Similar tools
Python algorithmic trading framework for backtesting and live trading
Backtrader fork with AI-assisted strategy tooling
Pythonic event-driven algorithmic trading library with backtesting and live trading
Async algorithmic trading engine with shared backtest and live code
Archived Python framework for backtesting and virtual-broker order simulation
Deploy backtested strategies to live or paper trading unchanged