ctpbee/ctpbee
简单易用的期货实盘ctp交易框架 observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 99
- Release rhythm 33
- Longevity 100
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: 207.5
- age_days: 2573
- days_rel: 232
- days_push: 9
- n_releases_24m: 3
Adoption not part of the score
1010 stars · 238 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ctpbee is a Python micro-framework for live and backtested futures trading via the CTP interface used by Chinese futures exchanges. It wraps the CTP trading API with a simplified high-level API for order placement, position tracking, tick/kline data, and backtesting.
Use cases
- build a live futures trading bot on CTP
- backtest multi-timeframe multi-contract futures strategies
- subscribe to real-time tick data and generate klines
- place buy/sell open and close orders programmatically
- track position P&L for futures accounts
- extend a trading core with a plugin system
When to choose
- you trade Chinese futures via CTP and want a lightweight Python framework
- you need both live trading and backtesting in one small core
- you find vnpy too heavy and want simpler installation and API
When to avoid
- you need stock, crypto, or non-CTP markets
- you want a full GUI trading platform
- you need guaranteed production support or a large community
Facets
framework · maturity active
trading sdk plugin-system cli fintech developer-tools windows python cli ctp futures-trading quant microframework backtesting market-data china-futures quantitative-trading automation linux macos
2 sources
- readme: https://github.com/ctpbee/ctpbee · fetched 2026-08-28 · b9ae7efcda83
- registry_pypi: https://pypi.org/pypi/ctpbee/json · fetched 2026-08-29 · 545ffc68ecf1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ctpbee/ctpbee | main | 76 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem