Data Structure Design: Order Book
Build an Order Book to Simulate Market Data
An order book is a key component of trading systems. It keeps track of buy and sell orders for a given asset, organized by price levels. Your task is to implement a simplified version of an order book with the ability to add, modify, cancel, and query orders.
Order Book
An order book is divided into two sides:
Buy side: Tracks orders to buy an asset. The t…
Keep reading with a 7-day free trial
Subscribe to Puzzle Spree to keep reading this post and get 7 days of free access to the full post archives.

