Skip to content

Types of orders

Course: Building an Exchange - Part 1 - chapter 3

There are two types of orders that you place on an exchange.

Market and Limit orders

I want to buy stocks of TATA for Rs 2000

I want to buy ETH worth $200

(market, price, side) is the only input to the API

I will buy 1 stock of TATA at Rs 200/stock

(market, qty, price, side) is the input to the API