Skip to content

How orders are made

Course: Building an Exchange - Part 1 - chapter 5

Step 1 is that you need market makers to place orders on the book. If they dont, then you dont really have an exchange yet. They are constantly placing orders on the book based on what they think is the fair price of the stock

Users first send an order to get a quote for the quantity they want to buy.

Users can send orders that get matched to the current orderbook.

Whenever a big order is made (orderbook gets eaten), Market makers make the book liquid again.

💡 Even users are placing a limit order, but they set the type to be ioc (immediate or cancel) and the price to be thee quote they received