entekhab.netentekhab.nettrilingual encyclopedia

Order Execution Algorithm

ENGLISHOrder Execution Algorithmreference
فارسیالگوریتم اجرای سفارشRecommended equivalent
کوردیئەلگۆریتمی جێبەجێکردنی داواکاریProposed equivalent — not standard
Category
Algorithmic Trading
Level
Professional

Simple definition

A program that breaks one large order into many small ones and releases them over time, so the market can absorb the size without the price running away from you.

Professional definition

A rule-based scheduler that turns a parent order into child orders against a chosen benchmark — clock time, volume participation, or arrival price — trading market impact off against the risk that price drifts while the order is still working.

Technical definition

An execution algorithm solves a scheduling problem, not a forecasting one: given a quantity to transact by a deadline, choose a trajectory that minimises expected cost plus a penalty for timing risk. Trading faster raises impact and lowers timing risk; trading slower does the reverse. The benchmark decides which cost is being minimised, so time-weighted, volume-participation and arrival-price algorithms are not interchangeable, and a fill is good or bad only against the benchmark agreed beforehand.

Academic definition

A deterministic or adaptive schedule partitioning a parent order into child orders over a horizon so as to minimise a stated execution-cost objective, typically expected market impact plus a variance penalty for timing risk.

Mechanism

Impact rises with the rate of trading, because each child order consumes depth that then has to refill. Timing risk rises with the horizon, because price moves for reasons unrelated to the order. The trajectory sits where the marginal cost of one more unit of impact equals the marginal cost of one more unit of exposure, which is why urgency is a parameter and not a mood.

In practice

Who uses it
Institutional execution desks, brokers selling algorithmic access, and crypto traders whose intended size is large relative to visible depth.
Why it matters
It converts a size problem into a schedule, which makes execution cost measurable, repeatable and auditable against a stated benchmark.
Limitations
Every algorithm assumes the volume and volatility profile it was calibrated on. On a news day the schedule can be exactly the wrong one.

Common mistakes

  • Choosing the benchmark after the fill rather than before.
  • Running a passive schedule straight into a scheduled release.
  • Judging a multi-venue fill against one venue's benchmark.

Examples

institutional

A desk must buy a position worth several days of average volume. Sent as one market order it would clear the book; worked over three sessions by an algorithm, most of it fills near the prevailing quote and the remainder carries timing risk instead.

numeric

The decision to buy is taken at 100.00 and the completed order averages 100.18. Implementation shortfall is 18 basis points, whatever the chart looked like afterwards.

Given
  • side = buy
  • decision (arrival) price = 100.00
  • average fill price = 100.18
  • quantity fully executed
Steps
  1. (100.18 - 100.00) / 100.00 = 0.0018
  2. 0.0018 x 10000 = 18
implementation shortfall = 18 bps

This is the cost of execution only. It says nothing about whether the decision to buy was right.

Mathematical foundation

IS_{bps} = \varepsilon \times \frac{\bar{P}_{fill} - P_{ref}}{P_{ref}} \times 10^4, \qquad \varepsilon = +1 \text{ (buy)},\; -1 \text{ (sell)}

Variables

\bar{P}_{fill}Quantity-weighted average price of all child fillsquote currency
P_{ref}Reference price: the decision or arrival pricequote currency
\varepsilonSign convention making a cost positive for both sidesdimensionless

Procedure

Record the reference price at the moment the decision is released to the desk. Collect every child fill with its quantity, take the quantity-weighted average, subtract the reference, divide by the reference, apply the side sign and scale to basis points. Report unfilled quantity separately as opportunity cost; do not fold it into this number.

Worked example

Given
  • side = buy
  • P_ref = 100.00
  • fills: 400 at 100.10, 600 at 100.2333
Steps
  1. weighted average = (400 x 100.10 + 600 x 100.2333) / 1000 = 100.18
  2. (100.18 - 100.00) / 100.00 = 0.0018
  3. x 10000
IS = 18 bps

Interpretation

A positive number is a cost and a negative number is a saving, both relative to the reference price. It measures the desk's work, not the strategy's judgement.

Assumptions

  • Competing conventions exist for the reference price: decision price, arrival price at the venue, previous close, or the interval benchmark. The number is not comparable across conventions and the choice must be stated.
  • Opportunity cost of the unexecuted remainder is a separate term; folding it in silently is a common way to flatter a report.
  • Fees and taxes are explicit costs and are usually reported alongside, not inside, this figure.
Limits of the formula
  • A single trade's shortfall is dominated by market noise; only an average over many orders is informative.
  • The reference price can be gamed by delaying when the decision is timestamped.

Related terminology

children
Time-Weighted Average Price VWAP Execution
related
Time-Weighted Average Price VWAP Execution Smart Order Routing Transaction Cost Analysis Execution Quality Market Depth Partial Fill Iceberg Order Trading Bot
Commonly confused with

Smart Order Routing

An execution algorithm decides when and how much to trade. A router decides where each child order goes. Most institutional systems run both, and confusing them hides which one caused a bad fill.

Sources

A Trader's Guide to Futures
CME Group · order types and execution
https://www.cmegroup.com/content/dam/cmegroup/education/files/a-traders-guide-to-futures.pdf URL verified

Editorial status

Needs expert reviewindustry-conventionv1.02026-11-05

Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.

Kurdish headword is a descriptive proposal by this project; Sorani practitioners generally use the English term. Implementation shortfall has several reference-price conventions in industry use; the entry states this rather than presenting one as the definition.