OU blog

Personal Blogs

A picture of Russell Larke

How Do Order Types Work? Execution Mechanics and Market Microstructure

Visible to anyone in the world
Edited by Russell Larke, Tuesday 27 October 2026 at 10:36

How Do Order Types Work? Execution Mechanics and Market Microstructure

TL;DR: Key Structural Takeaways
  • Orders are Conditional Instructions: Market orders demand immediate liquidity and suffer slippage; limit orders provide liquidity but risk non-execution. The choice is a structural trade-off between certainty and price.
  • The Order Book is the Battleground: Level 2 data and time-and-sales reveal the mechanical queue of buyers and sellers. Reading it is about tracking inventory, not predicting direction.
  • The Hidden Routing Layer: Most retail orders are not sent to public exchanges. They are internalised by wholesalers or routed via Payment for Order Flow (PFOF), fundamentally altering the execution environment.
  • Slippage is a Structural Constraint: The difference between expected and executed price is a function of order size relative to available depth. It is the cost of demanding immediacy.

Abstract

Previous articles in this series have examined the mechanics of short selling and the role of market makers in providing liquidity. This article focuses on the interface between the participant and the market: execution. An order is not merely a command to buy or sell; it is a conditional instruction that interacts with a fragmented, algorithm-driven microstructure. As explored in my broader analysis of Execution and Position Management, by analysing the structural trade-offs between market and limit orders, the mechanics of time-in-force instructions, and the hidden architecture of Payment for Order Flow (PFOF), we can understand why slippage occurs and how execution strategy directly determines a participant's exposure to market risk. This analysis forms part of my broader research into market mechanics and participant constraints.

1. The Trade-Off: Market Orders vs. Limit Orders

At the most fundamental level, execution requires a participant to choose between demanding liquidity or providing it. This choice is dictated by order type.

A market order instructs the broker to execute immediately at the best available price. From a systems perspective, this is a demand for liquidity. The participant is prioritising certainty of execution over certainty of price. Consequently, a market order will "walk the book," consuming multiple price levels until it is filled. The difference between the expected price and the actual fill price is known as slippage. Slippage is not a broker error; it is the mechanical cost of demanding immediacy in a market with finite depth.

A limit order, conversely, specifies the maximum price at which one is willing to buy (or the minimum at which one is willing to sell). This is an act of providing liquidity. The participant is prioritising price certainty over execution certainty. If the market never reaches the limit price, the order is never filled. As I discuss in my broader analysis of how stock exchanges function, the interaction between these two order types is what forms the order book.

2. Reading the Order Book: Level 2 and Time and Sales

The order book (often viewed as Level 2 data) displays the resting limit orders waiting to be filled. It shows the bid and ask prices alongside the volume available at each level. The time and sales feed (the tape) records the actual executions as they occur.

For practitioners, reading the order book is a structural discipline. It is not about predicting the future; it is about assessing the current balance of supply and demand. Large resting orders (the bid-ask spread) can act as temporary walls, while thin depth indicates a structurally fragile environment where a moderate market order could cause significant slippage. As covered in my practical guide on what market maker moves actually tell you, this requires reading inventory constraints, not predicting direction.

3. Conditional Instructions: Stop and Stop-Limit Orders

Beyond basic market and limit orders, participants use conditional instructions to manage risk. A stop order (or stop-loss) becomes a market order once a specific trigger price is reached. A stop-limit order becomes a limit order once the trigger is hit.

From a systems perspective, stop orders are structural triggers for forced behaviour. When a cluster of stop orders is triggered (for example, below a recent low), it injects a sudden wave of market orders into the system. If the available liquidity is thin, this wave causes slippage, driving the price down further and potentially triggering additional stop orders—a reflexive feedback loop. This is why understanding margin constraints and brokerage mechanics is essential; they dictate when stop orders are forcefully liquidated by the broker.

4. Time-in-Force: GTC, IOC, and FOK

Every order has a time dimension. Good-Til-Cancelled (GTC) orders remain on the book until filled or explicitly cancelled. Good-Til-Date (GTD) orders expire at a specified time. However, institutional and algorithmic traders often use Immediate-Or-Cancel (IOC) and Fill-Or-Kill (FOK) orders.

An IOC order demands immediate execution of whatever quantity is available, cancelling the remainder. An FOK order demands that the entire quantity be filled immediately, or the whole order is cancelled. These instructions are structural tools used to avoid leaving a footprint on the order book, ensuring that the market does not react to their intent.

5. The Hidden Architecture: Payment for Order Flow (PFOF)

Most retail participants assume their orders are routed directly to a public exchange like the NASDAQ or NYSE. In reality, the execution architecture is far more fragmented.

Payment for Order Flow (PFOF) is a structural mechanism where retail brokers route their customers' orders to a third party—usually an electronic market maker or wholesaler—in exchange for a small fee per share. The wholesaler executes the trade internally (internalisation) rather than sending it to a public exchange.

This creates a two-tiered market structure. Retail orders are typically filled at or slightly better than the public exchange price, but the order flow itself is kept away from the public lit markets. As I outline in my guide on how to choose the best trading platform, the execution quality of a broker is fundamentally determined by this routing logic, not just the commission fees. The wholesaler gains the informational advantage of seeing the retail flow, while the broker gains revenue, and the public exchange loses the volume.

6. Conclusion

Order types are not neutral interface choices; they are structural decisions that determine how a participant interacts with the market's liquidity. By understanding the trade-offs between immediacy and price, the mechanical triggers of stop orders, and the hidden routing layers of PFOF, a trader moves past the illusion of a level playing field. Execution is a systems problem. The successful participant designs their order instructions to manage slippage and avoid becoming the unintended catalyst for forced market movement.

In the next article, we will examine the bid-ask spread itself, exploring how market depth and liquidity are priced.

References

  • O'Hara, M. (1995). Market Microstructure Theory. Blackwell Publishers.
  • Harris, L. (2003). Trading and Exchanges: Market Microstructure for Practitioners. Oxford University Press.

About the Author

Russell Larke is a financial market structure researcher and systems thinker, currently completing an MSc in Systems Thinking in Practice at the Open University. He is the founder of Trading Beyond Charts.

About Me | ORCID | Wikidata

Permalink
Share post

This blog might contain posts that are only visible to logged-in users, or where only logged-in users can comment. If you have an account on the system, please log in for full access.

Total visits to this blog: 128535