What is Limit Order vs Market Order?
A market order prioritises execution over price. It matches against the best opposite orders in the book, and if the quantity at the best price is not enough, it moves to the next price levels. This can lead to slippage in illiquid stocks or during volatile moments — the average price may be worse than the last traded price you saw.
A limit order prioritises price over execution. A buy limit at ₹250 will execute at ₹250 or lower; a sell limit at ₹250 at ₹250 or higher. If the market never reaches your price, the order sits in the order book unexecuted until it expires or you cancel it. Partial execution is possible if only part of your quantity can be matched at your price.
Orders also carry a validity condition. A DAY order stays active until the end of the trading session; an IOC (immediate or cancel) order executes whatever quantity is possible immediately and cancels the rest. Many brokers also offer after-market orders, which are placed when the market is closed and sent to the exchange at the next session's open.
Beginners often assume a market order fills at the price on their screen. In thinly traded stocks the screen may show a last traded price from several minutes ago. Using limit orders is a practical way to control cost; market orders make sense mainly in highly liquid stocks where the bid-ask spread is tiny.
Example
The order book shows sellers: 100 shares at ₹420.00, 150 at ₹420.50, 300 at ₹422.00. A market buy for 400 shares fills 100 at ₹420, 150 at ₹420.50 and 150 at ₹422, for an average of (42,000 + 63,075 + 63,300) ÷ 400 = ₹420.94. A limit buy at ₹420.50 for 400 shares would fill only 250 shares and leave 150 waiting in the book.
FAQs
Is a market order executed at the last traded price?
Not necessarily. A market order executes against the best available opposite orders at that moment. If those orders are at a different price from the last trade, or if your quantity is larger than what is available at the best price, your average price will differ from the last traded price.
What is an IOC order?
Immediate or cancel (IOC) is a validity condition. The order tries to execute as much quantity as possible as soon as it reaches the exchange, and any unexecuted part is cancelled immediately instead of waiting in the order book. It is useful when you want to avoid leaving orders hanging.
Where this is tested
Related terms
For education only — not investment, tax or legal advice. Rules and limits change; check the regulator's website for current values.