What Matters: A trading route can report excellent fill prices while leaving most of the intended order unfinished. Implementation shortfall asks a wider question about executing the investment decision. DN’s fictional comparison makes the missing quantity visible: one route fills only 20% at an attractive price, while the other completes the order at a modest premium.
Evidence: Checked 28 November 2026 for this 2027 edition. DN reviewed primary explanations of execution evaluation and inspected the named project sources. The two routes, prices and reference values below are independently authored. Their arithmetic was executed, but no broker, reinforcement-learning policy, order book or trading engine was run.
What is implementation shortfall?
Implementation shortfall compares the outcome of implementing an investment decision with a specified paper reference for that decision. The CFA Institute’s trade-strategy explanation includes execution, delay and opportunity-cost components. That broader frame makes unexecuted quantity relevant to the evaluation.
Its trading-cost discussion also distinguishes explicit charges from implicit trading costs. A commission record alone cannot describe the whole difference between an intended portfolio and what was actually implemented.
The calculation in this article is a deliberately narrow, single-decision illustration of that idea. It combines filled-quantity price differences, a declared reference valuation for the unfilled quantity and explicit fees. It does not separately estimate market impact, identify the cause of a price move or reproduce every attribution method used by a trading desk.
Write the parent order before comparing its fills
A parent order is the overall instruction that an execution process tries to complete. It may be split into smaller child orders, but evaluating only those that filled can lose the original objective. The record should retain the requested side, total quantity, decision time and benchmark.
Our fictional parent order is to buy 100 units with a decision reference price of 100. Both routes are evaluated against that same instruction. The target notional is therefore 10,000. Fees are explicitly set to zero to isolate the effect of completion; this is an assumption of the example, not a claim that trading is free.
Route A buys 20 units at an average price of 99.50. Route B buys all 100 at 100.20. We do not invent the order types, market conditions or algorithms that generated these outcomes. They are authored inputs for examining the evaluation.
| Measure | Route A | Route B |
|---|---|---|
| Target quantity | 100 | 100 |
| Filled quantity | 20 | 100 |
| Average fill price | 99.50 | 100.20 |
| Unfilled quantity | 80 | 0 |
| Completion rate | 20% | 100% |
Filled-only slippage makes A look attractive
For a buy order, a fill below the chosen reference represents a favourable price difference. Route A’s average is 0.50 below 100, or −50 basis points. Route B’s average is 0.20 above 100, or +20 basis points. One basis point is 0.01%.
If the report stops there, A appears better. But those figures describe the prices of different amounts of completed business. A obtained only one fifth of the intended exposure. The missing four fifths have disappeared from the comparison without the underlying instruction having changed.
The correct response is to retain both measures. Filled-price quality answers a legitimate question about completed transactions. Completion rate answers another legitimate question about the instruction. Neither should be quietly substituted for the other.
Keep a name and timestamp for every reference too. A price recorded when an investment decision is made need not equal the price when an order reaches an execution process. Our simplified example supplies one decision reference and does not decompose that intervening period. A report with a separate arrival reference should retain both rather than silently relabelling one as the other.
Add the unfinished quantity with a declared end reference
Now specify a terminal reference of 103 for valuing the unfilled part of the buy objective. This is an authored comparison mark at the end of the evaluation interval. It does not establish that a real order could have bought the residual at that price.
The filled component for A is 20 × (99.50 − 100) = −10. Its unfilled component is 80 × (103 − 100) = 240. Adding the two and the zero fee gives a completion-aware reference cost of 230.
For B, the filled component is 100 × (100.20 − 100) = 20. There is no unfilled quantity, so the residual component is zero. Its reference cost is 20.
| Component | Route A | Route B |
|---|---|---|
| Filled cost against decision reference | −10 | 20 |
| Unfilled reference valuation | 240 | 0 |
| Explicit fees assumed | 0 | 0 |
| Combined reference cost | 230 | 20 |
| Basis points of target notional | 230 bps | 20 bps |
The common denominator makes the result comparable
Both totals are divided by the target notional of 10,000, then multiplied by 10,000 to express basis points. Using the same parent-order denominator preserves the original size of the task. It also explains why A’s total is 230 basis points even though its completed fills were 50 basis points below the reference.
A calculation divided by filled notional would answer a different question. It would also become undefined when nothing fills. The denominator should therefore appear alongside the headline figure, with the target quantity preserved even when the execution result is small or zero.
The worksheet separates these outputs so a reader can inspect the transition from average fill price to parent-order evaluation. A single blended “execution score” would hide the component that changes the conclusion.
The residual term is an opportunity valuation
The 240 assigned to A’s unfilled quantity is not a debit on a broker statement. No purchase of those 80 units occurred in the authored record. The term values the gap between the specified buy objective and the completed position at the declared end reference.
This matters when the word “cost” is used in a sales claim. An opportunity valuation, an explicit transaction charge and a realized loss describe different things. They may all be relevant to a decision, but they should remain separately identified.
Nor does the difference prove that A caused the market to move or that B could be reproduced under the same conditions. The example contains no market path or causal execution model. It demonstrates how an unfinished objective enters one transparent comparison.
Changing the terminal reference changes the question’s answer
A’s residual valuation depends on the declared terminal reference because 80 units remain unfilled. If a researcher chooses a different reference, the calculation must use that new assumption openly. There is no reason to expect an incomplete buy objective to receive the same valuation after a rise and after a fall.
This sensitivity is useful rather than embarrassing. It exposes the reference choice that a filled-only summary leaves unmentioned. A fair comparison fixes the observation rule before inspecting which route wins. Selecting a favourable end time after observing the outcomes would turn the benchmark into another discretionary input.
Unknown reference data should remain unknown. Filling a missing mark with the decision price would force the residual term to zero and silently make non-completion appear harmless under that component. The report can still state completed quantity and known fill costs while identifying the unmeasured part.
Completion is one objective among several
Qlib’s order-execution documentation considers price, cost, market impact, completion and timing together. That provides a useful design question for an AI policy: what reward or evaluation rule represents the actual task?
A policy rewarded only for price improvement on filled orders might be evaluated favourably even when much of the parent order is unfinished. Conversely, demanding completion at any price could conflict with a mandate that places a genuine price limit on the transaction. The specification should record the constraints instead of treating every unfilled order as an error.
If a user authorizes “buy up to 100 units only below a stated limit,” that is a different objective from “establish 100 units by a deadline.” Comparing their outcomes as though the objectives were identical would make the metric misleading. A clear mandate is part of the measurement.
Target weights are not completed positions
The inspected AI Hedge Fund execution module converts portfolio targets and current positions into proposed delta orders. Its function separates that arithmetic from the broker’s responsibility for fills. This is a source-supported example of why an intended portfolio and an executed portfolio need different records.
An agent’s research conclusion may be perfectly clear while its intended quantity remains incomplete. A report should be able to follow the chain from target to emitted order, accepted order, fills, residual amount and resulting holdings. The parent quantity should not be reconstructed later from the successful fills alone.
DN’s cancel-race ledger explains why a cancellation label can coexist with fills. The current article uses a different lens: once the filled and unfilled quantities are known, how should the outcome be compared with the original decision?
Keep the benchmark record small and explicit
| Field | Reason to retain it |
|---|---|
| Instruction and side | Defines whether acquiring or disposing of quantity is the objective |
| Target quantity and decision reference | Preserves the task and common denominator |
| Filled quantities and prices | Supports actual completed-price arithmetic |
| Residual quantity and order state | Separates unfinished work from missing records |
| Terminal reference and observation rule | Explains the opportunity valuation |
| Explicit costs and currency | Prevents missing charges, duplication or mixed units |
A zero fill and an unknown fill are different. The former can be evaluated when the order history establishes that no quantity completed. The latter requires reconciliation before any complete implementation comparison is claimed. This distinction also prevents an absent execution log from becoming an invented zero-cost outcome.
Explore the completion-aware scorecard
Use the defaults to compare 20% completion at 99.50 with full completion at 100.20. Read the fill-price figure, residual quantity and target-normalized total together. When changing a reference or fee assumption, preserve the result’s components rather than recording only which total is smaller.
The worksheet also accepts sell instructions. Prices below the decision reference add cost for a seller; prices above it are favourable, and the residual uses the same signed convention. The default remains the disclosed buy example. This sign switch does not add broker records, amendments or a complete transaction-cost system.
Methodology and practical interpretation
DN executed the two authored routes with a target of 100 units, decision reference 100 and terminal reference 103. The filled-only differences are −50 and +20 basis points. After including the declared unfilled valuation, the totals are 230 and 20 basis points of the same target notional. Explicit fees are zero only in this fixed illustration.
No live algorithm, causal market-impact estimate, order-book replay or future return is established. The calculation is a transparent comparison under declared inputs. It identifies a reporting omission that can exist even when every completed fill is recorded correctly.
Use the Flight Deck execution exercises to examine the exposure behind incomplete events. For a defined execution report or benchmark-method question, the DN Research Desk can scope an evidence review that preserves the original instruction, verifies the arithmetic and states what the available records cannot establish.
Download the dated source and scenario record (JSON) · Download the reproducible calculation pack (ZIP).
Frequently asked questions
What does implementation shortfall add to a fill-price comparison?
It evaluates implementation against a specified investment-decision reference, including relevant explicit and implicit costs. This article’s narrow illustration adds an openly declared valuation for unfilled quantity to completed-price differences and fees.
How can the route with cheaper fills have a larger total?
In the default buy example, Route A fills 20 of the intended 100 units at 99.50. Its favourable filled cost is −10, but the remaining 80 units receive an opportunity valuation of 240 at the declared terminal reference of 103. The total is 230, compared with 20 for full completion at 100.20.
Is the unfilled-order term a realized cash loss?
No. It is a reference valuation of the unfinished objective. It is not a fee charged to the account, a realized purchase or evidence that the residual quantity could have been executed at the terminal reference.
Why divide by target notional rather than filled notional?
The target notional preserves the size of the same original instruction across routes. Dividing by completed business answers a different question and can hide how little was completed. The denominator must be stated with the result.
Does this example prove that completing an order is always better?
No. The intended quantity, deadline, price constraints and reference rule define the task. A conditional instruction to buy only below a limit differs from an unconditional completion objective. The example does not establish a universal routing policy.
Did DN test Qlib or an AI Hedge Fund broker?
No. Those sources motivate the distinction between objectives, orders and fills. DN ran independent arithmetic on invented routes and did not operate an upstream execution engine or financial account.
Continue your research
Primary sources and evidence
- CFA Institute: Trade Strategy and Execution. Decision-reference implementation shortfall and execution, delay and opportunity-cost components. Checked 2026-11-28.
- CFA Institute: Trading Costs and Electronic Markets. Explicit and implicit costs, including unfilled trades; educational definition rather than personalized advice. Checked 2026-11-28.
- Qlib: reinforcement learning for order execution. Execution objectives include price, cost, impact, fill rate and timing. Checked 2026-11-28.
- AI Hedge Fund pinned execution module. Target-to-order conversion is distinct from broker fills. Checked 2026-11-28.
Editorial disclosure: This research explains documented capabilities and original worked examples. Inclusion does not imply endorsement, a commercial relationship or verified trading performance. No placement in this article was purchased.
Corrections and updates: Send source-backed corrections to press@decentralised.news. This 2027 edition was checked on 28 November 2026; documentation, permissions and product availability can change.




