Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
C++ High Performance for Financial Systems

You're reading from  C++ High Performance for Financial Systems

Product type Book
Published in Mar 2024
Publisher Packt
ISBN-13 9781805124528
Pages 316 pages
Edition 1st Edition
Languages
Author (1):
Ariel Silahian Ariel Silahian
Profile icon Ariel Silahian

Table of Contents (10) Chapters

Preface 1. Chapter 1: Introducing C++ in Finance and Trading 2. Chapter 2: System Design and Architecture 3. Chapter 3: High-Performance Computing in Financial Systems 4. Chapter 4: Machine Learning in Financial Systems 5. Chapter 5: Scalability in Financial Systems 6. Chapter 6: Low-Latency Programming Strategies and Techniques 7. Chapter 7: Advanced Topics in Financial Systems 8. Index 9. Other Books You May Enjoy

Implementing the Model and Strategy modules

This module is the brain of the system, responsible for making trading decisions based on real-time market data. The Strategy module continuously reads the market data from the LOB, applies various trading strategies, and triggers orders when certain criteria are met. The implementation of this module requires careful design and optimization to ensure low latency and high throughput, which are critical for the success of high-frequency trading.

In our proposed architecture, the Strategy module is designed as a separate module that operates concurrently with the LOB and other modules of the system. It communicates with the LOB through a ring buffer, which is a lock-free data structure that allows efficient and concurrent access to market data. The Strategy module continuously polls the ring buffer in a busy waiting loop, ensuring that it can immediately process new market data as soon as it arrives.

To further optimize the performance...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}