Time-Weighted Average Price
- Category
- Algorithmic Trading
- Level
- Professional
Simple definition
A schedule that cuts an order into equal pieces and releases one every few minutes, so the average fill tracks the average price over the period.
Professional definition
Both a benchmark and a schedule. The benchmark is the unweighted mean of prices sampled at equal time intervals in a window; the algorithm sends equal child orders at equal intervals in order to track it. Volume is ignored entirely.
Technical definition
Because sampling is uniform in time, every interval carries the same weight whether or not anything traded in it. That makes the schedule predictable and easy to audit, and equally easy for others to detect: a constant clip at a constant cadence is a pattern. It minimises deviation from the time-average price, not cost, so where volume is concentrated in a few minutes it under-trades when liquidity is present and over-trades when it is not.
Academic definition
The arithmetic mean of prices observed at equally spaced instants within an interval, used both as an execution benchmark and as the target of a uniform order-slicing schedule.
Mechanism
A uniform clock is the one schedule that needs no forecast: it assumes nothing about where volume will arrive. That neutrality is its strength when a volume profile cannot be estimated — a newly listed pair, an illiquid altcoin, a thin weekend book — and its weakness when the profile is well known, because it then deliberately ignores free information.
In practice
- Who uses it
- Desks working an order in a market with no reliable volume profile, crypto traders accumulating in thin pairs, and anyone wanting a schedule they can explain to a client.
- Why it matters
- It is the simplest defensible schedule: no volume forecast, no discretion, and a benchmark that can be recomputed from public data.
- Limitations
- Predictable by construction, so a persistent clip can be detected and traded against; and it participates heavily in quiet intervals where depth is thinnest.
Common mistakes
- Using an identical clip size and interval for weeks on the same pair.
- Running TWAP through a funding or settlement window.
- Calling a volume-weighted fill a TWAP result.
Examples
A trader accumulating a mid-cap token over twelve hours sends one clip every five minutes. The schedule hides intent poorly but sizing is small enough that each clip clears near the quote, which in a thin book matters more.
Four intervals print 100, 101, 103 and 100, so TWAP is 101.00. If 85 percent of the volume traded in the last interval, VWAP is 100.20. Same prices, benchmarks nearly a full point apart.
- interval prices: 100, 101, 103, 100
- interval volumes: 100, 100, 100, 1700
- parent quantity Q = 400
- TWAP = (100 + 101 + 103 + 100) / 4 = 101.00
- clip size = 400 / 4 = 100 per interval
- VWAP = (10000 + 10100 + 10300 + 170000) / 2000 = 100.20
The gap is the whole difference between the two benchmarks. Neither is wrong; they answer different questions, and reporting a fill against the flattering one is a known abuse.
Mathematical foundation
Variables
| p(t_k) | Price sampled at the k-th equally spaced instant | quote currency |
| m | Number of sampling instants, or of child slices | count |
| Q | Parent order quantity | base units |
| q_k | Child order quantity in interval k | base units |
Procedure
Fix the window, the number of intervals and the sampling rule, and state them before trading. For the benchmark, average the sampled prices with equal weights. For the schedule, divide the parent quantity by the number of intervals and release one clip per interval, usually with a small random jitter in size and timing so the pattern is less readable.
Worked example
- m = 4
- prices 100, 101, 103, 100
- Q = 400
- sum of prices = 404
- 404 / 4 = 101.00
- q_k = 400 / 4 = 100
Interpretation
The benchmark is the price a trader would have achieved by being equally present at every moment of the window. Beating it means the schedule was luckier or better timed than a clock, not that the trade was good.
Assumptions
- Equal spacing in time and a declared sampling price (last trade, mid-quote or bar close). Different sampling rules give different TWAPs from the same tape.
- The benchmark ignores volume by design, so it is not an estimate of where the market's size traded.
- Platforms differ on whether gaps and halts are sampled or skipped, which changes the figure.
- A uniform schedule is detectable, and in a thin book a predictable clip invites being traded ahead of.
- It gives equal weight to intervals with no trading, so in illiquid markets the benchmark can be a price nobody could transact at.
Related terminology
- parent
- Order Execution Algorithm
- related
- VWAP Execution Order Execution Algorithm Volume-Weighted Average Price Transaction Cost Analysis Execution Quality Market Depth Iceberg Order
Volume-Weighted Average Price
TWAP weights every instant equally; VWAP weights by quantity traded. On a day whose volume clusters into a few minutes the two benchmarks differ materially, and the choice between them should be made before the order, not after.
Sources
CME Group · order execution and market data
https://www.cmegroup.com/content/dam/cmegroup/education/files/a-traders-guide-to-futures.pdf URL verified
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
