Price-time priority
The order-matching rule on Indian F&O platforms: the best price is matched first, and among orders at the same price, the one entered earliest gets priority.
In plain language
An electronic exchange receives thousands of orders a second. When several buyers want the same contract, somebody has to decide whose order is filled first. Price-time priority is that rule.
The workbook states that F&O platforms in India offer an order driven market, wherein orders match automatically on price time priority basis.
Two tests, in order:
- Price first. The best price wins. For buy orders, best means highest. For sell orders, best means lowest.
- Then time. Among orders at the same price, the one that arrived earlier is matched first.
So you cannot jump the queue by being quick with a worse price, and you cannot lose your place at a given price to someone who arrives after you.
How it works
The sequence inside the trading system (Chapter 6, section 6.1):
- Every incoming order is time stamped.
- It is immediately processed for a potential match.
- If no match is found, it is stored in the relevant order book, sorted by best price, then within price by time.
- The best buy order matches the best sell order. An order may match partially, producing multiple trades.
Why is the best buy the highest price and the best sell the lowest? The workbook explains that the system views all buy orders from the point of view of a seller, and all sell orders from the point of view of a buyer. A seller prefers the buyer offering most; a buyer prefers the seller asking least.
Order conditions interact with the queue: a limit order waits in the book at its price; a market order takes the best available opposite price; an IOC order takes what it can immediately and cancels the rest; a day order is cancelled automatically if not executed by the end of the day.
A worked example
Illustrative order book. Prices, quantities and times are hypothetical.
Buy orders waiting in the book for a stock futures contract:
| Order | Price (Rs) | Quantity | Time |
|---|---|---|---|
| B1 | 1,302.00 | 850 | 10:01:05 |
| B2 | 1,302.00 | 1,700 | 10:01:09 |
| B3 | 1,301.50 | 850 | 10:00:12 |
The sort order is B1, B2, B3. B3 arrived first of all, but at a worse price, so it goes last. B1 beats B2 at the same price because it came four seconds earlier.
At 10:02:00 a sell limit order for 2,000 at Rs 1,301.50 arrives. It can match any buy at 1,301.50 or better:
Match 1: 850 with B1 at 1,302.00 → B1 fully filled
Match 2: 1,150 with B2 at 1,302.00 → B2 partly filled (550 left)
Remaining sell quantity = 2,000 − 850 − 1,150 = 0
The incoming seller's order was fully executed in two trades, both at Rs 1,302 — better than its own limit of 1,301.50. B2 keeps its time priority for the remaining 550, and B3 is untouched despite having been first in the book.
Why NISM asks about it
Chapter 6, section 6.1 (Trading Mechanism), under Order Matching Rules, states that Indian F&O platforms are order-driven and match on price-time priority, and explains the best buy / best sell convention. The same section defines day, IOC, limit, market and stop-loss orders. Expect a question on the matching rule and one on which buy or sell order counts as "best".
Common exam traps
- Price comes before time. An earlier order at a worse price waits behind a later order at a better price.
- Best buy = highest price; best sell = lowest price.
- Orders can match partially and produce multiple trades.
- Indian F&O markets are order driven, not quote driven, and electronic, not open outcry.
- Orders are time stamped on receipt and processed immediately; only unmatched orders are stored in the book.
Where this is taught
- Series IV · Chapter 6: Trading Mechanism in Exchange Traded IRDintroduced here
- Series XVI · Chapter 6: Trading Mechanismintroduced here
- Series VIII · Chapter 6: Trading Mechanismintroduced here
Related terms
- Order driven marketA market where buy and sell orders are matched automatically by the trading system on a price-time priority basis, rather than through a designated dealer or market maker quoting prices.
- Bid-ask spreadThe gap between the best buy (bid) price and the best sell (ask) price in the order book — the cost a trader bears for buying and immediately selling a small quantity.
- Day orderAn order valid only for the single trading day on which it is entered — if not executed by the end of the day, the trading system automatically cancels it.
- Limit orderAn order to buy or sell a contract at a specified price or better — lower for a buy, higher for a sell — which waits in the order book if it cannot be matched at once.
- Market orderAn order to buy or sell a contract at the best price currently available in the market — no price is specified, so it trades immediately against the opposite side of the order book.
- Trigger priceThe price at which a stop-loss order is activated and enters the market as a market or limit order — set between the last traded price and the order's own limit price.
- Execution riskThe risk that a trade does not execute as planned — that prices move between the legs of a strategy, that one leg fails to fill, or that an order fills away from the desired price.
- Order bookThe live electronic list of unmatched buy and sell orders for a contract, arranged by price level, showing quantity and number of orders at each price — generally up to five price levels a side.
- Market order with protectionA combination of a market order and a limit order that lets a market order execute only up to a price level specified by the trader, so it cannot be filled at any price.
- Open outcry marketA trading method where members communicate buy and sell orders by shouting or hand signals in a physical trading pit — the historical alternative to today's screen-based electronic trading.
- Passive orderAn order lying unmatched in the order book — a buy priced below, or a sell priced above, the market. Passive orders add depth and liquidity; active orders at the market price consume it.