TWAP Algorithm
A TWAP (Time-Weighted Average Price) algorithm is an algorithmic execution strategy that divides a parent order into equal-sized child orders and distributes them uniformly across a defined time window, aiming to achieve an average execution price close to the simple time-average of market prices over that period.
The Time-Weighted Average Price algorithm is one of the simplest and oldest algorithmic execution strategies in institutional equity trading. Its operating logic is straightforward: take the total order quantity, divide it into a series of equal-sized child orders, and submit those child orders at regular intervals across the chosen execution window. If a trader wishes to buy 100,000 shares over two hours using a 10-minute interval TWAP, the algorithm would submit approximately 8,333 shares every ten minutes for twelve intervals.
The TWAP benchmark itself is the arithmetic average of the midpoint price (or trade price) at each interval across the defined time window. An execution that achieves exactly the TWAP benchmark executed at no cost relative to that benchmark, while executions above TWAP (for a buy order) represent below-benchmark performance and executions below TWAP represent above-benchmark performance.
The TWAP algorithm is most appropriate in situations where the trader's primary goal is calendar-time uniformity of execution — spreading the order evenly across the day regardless of how volume is distributed. This approach is sometimes used when the trader believes that trading at regular intervals is fairer to counterparties, when the regulatory or mandate framework requires time-proportional execution, or in less liquid securities where volume patterns are unpredictable and volume-weighted scheduling would be unreliable.
However, the TWAP algorithm has notable limitations compared to volume-based approaches. Because it distributes execution uniformly across calendar time rather than volume time, TWAP schedules result in the trader being a disproportionately large fraction of market volume during low-volume periods (typically midday in U.S. equity markets) and a smaller fraction during high-volume periods (at the open and close). This non-uniform market footprint means that midday child orders cause more market impact per share than open or close child orders for the same order size.
For this reason, TWAP is less commonly used than VWAP or IS algorithms for large institutional orders in liquid securities. Its simplicity is a practical advantage in less data-rich environments and for orders in securities where historical volume patterns are unstable or unreliable. TWAP is also sometimes used deliberately when the trader wants to avoid the clustering of volume that occurs with VWAP scheduling, for example, to prevent the stock's end-of-day volume pattern from being distorted by the large institutional order.
In post-trade TCA, TWAP execution quality is measured by comparing the actual volume-weighted average execution price against the TWAP benchmark price for the defined window. Slippage versus TWAP — the number of basis points by which actual execution exceeded or beat the benchmark — is a standard metric reported in institutional execution quality reports.