CTP (Chinese Futures Trading)

Integrates with Chinese futures markets through vnpy trading framework to provide real-time market data, account management, order execution, and position tracking for algorithmic trading and automated strategies in commodity and financial futures.

Category Libraries
Added Mar 28, 2026
Views 80

About

A server that provides access to Chinese futures trading through the vnpy trading framework and CTP gateway integration. Built by yanjiusheng431 using FastMCP and asyncio for thread-safe operations, it exposes tools for connecting to CTP brokers, querying account balances and positions, subscribing to market data, retrieving tick information, placing and canceling orders, and managing the complete trading lifecycle. The implementation uses vnpy's MainEngine and EventEngine architecture with proper serialization of trading objects and enum handling, making it useful for algorithmic trading systems, market data analysis, and automated trading strategies in Chinese commodity and financial futures markets.

Is this your product? Claim this listing with an email at your domain to post updates.

Share This Project

Embed Badge

Add this badge to your README:

[![Listed on AiList](https://hifriendbot.com/ai-list/badge/ctp-chinese-futures-trading.svg)](https://hifriendbot.com/ai-list/ctp-chinese-futures-trading/)
Listed on AiList

List Your Project

Join the directory Ai agents read. Free forever.

Submit Your Project