July 14, 2026
Ticked Off: Backtest Battle
Building a High-Performance C++ Backtesting Framework
Wall Street coders get a speed boost, but the comments immediately turned into a nerd fight
TLDR: DolphinDB says trading firms can make their existing C++ testing systems faster and more realistic without rebuilding everything. Commenters were not ready to clap, arguing the real problem is still reconstructing the market step by step — and one even roasted how little C++ shows up in the wider trading canon.
A new tutorial is pitching a very specific fantasy to trading firms: don’t rebuild your giant old system, just bolt on a faster engine. The idea is simple enough for non-finance people: if you test stock-trading ideas on old market data, you want the replay to feel as close to the real market as possible. DolphinDB says its add-on can plug into existing C++ setups and simulate who would actually get filled first, at what price, and under what market conditions — all without forcing teams to throw out years of code.
But the real fireworks were in the comments, where readers instantly swerved from “cool tool” to “hold on, does this even solve the hard part?” One skeptic, jimaway123, basically asked the question hanging over the whole pitch: if you still have to rebuild the order book — the running state of buy and sell orders — from every market update since the opening bell, then how magical is the database angle really? In other words: is this a rocket ship, or just a very shiny storage closet?
Then came the classic internet flex. westurner wandered in with a link dump and a low-key drag, pointing out that a popular systematic trading list barely mentions C++. Translation: the language choice itself became part of the drama. The vibe was less “thanks for the tutorial” and more “prove this isn’t just expensive wizard cosplay for quants.”
Key Points
- •The article describes a tutorial for integrating DolphinDB’s Order Matching Simulator Plugin into existing C++ backtesting systems rather than rebuilding them from scratch.
- •It presents two integration methods for a unified event-driven C++ framework: the Swordfish library and the DolphinDB C++ API.
- •The article says this approach is designed for low-latency, high-throughput backtesting and is suited to medium- and high-frequency strategy simulation, including algorithmic trading and market making.
- •DolphinDB’s simulator is described as supporting Level-2 tick-by-tick and snapshot data from the Shanghai and Shenzhen stock exchanges with matching based on price priority and time priority.
- •Swordfish is presented as a high-performance financial computing library, while the DolphinDB C++ API is presented as a bridge for data transfer and remote script execution between C++ clients and DolphinDB servers.