How stock exchanges actually work.

The live auction behind every buy and sell order you place

4 min readPublished
An illustration of a modern Indian wholesale market where a supervisor stands between a buyer and a seller to guarantee a trade, with a digital board showing matching lines behind them.
Inside the Live Auction: How Exchanges Work

Every time you place a buy or sell order, a high-speed system matches you with a counterparty instantly.

The story

At 10:23 AM on Tuesday, a stranger's sell matched Raju's buy — done.

Raju tapped 'Buy' on his trading app one Tuesday morning. Within moments, a stranger in another city had sold. The shares won't appear in Raju's demat until tomorrow. He calls his broker, convinced something went wrong. Nothing went wrong. The exchange worked exactly as designed.

Raju
I bought shares 5 mins ago but they aren't in my demat account yet! Did my money get lost?

India has two stock exchanges: NSE and BSE. BSE was founded in 1875 — Asia's oldest stock exchange. NSE came later, in 1992. Today, NSE handles approximately 90% of India's equity cash market trading volume. Most buy and sell orders in India route through NSE.

An exchange is a live auction. When you place a buy order, your broker forwards it to the exchange's matching engine. The engine holds an order book — a live list of every pending buy and every pending sell. Buy bids are ranked highest-price first. Sell asks are ranked lowest-price first. A trade fires the moment a bid meets an ask.

Before continuous trading begins, there is a pre-open session from 9:00 AM to 9:15 AM. Orders arrive but nothing executes yet. At 9:15 AM, the exchange runs a call auction. It finds the single price at which the most orders match and sets that as the opening price. This is why a stock can open sharply up or down — overnight news shifts bids and asks before a single trade fires.

After your trade matches, NSCCL — NSE's clearing corporation — guarantees both sides. If your counterparty defaults, NSCCL covers you. Your shares are held electronically at CDSL or NSDL, India's two depositories. Your demat account is your locker at one of these two institutions. Shares credit there the next trading day.

THE MATCHING ENGINE.How it works
Highest bid (buy price) meets lowest ask (sell price) = Instantly matched trade.
Analogy

The high-speed wholesale mandi with a digital board and a guarantor

Think of the stock exchange as a giant, high-speed wholesale market (Mandi) for shares. If you want to buy onions, you don't run around shouting. Instead, there is a giant digital screen. Buyers list their bids (highest price first), and sellers list their asks (lowest price first). A high-speed computer matches the highest buyer with the lowest seller in a millisecond. To ensure no one runs away with your money or gives you rotten goods, a central clearing house acts as the guarantor. They collect the money from the buyer and the shares from the seller, verifying everything before delivery. The exchange isn't just a place to trade; it is a system that guarantees safety.

Why this matters

Understanding the exchange protects you from two expensive mistakes. You won't panic when shares don't appear in your demat the same day — T+1 is a designed safeguard, not a glitch. And you'll think twice before placing a market order right at the 9:15 AM open, when prices can gap sharply before settling. The exchange is an auction. Auctions have timing, order books, and clearing cycles. Once you see it that way, the rules stop feeling arbitrary.

Lock it in

T+1 is a safeguard, not a broker glitch

Where people go wrong

  1. Expecting shares in demat the same day you buyIndia completed the full transition to T+1 settlement on January 27, 2023. Shares credit your demat the next trading day. This is a designed clearing cycle — the exchange enforces it, not your broker.
  2. Placing a market order exactly at 9:15 AM openThe opening price is set by a pre-open call auction, and the first few minutes can see wide price gaps. A limit order gives you control over the price you pay and avoids nasty surprises at the bell.
  3. Thinking NSE and BSE list completely different stocksMost large Indian companies trade on both exchanges. NSE handles the vast majority of volume. The same share, two venues — your broker routes to whichever offers the better price.
  4. Not knowing After-Market Orders (AMO) existAMO lets you queue an order overnight for execution at the next trading day's open. You don't need to be watching at 9:15 AM to participate in that morning's auction.
If you only remember three things
  1. NSE and BSE are live auctions — prices form where buyers and sellers agree, every second of the trading day.

  2. T+1 settlement means shares reach your demat the next trading day. India moved to T+1 fully on January 27, 2023.

  3. NSCCL guarantees every trade. Even if the other side defaults, your shares and funds are protected.

Most investors treat the exchange like a vending machine — press buy, share arrives — so a T+1 delay or an opening-price gap feels like the broker made an error. The exchange is an auction with clearing cycles and counterparty guarantees; once you see it that way, every apparent delay reveals itself as a designed safeguard.
Shekar