How the Indian Stock Market Actually Works

Tap “Buy” on a broking app and, within a second, an order has raced through a broker’s risk checks, matched against a stranger’s sell order on an exchange, been guaranteed by a clearing corporation you have never heard of, and set in motion a transfer of ownership recorded at a depository. This article maps that machine — who does what, who watches whom, and why your shares are safe even if your broker is not. Understanding how the stock market works in India is not trivia; it is what makes everything else in our Direct Equity pillar make sense. This is Arc 1, article one.

The Cast

The five institutions that run the market

The Indian equity market looks like one thing — an app with green and red numbers — but it is five separate institutions doing five separate jobs, deliberately kept apart from one another. That separation is the whole design, and it is why the system survives the failure of any single participant.

The exchanges — NSE and BSE. These are the marketplaces: electronic order-matching venues where buyers and sellers meet. They do not own shares, do not set prices, and do not take sides. Their jobs are to run the matching engine, publish prices, admit companies to listing, and police their own platforms through surveillance. The difference between NSE and BSE in practice is smaller than beginners expect — BSE is the older venue (Asia’s first exchange, 1875) while NSE, launched in the 1990s, dominates present-day volumes. Nearly every liquid stock is listed on both, and for a delivery investor the choice between them is close to immaterial.

SEBI — the referee. The Securities and Exchange Board of India is the statutory regulator sitting above exchanges, brokers, mutual funds and listed companies. It writes the rulebook — disclosure norms, margin rules, investor protections — and it inspects, investigates and penalises. Relevant to several changes you will meet across this pillar: SEBI has been in an unusually activist phase on retail-investor protection through 2024–26, tightening rules on margin, on unregistered advice, and on derivative access. Its official site publishes every circular and order, and reading the source beats reading a summary of a summary.

Brokers — the gateway. A broker is a SEBI-registered member of the exchange who carries your orders in, holds your funds in designated client accounts, and is paid through brokerage and charges. You cannot place an order on an exchange directly; the broker is the licensed doorway. Note the word carefully — doorway. Your shares do not sit with your broker, a point that becomes the most reassuring fact in this article a few paragraphs from now. Choosing and opening an account with one is the next article in this arc.

Depositories — NSDL and CDSL. This is where shares actually live: electronic registries recording who owns what, in the way a land registry records property. Your demat account is an account at a depository, operated through a depository participant — usually, but not necessarily, your broker. Shares in India have been dematerialised for over two decades; there are no certificates to lose, forge or courier. This separation between the entity that takes your order and the entity that holds your asset is the system’s masterstroke: a broker’s collapse does not touch your holdings, because the broker never held them.

Clearing corporations — the invisible guarantors. NSE Clearing and Indian Clearing Corporation are the institutions almost no retail investor can name and every retail investor depends on. The moment your trade matches, the clearing corporation legally steps in as the counterparty to both sides — it buys from every seller and sells to every buyer, a process called novation. You therefore never depend on the stranger on the other side of your trade actually paying up. Backed by collected margins and a settlement guarantee fund, the clearing corporation ensures completion. This is why “what if the other person defaults?” is a question Indian retail investors simply never have to ask.

Registrars and transfer agents, custodians, market makers, and the institutional and retail participants themselves fill out the cast — but the five above are the load-bearing walls.

Where Shares Come From

Primary market versus secondary market

Companies raise money in the primary market. An initial public offering sells shares to the public — newly created shares in a fresh issue, where the money goes to the company, or existing shares in an offer for sale, where the money goes to the selling shareholders. Either way, the primary market is the one event in a company’s life where the public’s money and the company’s bank account are directly connected.

Everything after listing day is the secondary market — investors trading among themselves. A mental adjustment follows, and it is one many people never quite make: when you buy shares of a listed company on the exchange, the company receives nothing. You are buying a stranger’s ownership stake at a mutually agreed price. Your money goes to that seller, not to the business.

So what is the secondary market for? Two things, both essential. It prices businesses continuously, producing a public valuation that informs lenders, acquirers, employees with stock options and the company’s own capital decisions. And it gives every owner an exit — which is precisely what makes the primary market possible at all. Nobody would fund a company’s IPO if the only way out were finding a private buyer years later. Liquidity in the secondary market is what makes the primary market’s capital cheap.

The Order’s Journey

What actually happens when you tap Buy

Follow one order — ten shares of a listed company, at market price — all the way through the machine.

One order, six stages 1 · Broker risk check Milliseconds. Funds, margin and any scrip restriction verified. Failures never leave the broker. 2 · Order reaches the exchange It joins the order book — the live queue of every bid and ask, sorted by price, then time. 3 · The matching engine pairs it Price-time priority: the better price wins; at equal prices, the earlier order wins. 4 · Trade confirmed Back to both brokers in under a second. Your contract note arrives that evening. 5 · Clearing, end of day The clearing corporation nets every obligation and stands as counterparty to both sides. 6 · Settlement, next working day T+1. Shares reach the buyer’s demat account; funds reach the seller’s trading balance.
Stages 1 to 4 complete in under a second; stages 5 and 6 run overnight. Settlement moves shares to the buyer’s demat and funds to the seller’s account on the next working day.

Two details in that sequence deserve emphasis. The contract note you receive on the evening of the trade is the legal record — price, time, quantity, brokerage and every statutory charge itemised: securities transaction tax, exchange fees, GST, stamp duty. Read your first one line by line; ten minutes there buys permanent literacy in what you are actually paying. And settlement is T+1 — trade today, ownership transfers tomorrow. India moved to this cycle ahead of the United States and Europe, and a further optional same-day window now exists for eligible stocks; the order types and settlement article covers both in full.

Step back and the architecture’s purpose becomes visible: it exists to remove trust from the equation. You do not trust the counterparty, because the clearing corporation guarantees the trade. You do not trust the broker with custody, because the depository holds your shares. You do not trust prices to be fair by anyone’s goodwill, because the order book is open and surveillance is continuous. Where retail investors still get hurt is outside this machinery, not inside it — a distinction this pillar returns to repeatedly.

Price Discovery

How prices are set, second to second

Nobody sets a share price. A price is simply the moving edge where supply meets demand inside the order book. Here is a simplified book for an imaginary stock:

Buy quantityBid (buyers offer)Ask (sellers want)Sell quantity
250₹499.80₹500.00180
1,100₹499.75₹500.05640
800₹499.60₹500.202,300
3,400₹499.00₹501.001,900

The gap between the best bid (₹499.80) and the best ask (₹500.00) is the spread — twenty paise here, which signals a liquid stock. A buy order at market price would take the ₹500.00 shares first, then ₹500.05 if it needed more. If aggressive buyers keep arriving, they consume the sell side upward and the price climbs until sellers appear at higher levels; the reverse pushes it down. That is the entire mechanism. In an illiquid stock, the same table might show a spread of several rupees and thin quantities — which is why a modest order can move such a stock violently, and why the order types article insists on limit orders.

What changes participants’ willingness to buy and sell is the longer list: company earnings and business news, macroeconomic data, interest rates, global markets, fund flows, and — over short horizons especially — sentiment, positioning and pure noise. The distinction this pillar leans on repeatedly is worth planting here: in the short run prices are votes; in the long run they are weighing scales. Day to day, the market is a voting machine tallying moods. Over years, it weighs earnings and cash flows. Arc 2 of this pillar teaches you to read the scales; the technical analysis article examines what, if anything, the votes can tell you.

Indices — the Nifty 50, the Sensex and their sector and size siblings — are simply weighted averages of a chosen set of stocks, useful as one-number summaries of “the market” and as the benchmarks that passive funds track, as our index fund and ETF guide explains. When a headline says markets rose, it means an index did. Your portfolio is under no obligation to agree, and expecting it to is the seed of a great deal of unnecessary anxiety.

The Trading Day

Market hours and sessions

SessionTimingWhat happens
Pre-open call auction9:00 – 9:08 AMOvernight news is absorbed; a single fair opening price is discovered
Order matching and buffer9:08 – 9:15 AMThe auction concludes and the regular market prepares to open
Normal trading9:15 AM – 3:30 PMContinuous order matching, Monday to Friday, excluding exchange holidays
Closing price computation3:00 – 3:30 PMThe volume-weighted average of the last half hour sets the official close
Post-close and AMO window3:40 PM onwardsAfter-market orders are queued for the following session’s open

The pre-open auction is the piece worth understanding, because it explains a phenomenon that unsettles new investors: prices “gap” at the open rather than travelling there. Information arriving overnight — quarterly results, a global selloff, a regulatory decision — changes what people will pay before a single regular-session trade occurs. The auction finds the new equilibrium and the stock simply starts there. A 4% gap is information arriving while you slept, not something done to you.

None of this timetable requires action from a long-term investor. Knowing it exists, though, inoculates you against the manufactured urgency — “the market moved without me!” — that sells a great many trading courses. Exchange holidays and any changes to these sessions are published by the exchanges themselves; the NSE website carries the current calendar.

Key Takeaways

• Five institutions run the machine: exchanges match orders, SEBI referees, brokers act as the gateway, depositories hold your shares — not your broker — and clearing corporations guarantee every trade.

• Buying on the exchange sends nothing to the company. The secondary market prices businesses and provides exits; companies raise money in the primary market.

• Prices emerge from the order book by price-time priority. Short-run moves are votes; long-run moves are weighing scales.

• Your trade is guaranteed by the clearing corporation and settled on T+1 — counterparty default is not a retail investor’s problem in India.

• The contract note is your legal record, and every charge on it is itemised. The next two articles in this arc decode the account and the order ticket.


Common Questions

Frequently asked questions

If my broker shuts down, what happens to my shares and money?

Your shares are untouched — they sit at NSDL or CDSL in your own name, and you map a new broker to the same demat holdings. Funds lying idle in the broker’s pool are the genuine exposure point, which is why SEBI now forces quarterly settlement of idle balances back to your bank account, and why keeping large cash balances with a broker is unnecessary. For genuine broker-default cases, the exchange investor protection fund provides a backstop within specified limits.

Who decides a share’s price at any given moment?

Nobody, and everybody. The price is whatever the last trade in the order book produced. There is no committee and no exchange-set price — just a continuously updating auction. Illiquid stocks have jumpy prices precisely because their order books are thin: one modest order moves them, which is a fact worth remembering before buying anything obscure.

Why do NSE and BSE show slightly different prices for the same stock?

They are separate order books with separate participants, so small divergences appear constantly and arbitrageurs close them within paise on liquid names. You transact on whichever exchange your order was routed to. For liquid large caps the difference is negligible; in thinly traded stocks it is one more reason such stocks demand caution.

Is the market rigged against small investors?

The core plumbing — matching, clearing, custody — is genuinely neutral and world-class by international standards, and a retail order receives the same price-time priority as an institutional one. The places retail investors actually get hurt are elsewhere: their own behaviour, products with structurally adverse odds like derivatives, and manipulation and tips at the illiquid fringes, which our article on stock market scams and finfluencers dissects. Blame the right villains — it is rarely the machine.

Do I need to understand all this before I start investing?

You need this article and the next two. Almost every expensive beginner mistake is machinery confusion wearing a disguise: an intraday product selected by accident, a market order placed in an illiquid stock, panic at a gap opening, or cash left sitting with a broker for years. None of that requires analytical sophistication to avoid. It requires knowing how the plumbing works, which now, one article in, you substantially do.

Disclaimer: This article is for education only and is not investment advice. We are AMFI-registered mutual fund distributors (ARN-144500); we are not SEBI-registered investment advisers or research analysts. Equity investments are subject to market risks, including loss of principal. Market structure, session timings and settlement rules cited are as of July 2026 and evolve with regulation — verify current rules with the exchanges and SEBI. Consult a qualified professional for personalised advice. Invest in Knowledge, Transform Your Finances.

Chat on WhatsApp