Discover and explore top open-source AI tools and projects—updated daily.
ctpbeePython framework for futures trading and backtesting
Top 36.9% on SourcePulse
A lightweight, yet powerful, futures trading framework designed for developers. CTPbee simplifies the integration and use of the CTP API, enabling rapid development of trading strategies, backtesting, and live trading. It targets individual traders and developers looking for a streamlined, extensible platform to build and deploy quantitative trading systems.
How It Works
CTPbee provides a micro-core trading engine with encapsulated APIs, drawing inspiration from vnpy's trading interfaces. It focuses on simplifying installation and offering a quick path to implementing trading functionalities. The framework supports a plugin system (ToolRegister) for data access and trigger mechanisms, allowing for customization and extension. It handles core trading operations, position management, P/L calculations, and integrates with multiple trading interfaces like CTP, CTP Mini, Rohon, and OpenCTP.
Quick Start & Requirements
pip3 install ctpbeebee init-locale --password xxxxx is required (needs sudo). macOS users may need to install ctpbee_api from source.Highlighted Details
Maintenance & Community
Project maintenance is irregular, as it is primarily a hobby project. Users encountering issues are directed to submit issues on GitHub or search existing ones. Technical support can be sought via email at somewheve@gmail.com. Contributions from developers are welcomed.
Licensing & Compatibility
Licensed under the MIT License. This permissive license generally allows for commercial use and integration into closed-source projects without significant restrictions.
Limitations & Caveats
The project does not provide direct historical data access services. Maintenance is irregular, and users are advised to use the code with caution, as the author disclaims responsibility for any usage consequences. macOS users require manual installation of ctpbee_api from source.
2 weeks ago
Inactive
jamesmawm