HFTCODE.COM
HFT Starter Kit— C++20 & Python Market Data Engineering Starter Kit
HFT Starter Kit— C++20 & Python Market Data Engineering Starter Kit
Couldn't load pickup availability
Learn market-data engineering by following the same pipeline in C++20 and Python
hftkit is an offline educational starter kit for developers who want to understand how market-data parsing, validation, buffering, rolling statistics, and reproducible output fit together. Follow a dataset from generation to canonical JSON, compare the two implementations, and explore the engineering trade-offs behind each stage.
Watch the video
What the kit covers
- Paired C++20 and Python source-code implementations of a deterministic market-data processing pipeline.
- Seeded data generation, row validation, duplicate detection, and out-of-order handling.
- Bounded ring buffers, visible queue-drop counters, and per-instrument rolling statistics.
- Integer-based VWAP and standard deviation, with reproducible summary output.
- v1.1 C++ two-thread SPSC replay, asynchronous logging, and binary input support. Optional Parquet support is Python-only and requires pyarrow.
- Command-line generation, replay, and benchmarking tools, plus output-comparison and test tooling.
- An offline interactive web showcase, with optional local execution mode.
- A handbook covering setup, architecture, code walkthroughs, benchmarking, troubleshooting, exercises, and terminology, plus an architecture overview and code review.
Who it is for
Python developers learning modern C++ and engineers exploring reproducible market-data systems. Familiarity with Python modules, modern C++, shell commands, and CMake is recommended.
Requirements and compatibility
The core Python and C++ implementations use their standard libraries. Building the C++ component requires a C++20 compiler and CMake 3.20 or newer. The handbook reports author-tested Windows 11, Python 3.14.3, and Visual Studio 2022/MSVC setup. Other platforms and older supported Python versions are not independently verified in the supplied handbook.
Educational scope
This is a learning and research kit, not a production trading system. It includes no live market feeds, broker connections, order routing, trading signals, backtests, or profit claims. Benchmark results measure local pipeline throughput, not guaranteed microsecond or wire-to-wire latency. Not financial advice.
Digital product. No physical item is shipped.
Share
