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
Learn Algorithmic Trading

You're reading from   Learn Algorithmic Trading Build and deploy algorithmic trading systems and strategies using Python and advanced data analysis

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher Packt
ISBN-13 9781789348347
Length 394 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
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
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Introduction and Environment Setup FREE CHAPTER
2. Algorithmic Trading Fundamentals 3. Section 2: Trading Signal Generation and Strategies
4. Deciphering the Markets with Technical Analysis 5. Predicting the Markets with Basic Machine Learning 6. Section 3: Algorithmic Trading Strategies
7. Classical Trading Strategies Driven by Human Intuition 8. Sophisticated Algorithmic Strategies 9. Managing the Risk of Algorithmic Strategies 10. Section 4: Building a Trading System
11. Building a Trading System in Python 12. Connecting to Trading Exchanges 13. Creating a Backtester in Python 14. Section 5: Challenges in Algorithmic Trading
15. Adapting to Market Participants and Conditions 16. Other Books You May Enjoy

Designing a limit order book

A limit order book is a component that gathers all the orders and sorts them in a way that facilitates the work of the trading strategy. The order book is used by exchanges to maintain sell and buy orders. When we trade, we need to get the book of the exchange to know which prices are the best or just to have a view on the market. Because the exchange is located on another machine, we will need to use the network to communicate changes on the exchange book. For that, we have two methods:

  • The first method is to send the whole book. You will realize that this method would be very slow, especially when the exchanges is as large as NYSE or NASDAQ. This solution is not scalable.
  • The second method is to first send the whole book (like the first method), but then instead of sending the whole book each time there is an update, we just send the update...
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