Stock Market BasicsLesson 5 of 7beginner

How a Trade Actually Happens: Order to Settlement

From the moment you tap buy to the moment shares land in your demat account — the full journey, including what T+1 means.

Reading time
4 min read
Last reviewed
Reviewed

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

Order matching: a market buy for 100 shares filled from the order bookSell orders rest at three prices: 500 shares at ₹500.10, 200 at ₹500.05 and 40 at ₹500.00. A market buy for 100 shares takes all 40 at ₹500.00 first, then 60 of the 200 at ₹500.05. The ₹500.10 level is not touched.Your market buy100 shares, any pricesent to the exchangematchesSell orders resting in the book (asks)PriceQuantityFilled₹500.10500₹500.0520060 taken₹500.004040 taken1. Price priority: the lowest ask is served first.2. Time priority: among equal prices, whoever was there first.40 × ₹500.00 + 60 × ₹500.05
A market buy for 100 shares walks up the ask side: the cheapest price first, then the next. Average paid ≈ ₹500.03.

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:

  1. Price priority. The highest bid and the lowest ask are served first.
  2. 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.

Worked example

Pending sell orders in a stock:

PriceQuantity
₹500.0040
₹500.05200
₹500.10500

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

From order to settlement on T+1Five steps in sequence. On trade day T: you place the order and your broker sends it to the exchange; the exchange matches it by price then time priority; the clearing corporation steps between buyer and seller and guarantees the trade. On T+1: money is debited and shares are credited, and the depository (NSDL or CDSL) records the shares in your demat account.Trade day (T) — the trade is final once matchedNext trading day (T+1)1You place the orderbroker checks funds,sends it to the exchange2Exchange matches itprice priority,then time priority3Clearing corporationsteps between buyer andseller, guarantees the trade4Settlementmoney debited,shares credited5Depository records itNSDL / CDSL note the sharesin your demat accountHolidays do not count: a Friday trade settles on Monday.
The trade is final the instant it matches on T; money and shares actually change hands on the next trading day, 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

Worked example

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

  1. 1.Two buy orders are placed at the same price, four seconds apart. Which is filled first?
  2. 2.You buy shares on Friday. Under the standard cycle, when are they credited?
  3. 3.What does the clearing corporation do?

Frequently asked questions

When do shares actually reach my demat account?
Under the standard T+1 cycle, on the next trading day after the trade.
Can I sell a share on the same day I buy it?
Yes. Selling before shares are credited is an intraday trade or, for delivery positions, covered by BTST rules with their own risks.
Lesson 5 of 34 overall