Maetis
Stock Market Foundations
How the Indian Stock Market Works · Unit 2

What Happens When You Buy or Sell a Stock?

9 min read

1

Hook

The Five-Second Pause

Rohan had exactly twenty-two minutes of lunch break left, and he had spent most of it deciding, then finally not deciding, and then deciding again.

He was sitting at his desk, half a vada pav wrapped in paper beside his keyboard, phone tilted so his manager walking past wouldn't glance at the screen. On it was his trading app, open to a well-known company's stock page. He had read about it, asked a cousin about it, watched two videos about it. Now the only thing left was one button.

He tapped Buy. Five shares, market price.

A small wheel spun in the middle of the screen.

He put the phone down, picked up the vada pav, put it down again without biting it.

What was actually happening right now? Somewhere between his thumb and that spinning wheel, five shares were supposedly about to become his. But how? Was there a person on the other end, typing something? Was it just numbers moving inside a server, no different from a video game score going up? He tried to picture it and got nothing — just his own reflection in the phone screen, waiting.

He thought about the last time he'd felt this exact way. Two years ago, sending his first UPI payment to a stranger selling a second-hand cycle on OLX. He'd tapped, held his breath, and only exhaled when the "payment successful" message appeared — still not entirely sure what had actually happened in between, only that it had, apparently, worked.

Same feeling now. Tap, spin, hope.

The wheel stopped. Order placed successfully.

Rohan stared at those two words like they were supposed to explain themselves. They didn't. He didn't know if this meant he now owned the shares, or if something was still happening, or if anything was happening at all, or whether he should feel relieved or worried that a screen and a server he'd never seen had just done something with his money based on one tap of his thumb.

His phone buzzed with a meeting reminder. Eleven minutes left.

He locked the screen, but the question stayed unlocked in his head the rest of the day: what, exactly, just happened there?

2

Learning Objectives

  • Describe the real sequence of events behind a stock trade — order, matching, confirmation, and settlement — instead of treating it as a single instant app action.
  • Explain why every trade needs a real person or entity on the opposite side, rather than believing the market or app generates trades on its own.
  • Identify the roles of the broker/app and the stock exchange (NSE/BSE) in carrying and matching an order.
  • Recognize that confirmation of a trade is not the same as final settlement of shares and money.
3

Core Concept

Rohan's discomfort came from one thing: he couldn't see what happened between his tap and the "order successful" message. That gap is exactly what trips up most new investors — not the money, not the risk, just the not-knowing. And not-knowing makes people either trust blindly or avoid the whole thing out of fear. Neither is wise. The fix is simple: see the steps.

Here is what actually happens every single time you buy or sell a stock, whether it's ₹500 or ₹5 lakh worth of shares.

Step 1 — Order. When you tap "Buy" or "Sell" on your app, you haven't completed a transaction. You've placed an order — a request. Your app itself doesn't own or control any shares. It's just a messenger. It belongs to your broker, the registered middleman whose only job is to carry your order to the place where trades actually happen.

Step 2 — Matching. That place is the stock exchange — in India, this is the NSE or BSE. Think of the exchange as a giant, organized meeting point where thousands of buy and sell orders arrive every second. The exchange's job is to find your order a match. If you want to buy, it looks for someone who wants to sell the same stock, at a price you'd both accept. If you want to sell, it looks for a buyer. This is the part people forget entirely: your order does nothing on its own. It needs another real person or entity, sitting somewhere else, wanting the opposite thing you want, at the same moment.

Once you can name the four steps, the black box disappears.

Step 3 — Confirmation. Once the exchange finds that match, the trade is confirmed. This is the "order successful" message Rohan stared at. It's real progress — the deal is locked in — but it is not the finish line.

Step 4 — Settlement. A short time later (currently one working day in India — the T+1 settlement cycle), the actual shares move into the buyer's demat account, and the money moves into the seller's account. This is settlement — the moment ownership genuinely changes hands. Confirmation says "the deal is agreed." Settlement says "the deal is done."

Order, matching, confirmation, settlement. Four checkpoints, every time, done by identifiable systems and people — never a mysterious algorithm deciding your fate alone.

Once you can name the four steps, the black box disappears — it becomes a process you can trust or question on its own merits.

That's the real shift this unit is asking of you. Not "trust the app" and not "fear the app" — but "know what the app is actually doing," which is simply relaying your order into a structured, rule-bound system built to find you a match. Seeing the mechanism doesn't make the outcome of a trade certain — prices still move, investments still carry risk — but it removes the fear that comes from not understanding the plumbing at all.

4

Visual Understanding

Order
Matching
Confirmation
Settlement
5

Real-life Example

Back at his desk the next day, Rohan opens his app and checks the order history. There it is: "Bought 5 shares — Order Successful." But now he knows to look past that line.

Here's what actually happened. When Rohan tapped Buy, his broker sent his order for 5 shares to the NSE. At that exact moment, a woman named Priya — someone Rohan will never meet or even know exists — had placed an order to sell 5 shares of that same company. The exchange matched Rohan's buy order with Priya's sell order. That match is what triggered his "order successful" message. He wasn't just clicking into a void; he was completing the other half of Priya's decision.

The next working day, Rohan checks his demat account and the 5 shares are sitting there. At the same time, on Priya's side, the money for those shares has landed in her account. That's settlement — the actual handover of shares for money, finished quietly in the background, one working day after the tap that started it.

Rohan didn't need to know Priya's name for the trade to work. But knowing that someone like her exists — a real seller on the other side of his real order — is what turns his lunch-break mystery into something he can now explain to himself in four words: order, matching, confirmation, settlement.

Point: A single trade always has two real, identifiable sides (a buyer and a seller) and passes through the same four checkpoints — order, matching, confirmation, settlement — with a real time gap between confirmation and final settlement.

6

Deep Dive (optional)

A quick note on that gap between confirmation and settlement, since it's the part people usually skip past. When your app says "order successful," it means the exchange has found you a counterparty — the real person or entity on the other side of your trade, someone selling exactly when you're buying — and locked in the price. But shares and money don't teleport. They move through the backend systems that actually hold and transfer them, which takes a short, fixed window — currently one working day (T+1). During that window, the trade is agreed but not yet final — which is exactly why you shouldn't assume you can instantly resell shares you just bought, or instantly access cash from shares you just sold. The deal is settled, not skipped.

7

Common Mistakes

  • Believing that tapping 'Buy' instantly and directly hands you the shares, as if the app creates the transaction by itself. — The app hides every step behind one button, so the tap is the only thing you can actually see — everything after feels automatic and invisible. Fix: Remember the tap only places an order. Matching, confirmation, and settlement still have to happen, involving the exchange and a real person on the other side, before you actually own anything.
  • Assuming the market or the app itself decides outcomes on its own, like a machine generating results independently. — You never see the other person in the trade, so it feels like the system alone is acting on you. Fix: Remind yourself every trade needs a real counterparty — a buyer for every seller, a seller for every buyer. The exchange only finds and matches these two sides; it doesn't create the trade out of nothing.
  • Treating the 'order successful' confirmation message as proof the transaction is fully finished. — The app shows an instant success message, which looks and feels like the end of the process. Fix: Treat confirmation as 'the deal is agreed,' and settlement — one working day later — as 'the deal is done.' Ownership only truly transfers at settlement.
8

Key Takeaways

  • A stock trade is not one instant action — it's a sequence: order, matching, confirmation, settlement.
  • Every trade has two real sides; your order only executes because someone else placed the opposite one.
  • Your broker's app carries your order — the exchange (NSE/BSE) is what actually finds you a match.
  • Confirmation means the deal is agreed; settlement, one working day later, is when shares and money actually change hands.
  • Before trusting or fearing an unfamiliar financial process, pause and ask: what actually happens here, step by step?
9

Quiz

Q1. When you tap 'Buy' on a trading app, what have you actually done?

  • Instantly become the owner of the shares
  • Placed an order that still needs to be matched, confirmed, and settled
  • Sent money directly to the company whose shares you want
  • Cancelled any other pending orders on the exchange Answer: Placed an order that still needs to be matched, confirmed, and settled — Tapping 'Buy' only places an order. It still has to be matched with someone else's opposite order, confirmed, and then settled before you truly own the shares.

Q2. What is the correct order of the four checkpoints in a stock trade?

  • Matching → Order → Settlement → Confirmation
  • Order → Matching → Confirmation → Settlement
  • Confirmation → Order → Matching → Settlement
  • Order → Settlement → Matching → Confirmation Answer: Order → Matching → Confirmation → Settlement — Every trade moves through the same four steps in this order: you place an order, the exchange matches it, the trade is confirmed, and then it settles a short time later.

Q3. True or False: If you place a buy order, the stock market itself generates the trade without needing anyone else to be involved. Answer: False — A trade can only happen if someone else has placed the opposite order. For your buy to go through, a real seller must exist on the other side — the exchange just finds and matches the two.

Q4. Why isn't the 'order successful' message on your app the same as the trade being fully finished?

  • Because the app might show a fake message to keep you calm
  • Because confirmation only means the order matched, while settlement (shares and money actually moving) still happens a short time after
  • Because the broker needs to approve the trade a second time before confirming it
  • Because the exchange has to wait for the stock price to change before finishing the trade Answer: Because confirmation only means the order matched, while settlement (shares and money actually moving) still happens a short time after — Confirmation means the deal is agreed and locked in, but the actual transfer of shares and money — settlement — happens a short time afterward, usually one working day (the T+1 cycle).

Q5. Someone refuses to ever use a broker app, saying: "I don't understand what happens after I tap buy, so I'm not comfortable using it at all." Is refusing to use it, without ever tracing the steps, the wisest response? Reveal: Weak: yes, avoiding what you don't understand is the safe choice. Strong: the wiser habit is pausing to trace what actually happens step by step, not defaulting to blind avoidance or blind trust — understanding the mechanism is what leads to a sound decision.

10

Curiosity Bridge

The next time your thumb hovers over a button you don't fully understand, notice that flicker of hesitation — it isn't fear, it's your mind quietly asking to see the machinery. Follow that flicker, and you start becoming someone who trusts systems because you understand them, not because you were told to.

This week, try: Before you tap confirm, pause for five seconds and ask yourself out loud: 'What are the actual steps happening after this tap?' Try to name at least two of them. (Say the question out loud to yourself — 'what actually happens here?' — right before you tap. Hearing your own voice ask it is enough to break the automatic tap.)

Before your last online purchase or trade, did you ever wonder who or what was on the other side making it happen? Yes/No

(Binary choice (Yes/No) with an optional one-line free-text follow-up on what they assumed was happening)

Play long-term games with long-term people.
Naval Ravikant