Skip to content
Capital Markets · Trade Execution

Shiv Pressed Buy.
Then an Entire Market Went to Work.

One order. Two markets. The hidden machinery behind every trade.

Shiv saw one button. Behind it, a broker validated his instruction, an exchange organised a queue, a matching engine found sellers, and post-trade systems prepared the movement of money and ownership.

India · Shiv · Reliance · ₹United States · Maya · Apple · $
Educational simulation only. Reliance Industries and Apple are used as familiar examples. All prices, quantities, timestamps, order-book levels and executions are fictional. This is not live market data or investment advice.
One button, many systems
1
Buy
2
Broker
3
Order book
4
Match
5
Trade
6
Settlement

Meet Shiv

Shiv has recently started his first job.

After paying rent, sending some money home, and handling his first month of adult expenses, he has ₹15,000 left in savings.

He opens his investing app, searches for Reliance Industries, and enters a simple instruction:

Action: buy. Quantity: 10 shares. Order type: limit. Limit price: ₹1,500.

Then he presses Buy.

His screen displays:

Order placed.

Illustrative fictional order

Shiv's order ticket

CompanyReliance Industries
SymbolRELIANCE
SideBuy
Quantity10 shares
Order typeLimit
Limit price₹1,500
Estimated value₹15,000
StatusOrder placed

To Shiv, the work was finished. To the market, it had just begun.

What Did Shiv Ask For?

Shiv was not merely saying:

I want Reliance shares.

He was saying:

Buy ten Reliance shares for me, but do not pay more than ₹1,500 per share.

That sentence contains the anatomy of an order.

Order anatomy

Instrument
Reliance Industries shares
Side
Buy
Quantity
10 shares
Order type
Limit
Limit price
₹1,500

The important part is the order type.

A market order says: buy now at the best available price.

A limit order says: buy only at my price or better.

Market order or limit order?

Plain-English instruction

Buy only at my price or better.

Trade-off

Priority: price control. Execution certainty: lower.

A market order gives up some price control in exchange for speed. A limit order keeps price control, but it may wait.

Shiv chose control over price. Now he needed a seller willing to meet it.

The Broker Checkpoint

Shiv's phone is not directly connected to the exchange.

The app is the front door. Behind it sits the broker's systems.

Shiv's app
Broker systems
Market

Before the order can go to market, the broker performs checks. This list is simplified. Real brokers may apply more controls, different controls, and market-specific rules.

Simplified educational view

Broker checkpoint

Account active
Sufficient buying power
Instrument available
Quantity valid
Price valid
Risk controls passed
Market accepting orders
1
Created
2
Validating
3
Accepted
4
Sent to market

The professional insight is easy to miss:

The investment decision and the executable market instruction are not the same thing.

Shiv decided to buy. The broker turned that decision into an instruction the market could accept, track, route, update, and report.

The Order Book

Now the order reaches the market.

An order book is a live queue of buying and selling intentions.

It is not a list of completed trades. It is a list of people waiting with conditions.

Fictional educational order book

Reliance order book snapshot

Buy sideQuantity
₹1,500
25 shares
₹1,499
40 shares
₹1,498
60 shares
Sell sideQuantity
₹1,501
8 shares
₹1,502
15 shares
₹1,503
30 shares
Best bid
₹1,500
Best ask
₹1,501
Spread
₹1

On the buy side, the best bid is ₹1,500. That is the highest price a buyer is currently willing to pay.

On the sell side, the best ask is ₹1,501. That is the lowest price a seller is currently willing to accept.

The spread is ₹1: the small gap between the highest buyer and the lowest seller.

Why does Shiv's order not immediately execute?

Because Shiv will pay no more than ₹1,500.

The cheapest seller wants ₹1,501.

The prices do not meet.

An order is an intention. A trade is a successful match.

Placing an order does not mean that a trade has happened.

Shiv Joins the Queue

Shiv is not the only buyer at ₹1,500.

Another buyer arrived three seconds earlier.

The order book now has two buy orders at the same price:

10:01:02 - Buy 15 at ₹1,500

10:01:05 - Buy 10 at ₹1,500 - Shiv

The rule is called price-time priority.

First, better price wins.

Then, at the same price, earlier arrival wins.

Who receives shares first?

10:01:02

Buy 15 at ₹1,500

10:01:05 · Shiv

Buy 10 at ₹1,500

If a seller arrives at ₹1,500, which order has priority?

Choose an answer to reveal the priority rule.

Price decides the lane. Time decides the place in line.

A Seller Arrives

Now meet Neha, another fictional investor.

Neha enters a sell order:

Sell 20 Reliance shares. Limit price: ₹1,500.

Her price is compatible with the buyers at ₹1,500.

But she does not automatically sell all 20 shares to Shiv.

The earlier buyer is still ahead.

A seller arrives

Current step

Neha's sell order arrives

Neha wants to sell 20 Reliance shares at ₹1,500. Named participants are used only to make the mechanics understandable.

Shiv status

Waiting

Trade 1

Buyer: Earlier buyerSeller: NehaQuantity: 15Price: ₹1,500

Trade 2

Buyer: ShivSeller: NehaQuantity: 5Price: ₹1,500

The result is two executions:

Trade 1: the earlier buyer buys 15 shares from Neha at ₹1,500.

Trade 2: Shiv buys 5 shares from Neha at ₹1,500.

Shiv's order status becomes:

Partially filled. 5 of 10 shares executed.

In a real market, Shiv would usually not see Neha's identity. The named participants here are used only to make the mechanics understandable.

That is the first compression hidden behind the app screen: one order can become one execution, many executions, or no execution at all.

One Order, Multiple Trades

Order statuses are the market's way of saying where an instruction is in its life.

New. Accepted. Waiting. Partially filled. Filled. Cancelled. Rejected. Expired.

You do not need to memorize every status today.

For Shiv, the important one is partially filled.

He asked for 10 shares.

Only 5 have executed so far.

5 still remain open.

One order can complete in pieces

NewAcceptedWaitingPartially filledFilledCancelledRejectedExpired

Partial fill

10=5+5
Order quantityCumulative quantityLeaves quantity

Final fill

10=10+0
Order quantityCumulative quantityLeaves quantity

Status card

Original order
10
Executed
5
Remaining
5
Status
Partially filled

Shiv's executions

Execution 1: 5 sharesExecution 2: 5 sharesStatus: Filled

Practitioners often express this with three fields:

Order quantity: what Shiv originally requested.

Cumulative quantity: how much has executed so far.

Leaves quantity: how much remains.

For Shiv, after the first execution:

10 = 5 + 5.

Then a second seller arrives:

Sell 5 shares at ₹1,500.

Shiv is next. His remaining 5 shares execute.

Now:

10 = 10 + 0.

The order is filled.

Shiv submitted one order. The market created two executions for him.

Who Was on the Other Side?

Shiv usually does not personally know the seller.

That is the point of organised markets.

The exchange does not require a buyer and seller to know each other. It requires compatible instructions and defined matching rules.

Possible counterparties

Individual investorMutual fundPension fundInsurance companyAsset managerHedge fundBankProprietary trading firmMarket maker

The other side may be another individual investor. It may be an institution. It may be a firm providing liquidity.

The human story is useful for learning, but the market itself runs on instructions.

A market replaces personal negotiation with organised rules.

Where a Market Maker Fits

Sometimes liquidity comes from a market maker.

A market maker may display a two-way quote: one price where it is willing to buy, and another where it is willing to sell.

Fictional two-way quote

Bid

₹1,500

Willing to buy

Spread ₹1

Ask

₹1,501

Willing to sell

The bid is the price at which the market maker is willing to buy.

The ask is the price at which the market maker is willing to sell.

The spread is the difference between the two.

A market maker may stand ready to buy or sell, making it easier for other participants to transact. But its prices still need to meet the conditions of the incoming order.

It is not always present. It does not guarantee execution. It does not always take the other side. It does not erase price risk.

Liquidity makes trading easier. It does not erase price.

Execution Is Not Settlement

Shiv's order is filled.

That does not mean the entire trade lifecycle is finished.

Execution means a compatible buyer and seller have been matched. Settlement means money and shares formally move.

Order

The instruction to buy or sell

Execution

A compatible buyer and seller have been matched

Confirmation

The trade details are recorded and communicated

Clearing

Obligations are calculated and managed

Settlement

Money and shares formally move

Pressing Buy Now on an online shop is not the same as receiving the product. Similarly, trade execution is not the same as final settlement.

Order: the instruction to buy or sell.

Execution: a compatible buyer and seller have been matched.

Confirmation: the trade details are recorded and communicated.

Clearing: obligations are calculated and managed.

Settlement: money and shares formally move.

Execution creates the transaction. Settlement completes the exchange.

This essay does not depend on a particular settlement cycle. Those rules can change by market and over time. The durable idea is the distinction: matching creates the transaction; settlement completes the exchange.

Same Trade. Different Market.

Only now, after Shiv's journey is complete, meet Maya.

Maya is completing an internship in the United States.

She opens a fictional investing interface and enters:

Company: Apple. Symbol: AAPL. Side: buy. Quantity: 10 shares. Order type: limit. Limit price: $200.

Illustrative fictional order

Maya's order ticket

CompanyApple
SymbolAAPL
SideBuy
Quantity10 shares
Order typeLimit
Limit price$200
Estimated value$2,000
StatusWaiting

The order reaches a venue-style order book.

Fictional educational order book

Apple order book snapshot

Buy sideQuantity
$200.00
70 shares
$199.90
90 shares
$199.80
120 shares
Sell sideQuantity
$200.10
30 shares
$200.20
45 shares
$200.30
80 shares
Best bid
$200.00
Best ask
$200.10
Spread
$0.10

Maya will pay no more than $200.

The lowest seller wants $200.10.

What happens?

Maya's mirror question

Maya will pay no more than $200. The lowest seller wants $200.10. What happens?

Choose an answer to reveal what the market does.

The company changed. The currency changed. The routing environment may differ. The core matching problem remained recognisable.

Indian and US market structures are not identical. Venues, routing, regulations, and post-trade systems can differ. This simplified comparison focuses only on the shared logic of compatible buying and selling instructions.

One Trade, Two Markets

DimensionIndiaUnited States
CharacterShivMaya
CompanyReliance IndustriesApple
SymbolRELIANCEAAPL
Currency$
OrderBuy 10Buy 10
TypeLimitLimit
Maximum price₹1,500$200
Initial resultWaitsWaits

Shared logic

broker receives the orderorder is validatedorder reaches a venueavailable prices are checkedeligible orders are prioritisedcompatible orders matchpartial or full execution may occurpost-trade processing follows

In both stories, the market is organising intent. A buyer has a condition. A seller has a condition. The system must decide whether those conditions are compatible and which eligible order gets priority.

One trade. Two markets. The same need to organise intent.

What Shiv Saw vs What the Market Saw

This is the strongest lesson.

Shiv saw a short, friendly path:

Buy. Order placed. Order executed.

The market saw a much longer path.

Screen version

3 states

compressed

Market version

14 events

What Shiv saw

Buy
Order placed
Order executed

What the market saw

1Investment decision
2Order created
3Broker validation
4Order transmitted
5Venue acknowledgement
6Order-book entry
7Price-time priority
8Partial execution
9Quantity update
10Second execution
11Filled
12Confirmation
13Clearing
14Settlement

One button compressed an entire system into a single gesture.

That compression is why investing apps feel simple.

The button is simple because the market underneath is not.

For the Entry-Level Professional

The beginner story is enough to understand the machine.

The practitioner layer adds names to the parts you may see in requirements, tickets, data models, and production issues.

For the Entry-Level ProfessionalOpen

Order management

capturevalidationsubmissionamendmentcancellationstatus management

Execution

routingbook placementmatchingpartial fillsexecution reportingaverage execution price

Post-trade

confirmationallocationclearingsettlementreconciliation

Compact data dictionary

Client Order ID
Identifies the client-side instruction
Exchange Order ID
Identifies the order at the venue
Execution ID
Identifies one individual match
Symbol
The traded instrument
Side
Buy or sell
Order Quantity
Original requested quantity
Limit Price
Maximum buy price or minimum sell price
Cumulative Quantity
Quantity executed so far
Leaves Quantity
Quantity still open
Average Price
Average price across executions
Order Status
Current state of the order
Timestamp
When an event occurred
Venue
Where the event was processed or executed

Simplified fictional practitioner record

Client Order ID
CL-IND-48271
Exchange Order ID
EX-917205
Symbol
RELIANCE
Side
BUY
Order Quantity
10
Limit Price
₹1,500
Cumulative Quantity
10
Leaves Quantity
0
Average Price
₹1,500
Status
FILLED

This is where "shares" becomes "equity securities" in professional language. The underlying lesson stays the same: one instruction moves through order management, execution, and post-trade systems, collecting identifiers and statuses as it goes.

Five Ideas to Remember

1

An order is not a trade.

An order expresses intent. A trade records a successful match.

2

A limit order may wait.

Price control comes with execution uncertainty.

3

Price comes before time.

Better prices receive priority. Equal prices are ordered by arrival time.

4

One order can create multiple executions.

Partial fills allow an order to complete in pieces.

5

Execution is not settlement.

Matching creates the transaction. Settlement completes the exchange.

Closing

Shiv pressed one button.

Behind it stood a broker validating his instruction, an exchange organising competing orders, a matching engine applying priority rules, sellers supplying shares, market participants providing liquidity, and post-trade systems preparing the movement of money and ownership.

Maya pressed the same kind of button in another country.

The company changed from Reliance to Apple.

The currency changed from rupees to dollars.

Some of the infrastructure and routing changed.

The central problem did not.

A buyer wanted shares.

A seller was willing to provide them.

A market had to decide whether their instructions were compatible and who deserved to trade first.

The screen made the process feel instant.

The system made the process possible.

A trade begins with one person pressing Buy. It becomes real only when an entire market agrees on what happens next.

Continue the system

A curated path through the next concept, so one essay becomes a map.

Related essays

Capital Markets
BANK TRADING FLOORMARKETPLACE FOR RISK
FX
Currency risk
Equities
Shares & size
Rates
Bonds & swaps
Credit
Default risk
Commodities
Oil, metals
Prime Brokerage
Financing
SALESowns the client
TRADINGowns the price
CLIENT NEEDMARKET PRICE

A Bank Trading Floor Is a Marketplace for Risk

What FX, Equities, Rates, Credit, Commodities and Prime Brokerage Actually Do

What FX, Equities, Rates, Credit, Commodities and Prime Brokerage Actually Do

Surya · 19 min read

Capital Markets
DECISION MADE · CLOCK STARTS
10:02₹1,000arrival
PRICE DRIFTS WHILE WORKING
13:40₹1,006final fill
SLIPPAGE VS ARRIVAL: ₹6 / SHARE
MEASURES: SPEEDNOT JUST FAIRNESS

Arrival Price: The Clock That Starts When You Decide

VWAP asks: did you trade in line with the market's average?

VWAP asks: did you trade in line with the market's average? Arrival price asks a sharper question: compared to the price the moment you decided to trade, how much did waiting actually cost you?

Surya · 5 min read

Capital Markets
ORDER: 500,000 SHARES · VISIBLE SLICE: 5,000
5,000 VISIBLE
495,000 HIDDENrefills the tip on every fill
FILL → REFILL → FILL → REFILL
BOOK SEES: 5,000TRUE SIZE: 500,000

Iceberg Orders: The Trade That Hides Its Own Size

An order book shows everyone what's for sale, at what price, and how much.

An order book shows everyone what's for sale, at what price, and how much. An iceberg order breaks that last promise on purpose — showing a small slice of a much larger order, and quietly refilling it every time the slice gets taken.

Surya · 5 min read