reader9 min read

Order Types and Execution

Execution is how a decision becomes a fill: the order type you send, the price you are willing to accept, and the trade-off between certainty of filling and quality of price.

Target audience: Traders moving a tested system toward live trading who need to model fills realistically.

Learning objectives

  • Distinguish market, limit, and stop orders by what they guarantee.
  • Understand the trade-off between fill certainty and price quality.
  • Match the order type to whether the system buys strength or weakness.
  • Model the realistic fill in the backtest, not an idealised one.

Definition

Execution is how a decision becomes a fill: the order type you send, the price you are willing to accept, and the trade-off between certainty of filling and quality of price.

Why it matters

A backtest assumes a fill; live trading has to earn one. The order type you choose decides whether you pay the spread, whether you fill at all, and how much slippage you take. Two traders with the same signals and different execution can have meaningfully different results, and a backtest that ignores this overstates the edge.

Three orders, three guarantees

A market order guarantees a fill but not a price: you cross the spread and take whatever liquidity is there, which in fast markets can be several ticks away. A limit order guarantees a price or better but not a fill: you rest in the book and trade only if price comes to you. A stop order becomes a market (or stop-limit) order once a trigger price trades, used to enter on continuation or to exit for a loss. Each one is a different bargain between certainty and price.

Taking versus making liquidity

Market and triggered stop orders take liquidity: they pay the spread and accept slippage in exchange for certainty, which momentum and breakout systems usually need. Limit orders make liquidity: they can earn the spread but miss fast moves, which suits mean-reversion and patient retest entries. The right choice follows the system's logic. A breakout system that insists on limit fills will skip its best, fastest trades; a mean-reversion system that uses market orders will hand back its edge in spread.

Model the fill you will actually get

The backtest must execute the way you will. If you will use a stop entry, fill in the test at the trigger plus assumed slippage, not at the signal bar's close. If you will use a limit, fill only when price trades through your level, and drop the trades that never reach it. Execution modelling is not a detail to add later; it is part of the system, and leaving it idealised is how a backtest promises an edge the live account never sees.

Visual models

Session delta divergence: higher price high with weaker cumulative delta confirmation
Price and cumulative delta divergencePrice makes a higher high while cumulative delta is lower than the first high, then both roll over as initiative buying fails.101.599.597.513k0k-2k09:0009:1509:3009:4510:0010:15higher high, lower CVD2first high +12k1initiative fails3CVD +8kpricecumulative deltasession time

Worked examples

Example 1: Same signal, different fills

Signal: 30-bar-high breakout on a liquid future with a one-tick spread. Stop-entry fill: trigger + 1 tick slippage, captured on every breakout. Limit-entry fill at the level: only the breakouts that retrace fill, removing perhaps 40 percent of trades and changing the expectancy and frequency. Neither is wrong, but they are different systems, and only the one you will actually run should be the one you trust.

Common mistakes

Filling in the backtest at the signal price with no spread or slippage.

Using market orders for a mean-reversion system and giving back the edge in spread.

Using limit orders for a breakout system and missing the fastest trades.

Forgetting to drop limit trades that never traded to the limit price.

Treating execution as an afterthought rather than part of the system.

Myth vs reality

Myth

That you will fill at the price your signal printed.

Reality

No paired reality note provided.

Myth

That a limit order will fill just because price touched it.

Reality

No paired reality note provided.

Myth

That order-type choice is cosmetic rather than part of the edge.

Reality

No paired reality note provided.

Risk considerations

  • Market orders in thin or fast conditions can fill far from the last price.
  • Stop orders to exit can gap through the level; the stop bounds intent, not always the loss.

Practice exercises

1. Specify and model your fills

For your system, choose an order type per signal and encode the matching fill rule in the backtest.

  1. Decide, per entry and exit, whether you take or make liquidity.
  2. Write the fill price rule: market plus slippage, stop plus slippage, or limit-only-if-touched.
  3. Drop backtest trades whose limit price never traded.
  4. Re-run and compare expectancy and frequency to the idealised version.

Quiz

Q1. What does each of a market, limit, and stop order guarantee?

Q2. Why must a breakout system usually take liquidity?

Q3. Why model fills explicitly in the backtest?

Next lesson

Slippage, Spread, and Real Costs

This lesson is educational content only and is not financial advice. Trading involves substantial risk. A tested process improves decision quality and survivability; it does not predict the market or guarantee any outcome. Trade only with risk you can afford to lose.