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
- Average fill
(12,000×50.10 + 8,000×50.30)/20,000 = CNY 50.18. - Slippage
(50.18-50.00)×20,000 = CNY 3,600, or0.36%of the CNY 1,000,000 decision notional, which is36basis points. - Commission
50.18×20,000×0.03% = CNY 301, about3basis points. - Implementation shortfall
3,600+301 = CNY 3,901, about39basis points. - Split: spread cost
(50.05-50.00)×20,000 = CNY 1,000(10basis points); impact cost(50.18-50.05)×20,000 = CNY 2,600(26basis points); together36basis points. - Limit-order case: at a CNY 50.10 limit, only
12,000shares fill; the remaining8,000shares are still unfilled when the price reaches CNY 50.60, an opportunity cost of(50.60-50.10)×8,000 = CNY 4,000. Had those8,000shares 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
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.
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
- Calculation. What are the average fill and slippage?
- Split. What are the spread and impact costs?
- Judgement. Is a CNY 50.10 limit order always cheaper?
Suggested answers
CNY 50.18;CNY 3,600, or36basis points.- Spread
CNY 1,000(10basis points), impactCNY 2,600(26basis points). - No; the unfilled
8,000shares costCNY 4,000in opportunity cost when the price reaches CNY 50.60, while the same8,000shares filled at the original average would have incurred onlyCNY 1,440of slippage.
Sources
- U.S. Securities and Exchange Commission. “Trade Execution.” https://www.sec.gov/investor/pubs/tradexec.htm (accessed 2026-10-30)
- U.S. Securities and Exchange Commission. “Limit Orders.” https://www.sec.gov/answers/limit.htm (accessed 2026-10-30)
- 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.