openctp/openctp
openctp提供CTP股票期权、中泰证券XTP、华鑫证券奇点TORA、东方证券OST、东方财富证券EMT、盈透证券TWS、易盛TAP、量投QDP等各通道的CTPAPI兼容接口,CTP程序可以无缝对接各股票柜台。openctp也提供了一套基于TTS交易系统的模拟环境,同样提供了CTPAPI兼容接口,不仅支持国内期货与期权全品种,也支持A股股票、基金、债券以及股票期权模拟交易,可以替代Simnow,为CTP量化交易开发者提供7x24可用的模拟环境。 observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 95
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1853
- days_rel: n/a
- days_push: 35
- n_releases_24m: 0
Adoption not part of the score
2910 stars · 593 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
openctp is a CTPAPI-compatible interface layer and trading platform ecosystem for Chinese futures and securities markets. It wraps broker counter APIs (XTP, TORA, EMT, OST, TAP, QDP, TWS, etc.) behind the standard CTPAPI so CTP programs can switch counters by replacing two DLLs, and provides a 7x24 TTS-based simulated trading environment as a SimNow replacement.
Use cases
- connect a CTP-based trading program to XTP, TORA, EMT or other broker counters without code changes
- get a 7x24 available simulated trading environment to replace SimNow
- paper trade Chinese futures, options, A-shares, funds and bonds via CTPAPI
- use CTPAPI bindings from Python, Java, Go, Rust or C# for quant development
- query market reference data for futures and options via a RESTful data center
- test trading strategies against a simulation environment before live deployment
When to choose
- you develop CTP quant trading tools for Chinese futures or stock markets and need counter portability
- you need a reliable 24/7 mock trading backend for developing or validating CTPAPI programs
- you want CTPAPI bindings in a language other than C++
When to avoid
- you trade non-Chinese markets or need FIX/REST APIs unrelated to CTP
- you need a full production brokerage system rather than client-side API adapters and simulation
- you require guaranteed official vendor support for broker counter interfaces
Facets
library · maturity active
sdk trading api-framework developer-tools fintech apis developer-tools windows cpp python go rust jvm dotnet ctp ctpapi futures-trading simnow tts quant-trading brokerage-apis simulated-trading chinese-markets command-line linux
2 sources
- readme: https://github.com/openctp/openctp · fetched 2026-08-28 · 37f6bee26b73
- homepage: http://www.openctp.cn · fetched 2026-08-29 · 5befde856e43
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openctp/openctp | main | 75 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem