Registry / networking / ctp
library6.6.1_P1_20210406_sevcpkgunverified

The Comprehensive Transaction Platform (CTP) is a future brokerage management system developed specially for futures companies. CTP API client library allows users to connect to CTP gateway for algorithmic trading.

vcpkg install ctp
INSTALL
IMPORT
SIG · CTP
C
ctp
networkingcppv6.6.1_P1_20210406_se
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ThostFtdcMdApi.h
#include <ThostFtdcMdApi.h>

Create and query CTP market data API version

#include <ThostFtdcMdApi.h> #include <iostream> int main() { CThostFtdcMdApi* pMdApi = CThostFtdcMdApi::CreateFtdcMdApi(); std::cout << "CTP API version: " << pMdApi->GetApiVersion() << std::endl; pMdApi->Release(); return 0; }
Debug
Known issues
breakingCTP API is platform-specific and requires specific compiler versions (e.g., MSVC 2019 on Windows).
fix
Ensure you use the exact compiler version recommended by the CTP provider.
affects: *
Upgrade
Version history
6.6.1_P1_20210406_selatest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources

No resource links recorded.

ctp — pip install ctp · libregistry