Home / Market & alternative data

qtpylib

Market & alternative data2,271 GitHub starsPython⏱ Archived, no longer maintained

Pythonic event-driven algorithmic trading library with backtesting and live trading

What it is

A Pythonic, event-driven algorithmic trading library supporting backtesting, paper, and live trading via Interactive Brokers. QTPyLib runs a continuously operating Blotter that captures tick, bar, and trade data into MySQL, and communicates with strategies over a ZeroMQ pub/sub architecture so multiple algos can share one market-data source. It offers order book, quote, time, tick, or volume based resolutions, built-in indicators, and asynchronous, non-blocking market data events, making it suitable for traders who want to focus on trading logic. The repository is archived and read-only on GitHub, so it is retained mainly for studying its shared market-data capture and multi-strategy design.

At a glance

Worth watchingOur rating, based on popularity, maintenance and how ready it is for real use.

Best forDevelopers
Used forBacktesting, Live trading
MarketsMulti-market
StackPython
Learning curveModerate learning curve
Practical valueHigh practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceArchived, 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 +4 , latest 2,271. Gaps mean no snapshot was taken that day.

In the author's words

Archived trading framework retained for studying shared market-data capture and multiple-strategy execution using ZeroMQ.

Open on GitHub ↗This week's trending toolsChinese page

Similar tools