ranaroussi/qtpylib
QTPyLib, Pythonic Algorithmic Trading observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3667
- days_rel: n/a
- days_push: 1806
- n_releases_24m: 0
Adoption not part of the score
2267 stars · 517 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
QTPyLib is an event-driven algorithmic trading library in Python supporting backtesting, paper, and live trading via Interactive Brokers. It captures tick/bar/trade market data into MySQL and uses ZeroMQ pub/sub to connect a central blotter with multiple running algos.
Use cases
- backtest trading strategies in python
- live trade with interactive brokers api
- capture and store tick and bar market data
- build event-driven algo trading bots
- compute technical indicators in strategies
- run multiple algos sharing one market data feed
When to choose
- you trade through Interactive Brokers and want a Pythonic strategy framework
- you need integrated backtesting plus live/paper trading in one library
- you want market data persisted to a database for later analysis
When to avoid
- you need crypto or forex broker integrations beyond Interactive Brokers
- you require actively maintained software - the latest release is from 2021
- you want a GUI-based trading platform rather than a code library
Facets
library · maturity maintenance
trading streaming database message-queue fintech python windows algo-trading interactive-brokers backtester event-driven zeromq talib market-data backtesting algorithmic-trading quantitative-finance data-engineering linux macos
3 sources
- readme: https://github.com/ranaroussi/qtpylib · fetched 2026-08-28 · d6ec6d6decf3
- homepage: http://qtpylib.io · fetched 2026-08-29 · 26b5b1874ac5
- registry_pypi: https://pypi.org/pypi/qtpylib/json · fetched 2026-08-29 · ee9e7056999f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ranaroussi/qtpylib | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="ranaroussi/qtpylib")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem