By the end of this article, you can split the gap from decision price to average fill into spread, impact, and commission, and judge whether the slippage a limit order avoids is worth the fill it gives up.

Problem and output

Trade execution turns an intention to buy or sell into fills; slippage measures the gap between the fill and the decision price. The outputs are average fill price, slippage in basis points, commissions and taxes, implementation shortfall, fill rate and the opportunity cost of unfilled quantity, used to judge whether costs consume the strategy's return.

Inputs and data requirements

Inputs include the decision time and price, side, quantity, order type, individual fills, bid-ask spread, commission rate, taxes, volume and volatility. The example is a hypothetical purchase of 20,000 shares: decision price CNY 50.00, daily volume 500,000 shares (the order is 4% of volume); fills of 12,000 shares at CNY 50.10 and 8,000 shares at CNY 50.30; commission 0.03%; ask price at decision time CNY 50.05.

The limits of a quote follow the SEC: a quote applies to a specific number of shares, prices can change quickly, and there is no legal requirement that an order be filled within a set time [1].

Assumptions

Long-only and unlevered; commission is 0.03% of traded value and taxes are ignored; the decision price is the midpoint at decision time; the spread is unchanged during execution; all numbers are teaching assumptions.

Steps

  1. Average fill (12,000×50.10 + 8,000×50.30)/20,000 = CNY 50.18.
  2. Slippage (50.18-50.00)×20,000 = CNY 3,600, or 0.36% of the CNY 1,000,000 decision notional, which is 36 basis points.
  3. Commission 50.18×20,000×0.03% = CNY 301, about 3 basis points.
  4. Implementation shortfall 3,600+301 = CNY 3,901, about 39 basis points.
  5. Split: spread cost (50.05-50.00)×20,000 = CNY 1,000 (10 basis points); impact cost (50.18-50.05)×20,000 = CNY 2,600 (26 basis points); together 36 basis points.
  6. Limit-order case: at a CNY 50.10 limit, only 12,000 shares fill; the remaining 8,000 shares are still unfilled when the price reaches CNY 50.60, an opportunity cost of (50.60-50.10)×8,000 = CNY 4,000. Had those 8,000 shares filled at the original CNY 50.18 average, their slippage would have been only (50.18-50.00)×8,000 = CNY 1,440; the unfilled cost is higher on a like-for-like quantity.

The nature of a limit order also comes from the SEC: it specifies a price, so it controls the execution price but cannot guarantee execution — it fills only if the market reaches that price [2].

More generally, Perold's implementation shortfall compares the return on a paper portfolio with the return on the real portfolio and includes the opportunity cost of unexecuted quantity[3]. The 39 basis points calculated above cover only filled quantity—slippage, commission and taxes. The CNY 4,000 opportunity cost of the unfilled shares in the limit example must be added separately; omitting it and then calling the limit order cheaper would be wrong.

Figure

INV-022: three-stage chain Decision price: The price you intended to pay; Decompose slippage: Spread plus market impact; Limit-order risk: Opportunity cost when unfilled START Decision price The price you intended to pay MECHANISM Decompose slippage Spread plus market impact CHECK Limit-order risk Opportunity cost when unfilled
Figure 1: a three-stage chain in INV-022 — Decision price → Decompose slippage → Limit-order risk. The three stages form a judgment chain, not the only path; labels come from the article text and carry no statistics. The sample is the article argument and units are marked in the text.

Interpreting the result

Whether 36 basis points is unusual depends on volatility, the spread and the order's share of volume; the cost compounds with turnover: the same cost once a month is about 4.3% a year before compounding. A market order prioritizes execution, while a limit order locks in price but carries non-execution risk; the choice depends on the strategy's edge, urgency and liquidity. Smaller orders, slicing and avoiding the open, the close and major announcements are usually more controllable than one large order; slicing also adds exposure time and monitoring cost. Only when commissions and taxes are included does the 39 basis point implementation shortfall become a cost directly comparable with the strategy's return.

Failure conditions

  • recording the decision price too late and mistaking a market rally for slippage
  • reversing the sign for buys and sells
  • counting only filled quantity and ignoring unfilled opportunity cost
  • ignoring commissions, taxes, transfer fees and financing costs
  • substituting the closing price for the real decision price
  • sizing from historical volume when liquidity has fallen
  • mixing strategy alpha with execution cost
  • reviewing single trades instead of monthly or annual totals

Verification

Reconcile shares and cash against broker confirms; recompute against at least two benchmarks such as VWAP, TWAP and arrival price; test decision-price sensitivity of plus or minus 5 basis points; include partial fills and cancellations; report by strategy and by trader; check cash and position reconciliation.

Reproduction

average fill=Σ(price×quantity)/Σquantity; slippage=side×(average fill-decision price)×quantity, with +1 for a buy; implementation shortfall on filled quantity=slippage+commission+taxes; a complete implementation shortfall also includes the opportunity cost of unfilled quantity[3]; cost in bp=cost/decision notional×10,000. Example: CNY 50.18; CNY 3,600; CNY 3,901; 39 basis points.

Figures in plain language

The three figures take apart the article's 20,000-share example: the 39bp cost stack, the limit order's trade-off between saved slippage and missed fills, and the cumulative drag of repeating the same per-trade cost.

The 39 basis-point cost stack With a decision price of 50.00, 12,000 shares fill at 50.10 and 8,000 at 50.30 for a 50.18 average. Total slippage of 3,600 yuan (36bp) is 1,000 of spread (10bp) plus 2,600 of impact (26bp); adding 301 of commission (3bp) gives 3,901, or 39bp. About 3,901 yuan of cost per 1 million of decision value Split by basis points (39bp total) Spread 10Impact 26Commission 3 Amounts: 1,000 spread + 2,600 impact + 301 commission Price path (yuan per share) Decision 50.00Average fill 50.18After costs ≈50.195 Unit: yuan and bp; 20,000 shares and 50.00 decision price are illustrative.
Figure 2: With 20,000 shares and a 50.00 decision price, 12,000 fill at 50.10 and 8,000 at 50.30, for a 50.18 average. Of the 36bp slippage, 10bp is spread and 26bp impact; adding 3bp commission gives 39bp, or 3,901 yuan. Unit: yuan, basis points; figures are illustrative.
Market order versus a 50.10 limit order A market order fills all 20,000 shares at a 50.18 average, with 3,600 yuan of slippage. A 50.10 limit fills only 12,000, with 1,200 of slippage; the remaining 8,000 are unfilled at 50.60, an opportunity cost of 4,000, above the 1,440 slippage of filling all at 50.18. The limit saves 2,400 of slippage but can cost 4,000 in missed fills Market order: full fill 20,000 shares at 50.18 Slippage 3,600 (36bp) Limit 50.10: partial fill 12,000 filled, 8,000 missed Opportunity cost 4,000 Filled part: 50.10 − 50.00 = 0.10 × 12,000 = 1,200 yuan Missed part: 50.60 − 50.00 = 0.60 × 8,000 = 4,000 yuan If the 8,000 filled at 50.18, slippage would be 0.18 × 8,000 = 1,440 yuan Bottom line: a limit order trades fill certainty for price certainty. Unit: yuan, yuan per share; 50.00, 50.10, and 50.60 are illustrative.
Figure 3: A comparison of a market order and a 50.10 limit: the market order fills all 20,000 shares at a 50.18 average for 3,600 of slippage; the limit fills 12,000 with 1,200 of slippage and leaves 8,000 unfilled at 50.60, an opportunity cost of 4,000, above the 1,440 slippage of filling all at 50.18. Unit: yuan, yuan per share; figures are illustrative.
39bp per trade, repeated 1, 5, 10, and 20 times A single implementation shortfall is 39bp. Repeating the same cost 1, 5, 10, and 20 times adds to 0.39%, 1.95%, 3.90%, and 7.80%. This is simple addition, not compounding, and does not mean trading that often every year; it shows the scale of repeated unit costs. 0.39% per trade looks small; 20 repeats add to 7.80% 1 trade5 trades10 trades20 trades 0.39%1.95%3.90%7.80% Unit: % of decision value; simple addition, not compounding; 39bp comes from the 20,000-share example.
Figure 4: A single implementation shortfall is 39bp; repeating the same cost 1, 5, 10, and 20 times adds to 0.39%, 1.95%, 3.90%, and 7.80%. This is simple addition, not compounding, and does not mean trading that often every year; it shows the scale of repeated unit costs. Unit: % of decision value; figures are illustrative arithmetic.

Knowledge-point review

order types

Definition: Orders are buy or sell instructions, including market, limit, stop, stop-limit and algorithmic orders, differing in price certainty and fill probability.

Mechanism: Market orders prioritise execution but not price, limits control price but may not fill, stops become market orders on trigger, and algorithms slice large orders to cut impact.

Example: For example, an illiquid stock uses limit orders to avoid slippage, while an urgent hedge uses market orders to ensure execution.

Boundary: More complex orders are not better; stops can be triggered by wicks, limits can miss trends, and algorithms fail in extreme conditions.

bid-ask spread

Definition: The bid-ask spread is the difference between the best bid and ask, an implicit cost of immediate execution.

Mechanism: It reflects liquidity, volatility, information and dealer inventory; small caps, crises and news widen it.

Example: For example, a 0.5 yuan spread means an immediate round-trip cost of about 0.5 yuan.

Boundary: The spread is not fixed; liquidity, volatility and order size change it, quoted spreads may differ from fills, and large orders face more impact.

market impact

Definition: Market impact is the price change caused by a large trade, making fills deviate from the initial price.

Mechanism: Impact rises with order size, illiquidity, volatility and speed; slicing, algorithms and dark pools reduce it but add delay and exposure.

Example: For example, a large buy in a thin market pushes prices up, so the average cost exceeds the initial quote.

Boundary: Impact is not linear; nonlinearity, information leakage and crowding exceed estimates, and backtests ignoring impact overstate capacity.

slippage

Definition: Slippage is the difference between the executed price and the expected or benchmark price, positive or negative.

Mechanism: It comes from spreads, impact, delay and volatility; speed, order type and depth determine size.

Example: For example, expecting to buy at 10 yuan but filling at 10.05 means 0.05 of slippage.

Boundary: Slippage is not only a trader issue; volatility, liquidity gaps and system delays cause it, and backtests should use real fills rather than closes.

financing

Definition: Financing borrows to buy assets or maintain positions, including margin loans, repo and derivative funding.

Mechanism: Funding cost, haircuts, maturity and margin calls determine sustainability; higher rates and collateral discounts add pressure.

Example: For example, buying stocks on margin requires top-ups in a decline or forced liquidation.

Boundary: Financing is not free leverage; costs, runs and forced sales occur at the worst time, and short funding of long assets worsens mismatch.

securities lending

Definition: Securities lending borrows stocks or bonds for shorting, settlement or hedging; lenders earn fees and bear recall and counterparty risk.

Mechanism: Borrow fee, availability, recall terms and substitutes determine shorting cost; squeezes make borrow scarce and expensive.

Example: For example, a short seller borrows shares to sell and must buy back if the lender recalls.

Boundary: Lending is not stable income; counterparty default, recalls and regulation cause losses, and shorts face unlimited loss and squeezes.

execution discipline

Definition: Execution discipline selects timing, orders and size by predetermined rules, records fills and controls cost and information leakage.

Mechanism: It includes benchmarks, participation rates, time slicing, limits and review; execution should match thesis and liquidity.

Example: For example, a large order is worked as a share of volume to avoid one-shot impact, with implementation shortfall recorded.

Boundary: Execution is not mechanical; over-slicing adds delay and leakage, minimizing impact can miss opportunity, and algorithms need stress tests.

Related

  • Required prerequisite: Return, Risk and Cost Trade-offs (INV-002).
  • Related reading: Position Sizing and Rebalancing (INV-019), Performance Evaluation and Attribution (INV-021), Indices and Investment Benchmarks (MKT-005).

Exercises

  1. Calculation. What are the average fill and slippage?
  2. Split. What are the spread and impact costs?
  3. Judgement. Is a CNY 50.10 limit order always cheaper?
Suggested answers
  1. CNY 50.18; CNY 3,600, or 36 basis points.
  2. Spread CNY 1,000 (10 basis points), impact CNY 2,600 (26 basis points).
  3. No; the unfilled 8,000 shares cost CNY 4,000 in opportunity cost when the price reaches CNY 50.60, while the same 8,000 shares filled at the original average would have incurred only CNY 1,440 of slippage.

Sources

  1. U.S. Securities and Exchange Commission. “Trade Execution.” https://www.sec.gov/investor/pubs/tradexec.htm (accessed 2026-10-30)
  2. U.S. Securities and Exchange Commission. “Limit Orders.” https://www.sec.gov/answers/limit.htm (accessed 2026-10-30)
  3. Perold, André F. “The Implementation Shortfall: Paper vs. Reality.” The Journal of Portfolio Management 14(3), 1988, pp. 4–9. https://doi.org/10.3905/jpm.1988.409150 (accessed 2026-11-23)

Worked demo

Read-through check: can you say three things?

No recitation needed. Tick each sentence below and see whether you can explain the mechanism, one worked example and one boundary in your own words.

Ticked 0 / 3

The numbers are teaching assumptions that show relationships, not forecasts or investment advice.

This article has passed the current publication gate. Factual, calculation and translation revisions update both language versions together.

Back to station