tapedeck
A deterministic C++ market-data pipeline, from ITCH feed to backtest.
The problem
A backtest that gives a different answer on each run cannot be trusted, and most toy trading projects quietly peek at the future. I wanted a pipeline that is replayable bit for bit and honest about its results.
What I built
- A NASDAQ TotalView-ITCH 5.0 parser, fuzzed with libFuzzer.
- Order-book reconstruction kept separate from a match engine that fills simulated orders with queue position.
- An event-driven backtester with a lookahead oracle test, and bit-identical replays verified in CI.
- One costed order-flow signal evaluated on real NASDAQ data. The honest finding: the microprice signal does not survive the spread.
Stack
- C++20
- CMake presets
- Catch2
- libFuzzer
- ASan and UBSan
- GitHub Actions