TWAP and VWAP Execution Algorithms
How time-weighted and volume-weighted average price execution algorithms split large orders to minimise market impact, and what their crypto-native equivalents look like on DEXs and CEXs.
Why Splitting Big Orders Matters
If you try to buy $10 million of a mid-cap crypto in a single market order, you'll move the price against yourself. The first part of the order fills near the current price; subsequent parts fill at progressively worse prices as you exhaust liquidity. Execution algorithms split big orders into smaller pieces over time, smoothing out market impact. TWAP (Time-Weighted Average Price) and VWAP (Volume-Weighted Average Price) are the two foundational execution algorithms borrowed from traditional finance.
TWAP — Even Across Time
TWAP splits the total order into equal chunks executed at fixed time intervals. Want to buy 1000 ETH over 4 hours? TWAP buys 250 ETH each hour, or 50 ETH every 12 minutes. The execution price approximates the average price during the window. Simple to implement, predictable, but doesn't adapt to actual market activity — buys the same amount in calm periods as in heavy volume periods.
VWAP — Track the Volume
VWAP weights execution toward times of higher trading volume. If most volume happens in the afternoon, VWAP executes more there and less in quiet morning hours. The goal: achieve an execution price close to the day's volume-weighted average — a common benchmark for institutional execution. VWAP requires real-time volume data and prediction of intraday volume patterns.
- Large orders need splitting to avoid moving the price against yourself
- TWAP: equal chunks over time, simple and predictable
- VWAP: weights toward higher-volume periods, achieves volume-weighted benchmark
- Both borrowed from traditional finance; both have crypto-native variants
Key Takeaways
- Market-impact minimisation is essential for any order over a few percent of typical volume
- TWAP is simple — equal-sized chunks at fixed intervals
- VWAP weights toward higher-volume periods to match a volume-weighted benchmark
- Choice depends on whether you want predictability (TWAP) or benchmark-tracking (VWAP)
Related Content
Related Topics
More Topics
Browse all 179 topicsAlgorithmic Stablecoin Failures — Deep Catalogue
How Terra UST, Iron Finance, USDR, and various other algorithmic stablecoins failed — the specific mechanisms in each case, and why all unbacked algorithmic stablecoins face the same structural risk.
Delta-Neutral Stablecoins (Ethena sUSDe)
How Ethena's sUSDe captures perpetual funding rates by hedging spot crypto with short perpetuals, what makes it different from algorithmic stablecoins, and the structural risks beneath the surface.
Liquid Staking Tokens and Restaking
How stETH/rETH liquid staking tokens work, why EigenLayer's restaking model created a new economic primitive, and what AVS economics mean for the broader Ethereum ecosystem.
Options Greeks On-Chain
How delta, gamma, vega, and theta translate from traditional options markets to on-chain protocols like Lyra, Aevo, and Premia — and what's structurally different about decentralised options markets.
AMM Curves Compared
How constant-product (Uniswap V2), concentrated-liquidity (Uniswap V3/V4), stable-swap (Curve), and weighted-pool (Balancer) AMMs differ mathematically — and which to use for which asset pairs.
Volatility Products
How variance swaps, volatility tokens, and structured products let users trade volatility itself rather than direction — and the on-chain protocols building this category.
Dollar-Cost Averaging Mechanics
How DCA actually performs mathematically vs lump-sum investing, what the empirical evidence shows for crypto specifically, and the on-chain protocols that automate it.
Portfolio Rebalancing Systematics
How systematic rebalancing keeps portfolio weights at target allocations, the math of why rebalancing produces an excess return in volatile markets, and on-chain rebalancing protocols.
References & further reading
- secondary
- secondary