You tap a button and a number changes on a screen. Underneath, quite a lot happens. Knowing the sequence explains why some things are instant and others take a day.
Step 1 — Your order leaves your phone
You enter a buy order: quantity, price, order type, product type. Your broker's system runs checks in milliseconds — do you have the funds or margin, is the quantity within limits, is the stock allowed for this product type — and then pushes the order to the exchange.
Step 2 — The exchange puts it in the order book
Every stock has an order book: all pending buy orders on one side, all pending sell orders on the other.
Matching follows two rules, in this order:
- Price priority. The highest bid and the lowest ask are served first.
- Time priority. Among identical prices, whoever was there first is served first.
That is it. No human decides. There is no preference for large orders or famous investors.
Pending sell orders in a stock:
| Price | Quantity |
|---|---|
| ₹500.00 | 40 |
| ₹500.05 | 200 |
| ₹500.10 | 500 |
You place a market buy for 100 shares.
The system takes the 40 shares at ₹500.00, then 60 shares from the order at ₹500.05. You bought 100 shares at an average of about ₹500.03. Your order was filled in two pieces, and your contract note will show it that way.
Step 3 — Trade confirmed
Once matched, the trade is done and cannot be cancelled. You get a notification within a second, and a contract note by email by the end of the day, listing every trade with its exact price, time and charges.
Step 4 — Clearing
The clearing corporation steps in between you and the seller. Technically it becomes the buyer to every seller and the seller to every buyer, a mechanism called novation.
This is why you never know or care who was on the other side. If they default, the clearing corporation still delivers to you, using collected margins and a settlement guarantee fund.
Step 5 — Settlement, on T+1
T is the trade day. T+1 is the next trading day. India runs a standard T+1 settlement cycle for equities, and is one of very few markets in the world to do so.
On T+1: money is debited from your account and paid to the seller, and the shares are credited to your demat account. You receive an SMS and email from NSDL or CDSL confirming the credit.
Holidays do not count. A Friday trade settles on Monday.
What you can do before settlement
You do not have to wait for T+1 to sell. A share bought today can be sold today (intraday) or tomorrow before credit (BTST — buy today, sell tomorrow).
BTST carries one specific risk worth knowing: you are selling shares you have not yet received. If the original seller fails to deliver, your sale goes into an auction settlement, and you can end up paying a penalty. It is uncommon in liquid large-cap stocks and much more likely in thin, small stocks.
Selling: the same journey in reverse
Sell order → matched → T+1 → shares leave your demat account, money arrives in your trading account, and from there to your bank depending on your broker's settlement cycle.
One asymmetry to note: when selling, your broker needs to know the shares are genuinely there. If they are in a demat account the broker cannot verify, or the holding is pledged, the sale can be blocked or attract a margin penalty.
The full picture
Tuesday, 10:32 AM — you buy 20 shares at ₹450. ₹9,000 plus charges is blocked.
Tuesday, 10:32:00.4 AM — matched at the exchange. Trade confirmed. It is final.
Tuesday evening — contract note emailed.
Wednesday (T+1) — ₹9,000 plus charges debited; 20 shares credited to your demat account; NSDL/CDSL sends you an SMS.
Wednesday onward — you are a shareholder on record, eligible for dividends and other corporate actions with a record date from here on.
Key takeaways
- Orders match by price first, then by time. Nothing else influences it.
- A matched trade is final and cannot be cancelled.
- The clearing corporation guarantees settlement, so counterparty risk is not yours.
- India settles equities on T+1: money and shares move the next trading day.
- Optional T+0 exists for a defined list of stocks at participating brokers, alongside T+1.
Check your understanding
0 of 3 answered