Skip to content
GetProfitable
Search
Dictionary

TWAP algorithm

An algorithm that spreads an order evenly through a chosen window, aiming to match the time-weighted average price.

TWAP ignores volume and simply divides the clock. Its benchmark is the average of prices sampled at equal intervals, which makes it simple to explain and simple to audit.

Predictability is the weakness. Evenly spaced clips are detectable, and in a stock whose volume is heavily skewed to the close, TWAP over-trades the quiet hours.

Example: 120,000 shares from 10:00 to 16:00 is 20,000 an hour, roughly 333 shares a minute. If the day's true vwap is 50.10 and TWAP achieves 50.12, you underperformed volume-weighting by two cents, or $2,400 on the order. In a calm, evenly traded name the two benchmarks land within a cent.

Related: vwap-algo, algorithmic-order, order-slicing, arrival-price

See it drawn

Original diagrams for the ideas on this page. Illustrative, not real market data.

Intraday price swinging around VWAPA price line for one trading day weaving above and below a smoother VWAP line, with a band drawn one standard deviation either side of it.INTRADAY PRICE AND VWAPprice9:3012:4516:00+1 SD bandVWAP−1 SD bandIllustrative session. VWAP starts fresh at the open and firms up as the day fills in.
VWAP and its standard-deviation bands. VWAP is the day's average price weighted by how much volume traded at each price, so it shows where the bulk of the day's business was done. The bands sit one standard deviation either side, and price here swings between them all session.

Educational only, not advice. Spotted an error? Post in Site Feedback.