Crypto
Twap Order
Definition
A TWAP order is an algorithmic order that splits a large trade into smaller slices executed over a set time window to target the time-weighted average price.
What is twap order?
A TWAP order (time-weighted average price order) is an algorithmic execution instruction that breaks a single “parent” buy or sell into many smaller “child” orders placed at regular time intervals, aiming to achieve an average fill price close to the market’s average over that period. In crypto, TWAP orders are commonly offered on exchanges and trading interfaces used for large spot or derivatives trades, including venues that resemble the workflow described in what is a perpetual dex, where traders may want to enter or exit positions without pushing the order book too aggressively.
At a high level, the trader chooses the total size, the start and end time, and sometimes the number of slices or interval length (for example, one slice every 30 seconds for 30 minutes). The system then executes those slices automatically. Compared with a single market order, a TWAP order is designed to reduce immediate market impact and help manage slippage crypto, especially when the order size is large relative to available liquidity.
Twap trading
TWAP trading is the broader execution approach behind a TWAP order: instead of trying to “win” the next tick, it prioritises predictable pacing. The algorithm typically sends orders on a schedule (for example, equal-sized clips every minute), and each clip may be submitted as a marketable order or as a passive limit order depending on the platform’s settings. The key idea is that time is the control variable—your trade is spread across a window you define—so you trade off speed for a potentially smoother average execution. This can be useful when you want to accumulate or unwind exposure without broadcasting a single large footprint to the market, though it does not guarantee a better price if the market trends strongly during your execution window.
Time-weighted average price
Time-weighted average price is a benchmark: it’s the average price of an asset over a chosen period, where each observed price is weighted by how long it persisted. Conceptually, if you sampled the market price at regular intervals (say every minute) from 10:00 to 10:30 and averaged those observations, you’d get a TWAP-like reference price for that window. A TWAP order uses this idea as a target outcome—by executing evenly through time, your fills are more likely to resemble the market’s “typical” price during the window rather than the potentially worse price you might get by executing everything at once.
In practice, TWAP is different from volume-weighted benchmarks (like VWAP) because it doesn’t try to match market volume patterns; it tries to match the clock. That simplicity is why TWAP is popular in crypto interfaces: it’s easy to specify (size + time) and easy to reason about. However, because crypto liquidity and volatility can change quickly, the realised average can still deviate meaningfully from the benchmark if spreads widen, liquidity thins, or the market moves sharply—exactly the conditions that tend to increase slippage crypto.
Why twap order matters
TWAP order matters because it gives traders a practical middle ground between “do it now” and “wait for the perfect price.” A single aggressive order can move the market against you, especially in thinner books, while a purely passive limit order may not fill at all (or may fill too slowly) if price runs away. By slicing execution, TWAP can reduce the chance that your own order becomes the main driver of your entry or exit price, which is particularly relevant for larger participants and for traders managing risk on fast-moving derivatives markets.
That said, TWAP is not a free lunch. You can still get poor execution if the market trends during your window, and overly regular slicing can be detectable by other participants. Fees can also add up if many small fills occur. On some crypto-native venues—such as hyperliquid—algorithmic execution tools are part of a broader toolkit for trading perpetuals efficiently, and TWAP is often used to manage execution quality when position sizing is meaningful relative to liquidity. In that sense, TWAP orders are a building block for the kind of execution discipline traders need when operating in environments similar to what is a perpetual dex, where liquidity, funding dynamics, and order book depth can change quickly.
Frequently Asked Questions
How does a TWAP order work?
A TWAP order splits a large parent order into smaller child orders and submits them at regular time intervals between a start and end time. The goal is to achieve an average execution price close to the market’s average over that window. Depending on the platform, each slice may be placed as a marketable order or a limit order.
Is a TWAP order the same as a limit order?
No. A limit order is a single instruction to buy or sell at a specific price or better, and it may not fill. A TWAP order is an execution schedule that places many smaller orders over time, sometimes using limit orders for each slice.
Does a TWAP order reduce slippage in crypto?
It can reduce slippage crypto by avoiding a single large trade that consumes multiple levels of the order book at once. However, it doesn’t eliminate slippage—if liquidity is thin or the market moves during the execution window, the average fill can still be worse than expected.
What is the difference between TWAP and VWAP?
TWAP targets an average price over time by executing evenly across a time window. VWAP targets an average price weighted by trading volume, so it tends to trade more when market volume is higher. TWAP is simpler, while VWAP is more sensitive to intraday volume patterns.
When should you use a TWAP order?
Traders often use a TWAP order when the position size is large enough that executing immediately could move the market. It’s also useful when you want predictable pacing and are willing to trade speed for potentially smoother execution. It may be less suitable when you need immediate fills or when the market is trending strongly.