Market Microstructure: How Trades Execute and Prices Form
Try This First
Test your knowledge before reading. Don't worry if you get it wrong — that's part of learning.
Key Insights
- Understand the mechanics of order execution, bid-ask spreads, market making, and how electronic markets actually work.
Order Types and the Limit Order Book
Every trade requires a buyer and seller. The limit order book (LOB) matches them:
- Market orders — execute immediately at best available price (taker)
- Limit orders — execute only at specified price or better (maker)
- Stop orders — become market orders when price reaches threshold
- Iceberg orders — large orders split into smaller visible portions
The bid-ask spread reflects the cost of immediacy — the difference between the best buy (bid) and best sell (ask) prices.
Market Making
Market makers provide liquidity by continuously posting bid and ask quotes. Their profit comes from:
- Bid-ask spread capture — buying at bid, selling at ask
- Inventory management — rebalancing to avoid directional risk
- Adverse selection cost — losing to informed traders who know the true value
# Simplified market making P&L
spread_income = trades * half_spread
inventory_cost = position * price_change
adverse_selection = informed_trades * loss
net_pnl = spread_income - inventory_cost - adverse_selectionMarket Impact and Execution Quality
Large orders move prices. Understanding market impact is critical for institutional execution:
- Temporary impact — price impact that decays after execution
- Permanent impact — lasting price change from information revelation
- Implementation shortfall — difference between decision price and average execution price
Algorithms: TWAP (time-weighted), VWAP (volume-weighted), Implementation Shortfall, Iceberg, Sniper/Iceberg hybrid.
Article Metadata
Review with Spaced Repetition
Add this lesson's 3 flashcards to your SM-2 study queue. They will appear when due in the Study Queue.
Feynman Concept Cards
Master each building block: read the ELI5, explore the analogy, work the example, find your gaps, teach it back, build it.
Limit Order Book is a foundations concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Limit Order Book as if teaching a colleague who is new to foundations. Cover: what it is, how it works, and why it matters.
Create
Create a diagram that demonstrates Limit Order Book in a real-world foundations scenario. Walk through your design decisions.
Show solution
A diagram for Limit Order Book should include: 1. The core components of lob 2. How they interact 3. Expected outcomes or outputs
Market Microstructure is a foundations concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Market Microstructure as if teaching a colleague who is new to foundations. Cover: what it is, how it works, and why it matters.
Create
Create a diagram that demonstrates Market Microstructure in a real-world foundations scenario. Walk through your design decisions.
Show solution
A diagram for Market Microstructure should include: 1. The core components of market microstructure 2. How they interact 3. Expected outcomes or outputs
Order Types & Execution is a foundations concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Order Types & Execution as if teaching a colleague who is new to foundations. Cover: what it is, how it works, and why it matters.
Create
Create a diagram that demonstrates Order Types & Execution in a real-world foundations scenario. Walk through your design decisions.
Show solution
A diagram for Order Types & Execution should include: 1. The core components of order types 2. How they interact 3. Expected outcomes or outputs
Order Book Dynamics is a market microstructure concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Order Book Dynamics as if teaching a colleague who is new to market microstructure. Cover: what it is, how it works, and why it matters.
Create
Create a diagram that demonstrates Order Book Dynamics in a real-world market microstructure scenario. Walk through your design decisions.
Show solution
A diagram for Order Book Dynamics should include: 1. The core components of order book 2. How they interact 3. Expected outcomes or outputs
Apache Iceberg is a advanced techniques concept in the Data Engineering pillar.
Analogy
Example
Find Gaps
Explain Apache Iceberg as if teaching a colleague who is new to advanced techniques. Cover: what it is, how it works, and why it matters.
Create
Create a diagram that demonstrates Apache Iceberg in a real-world advanced techniques scenario. Walk through your design decisions.
Show solution
A diagram for Apache Iceberg should include: 1. The core components of apache iceberg 2. How they interact 3. Expected outcomes or outputs
Feynman Synthesis — Prove You Understand
1. The One-Pager
Explain this lesson's core idea to a smart 15-year-old. No jargon allowed.
2. The Gap Map
List 3 things you are still unsure about. Be specific.
Knowledge Check
Test your understanding of this lesson.
Flashcards
Space = flip · 1-4 = grade · Swipe on mobile