Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Developing High-Frequency Trading Systems

You're reading from   Developing High-Frequency Trading Systems Learn how to implement high-frequency trading from scratch with C++ or Java basics

Arrow left icon
Product type Paperback
Published in Jun 2022
Publisher Packt
ISBN-13 9781803242811
Length 320 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (3):
Arrow left icon
Sebastien Donadio Sebastien Donadio
Author Profile Icon Sebastien Donadio
Sebastien Donadio
Sourav Ghosh Sourav Ghosh
Author Profile Icon Sourav Ghosh
Sourav Ghosh
Romain Rossier Romain Rossier
Author Profile Icon Romain Rossier
Romain Rossier
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Part 1: Trading Strategies, Trading Systems, and Exchanges
2. Chapter 1: Fundamentals of a High-Frequency Trading System FREE CHAPTER 3. Chapter 2: The Critical Components of a Trading System 4. Chapter 3: Understanding the Trading Exchange Dynamics 5. Part 2: How to Architect a High-Frequency Trading System
6. Chapter 4: HFT System Foundations – From Hardware to OS 7. Chapter 5: Networking in Motion 8. Chapter 6: HFT Optimization – Architecture and Operating System 9. Chapter 7: HFT Optimization – Logging, Performance, and Networking 10. Part 3: Implementation of a High-Frequency Trading System
11. Chapter 8: C++ – The Quest for Microsecond Latency 12. Chapter 9: Java and JVM for Low-Latency Systems 13. Chapter 10: Python – Interpreted but Open to High Performance 14. Chapter 11: High-Frequency FPGA and Crypto 15. Other Books You May Enjoy

Introducing the basics of Java

Java was created by Sun Microsystems in 1991. The first public version was released 5 years later. The main purpose of Java was to be portable and highly performant in internet applications. Unlike C++, Java is platform independent. The JVM ensures any architecture and operating system's portability.

Figure 9.1 shows the compilation chain for Java. We can observe that the Java compiler doesn't produce an executable but a bytecode. JVM will run this bytecode to run the software.

Figure 9.1 – Java compilation chain

We recommend reading the Packt book Java Programming for Beginners, written by Mark Lassof, to learn the characteristics of this language in detail. In this chapter, we will talk about the factors that will affect the performance of HFT. As we described for C++, one critical component is the memory management structure. Unlike C++, where the developer must handle memory manually, Java has a garbage...

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 €18.99/month. Cancel anytime