Trading at light speed: designing low latency systems in C++ – David Gross – Meeting C++ 2022

Trading at light speed: designing low latency systems in C++ - David Gross - Meeting C++ 2022

[vc_row full_width=”stretch_row”][vc_column][vc_column_text]

Making a trading system “fast” cannot be an afterthought. While low latency programming is sometimes seen under the umbrella of “code optimization”, the truth is that most of the work needed to achieve such latency is done upfront, at the design phase. How to translate our knowledge about the CPU and hardware into C++? How to use multiple CPU cores, handle concurrency issues and cost, and stay fast?

[/vc_column_text][vc_video link=”https://youtu.be/8uAW5FQtcvE” el_width=”90″ align=”center”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]

Key takeaways:

  1. Importance of Low Latency in Trading Systems: Low latency is crucial in automated trading due to the high volume of trades and the need to respond quickly to market changes. For instance, if a significant market event occurs, it’s necessary to cancel buy orders immediately to avoid losses.

  2. Designing for Performance: Performance should be a primary consideration from the beginning of the system design process. While premature optimization can lead to unnecessary complexity, considering performance from the outset is essential in the overall design strategy.

  3. Strategy vs Tactics in System Design: Strategy refers to the overall approach to meet a goal, such as handling a million events per second or reacting to a certain event within a specific latency distribution. Tactics, on the other hand, refer to individual actions or implementation details. While premature optimization (tactics) can be detrimental, considering performance from the beginning (strategy) is essential.

  4. Building Blocks of Low Latency Systems: Four main topics are crucial in building low latency systems: data model access, system tuning, eventuality, and performance measurement. These topics provide a roadmap for designing and implementing a low latency trading system.

  5. Evolution of Exchange Speeds: Exchange speeds in financial markets have evolved, with the current focus on achieving microsecond-level latencies. This highlights the increasing demand for speed in financial markets and the need for trading systems to keep up with this trend.

  6. Trigger to Target Latency: “Trigger to target latency” is a concept used to measure the speed of trading systems. It refers to the time from when the exchange sends an event to market participants (the trigger) to when any market participant sends an order back (the target). This is a key performance indicator in the world of automated trading.

[/vc_column_text][/vc_column][/vc_row]

I help financial institutions architect high-frequency trading systems that are fast, stable, and profitable.

I have operated on both the Buy Side and Sell Side, spanning traditional asset classes and the fragmented, 24/7 world of Digital Assets.
I lead technical teams to optimize low-latency infrastructure and execution quality. I understand the friction between quantitative research and software engineering, and I know how to resolve it.

Core Competencies:
â–¬ Strategic Architecture: Aligning trading platforms with P&L objectives.
â–¬ Microstructure Analytics: Founder of VisualHFT; expert in L1/L2/LOB data visualization.
â–¬ System Governance: Establishing "Zero-Failover" protocols and compliant frameworks for regulated environments.

I am the author of the industry reference "C++ High Performance for Financial Systems".
Today, I advise leadership teams on how to turn their trading technology into a competitive advantage.

Key Expertise:
â–¬ Electronic Trading Architecture (Equities, FX, Derivatives, Crypto)
â–¬ Low Latency Strategy & C++ Optimization | .NET & C# ultra low latency environments.
â–¬ Execution Quality & Microstructure Analytics

If my profile fits what your team is working on, you can connect through the proper channel.

One thought on “Trading at light speed: designing low latency systems in C++ – David Gross – Meeting C++ 2022

  1. This is a great article about low latency systems in C++, which is essential for automated trading. The article does a good job of explaining the importance of low latency in trading systems, as well as the key design principles for achieving low latency. I particularly liked the discussion of the four building blocks of low latency systems: data model access, system tuning, eventuality, and performance measurement. This provides a clear roadmap for designing and implementing a low latency trading system.

Leave a Reply

Your email address will not be published. Required fields are marked *