An open-source, low-latency trading execution system for quantitative traders, supporting Python and C++ strategies.
Kungfu is an open-source trading execution system built for quantitative traders. It provides a low-latency platform for developing and running algorithmic trading strategies, with support for real-time data handling and post-trade analysis. The system is designed to connect to various trading gateways, starting with a reference implementation for the XTP gateway in China.
Quantitative traders, algorithmic trading developers, and financial institutions needing a customizable, high-performance execution system for equities and futures markets.
Developers choose Kungfu for its combination of ultra-low latency (microsecond response), flexible multi-language strategy support (Python/C++), and a modern graphical interface that simplifies operations without sacrificing power for advanced users.
Your agents don’t hand off the work. Kungfu keeps the same Work moving across Codex, Claude, OpenCode, and your own execution surface.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Delivers microsecond-level system response and nanosecond-precision time-series data storage via the Yijinjing component, crucial for high-frequency trading strategies.
Allows strategy development in both Python 3 and C++, with built-in support for numpy and pandas, enabling complex data analysis and computation.
Provides a cross-platform GUI using Electron and Vue.js, simplifying strategy management while offering a headless API for automated operations.
Compiles and runs on Windows, macOS, and Linux, ensuring flexibility across different trading environments.
Requires a specific toolchain including C++20 compiler, cmake, Node.js, yarn, Python 3, and pipenv, with manual cleanup of temporary files, making initial installation challenging.
The open-source version only includes a reference implementation for the XTP gateway; additional gateways require purchasing the standard version or custom development, limiting immediate usability.
Primary documentation is hosted externally and may be primarily in Chinese, which could pose challenges for non-Chinese speaking developers seeking detailed guidance.