How to Place a TWAP Order on Hyperliquid
Risk warning. Trading perpetual futures and other leveraged crypto-asset products is high risk. A large share of retail traders lose money, so never trade with money you cannot afford to lose entirely. Disclaimer
A TWAP order doesn’t try to get you the best single price, it tries to get you close to the average price over a window of time, by splitting one large order into many small ones.
This guide is part of TradeOnDEX’s Hyperliquid how-to series within Perpetual Futures, and builds on reading the order book.
Disclosure: TradeOnDEX may earn a commission from links to Hyperliquid on this page, at no extra cost to you. Full details at the end of this article.
What problem does a TWAP order actually solve?
Placing one large market order against a thin order book can move the price against you before the order finishes filling, the larger the order relative to available liquidity, the worse this gets. A TWAP (time-weighted average price) order spreads that same size across many smaller suborders, executed roughly every 30 seconds over a duration you set, typically ranging from 30 minutes to several hours.
This means for you, concretely: instead of one large market order absorbing a chunk of the order book instantly, your trade unfolds gradually, giving the market time to replenish liquidity between each small execution.
How Hyperliquid’s TWAP mechanism works
- Each suborder targets a size based on elapsed time divided by total time, multiplied by your total order size, roughly even pacing across the window.
- Each suborder has a maximum slippage tolerance of 3%.
- If a suborder doesn’t fully fill (thin liquidity, wide spread), the TWAP tries to catch up on subsequent suborders rather than abandoning the shortfall.
- Every suborder must meet a $10 minimum notional value, this matters for sizing your TWAP correctly (see below).
How to place a TWAP order, step by step
- Select your market and choose TWAP as the order type.
- Enter your total order size and the duration you want it spread across.
- Confirm, Hyperliquid begins submitting suborders automatically at roughly 30-second intervals.
- Monitor progress; you can typically see how much of the target size has filled relative to the elapsed-time target.
Sizing your TWAP correctly: the minimum-notional trap
A 30-minute TWAP creates roughly 60 suborders (one every 30 seconds). Each suborder must independently meet a $10 minimum notional. If your total TWAP size is $500 spread across 60 suborders, each one averages roughly $8.33, below the minimum, and will be rejected.
As a rule of thumb, make sure your total size divided by the number of expected suborders clears $10 with room to spare, for a 30-minute TWAP, that means a practical minimum well above $500, closer to $600 or more.
Risk: what a TWAP order does and doesn’t protect you from
A TWAP reduces market impact, it does not eliminate slippage or guarantee a good price. Each suborder still executes against real-time liquidity, up to its own 3% slippage tolerance; in a genuinely fast-moving or illiquid market, a TWAP can still realize a worse average price than expected.
A falling-behind TWAP tries to catch up, which can concentrate execution at the worst possible moments. If early suborders underfill due to thin liquidity, later suborders attempt to make up the shortfall, potentially executing larger size later in the window, right when conditions caused the initial shortfall in the first place.
A TWAP is a tool for reducing impact on your own trade, not a market-timing tool. It doesn’t predict where price is heading; it only paces your own execution more evenly across a window you choose. Using it doesn’t make a directionally wrong trade right.
Sizing errors below the minimum notional threshold cause outright rejected suborders, not just a worse price. Check your math on total size vs. duration before submitting, especially for smaller total order sizes.
TWAP vs. a single market order
| Single market order | TWAP order | |
|---|---|---|
| Speed | Immediate | Spread over your chosen duration |
| Market impact | Can be significant for large size relative to book depth | Reduced, since size is split over time |
| Price certainty | Subject to slippage at execution moment | Aims for the window’s average price, still subject to per-suborder slippage |
| Best suited for | Small size, or urgency outweighs price impact concerns | Larger size where minimizing market impact matters more than speed |
See it for yourself
Try a TWAP on a modest size first to see how the suborder pacing and fill progress actually behave, before relying on it for a size large enough that execution quality really matters. You can review the order panel directly at app.hyperliquid.xyz.
Frequently asked questions
Does a TWAP order guarantee I get the average market price?
No, it targets that average as a goal, but each suborder is still subject to its own slippage tolerance and real-time liquidity, so actual results can differ.
What happens if my TWAP order is too small for its duration?
Suborders that fall below the $10 minimum notional will be rejected, size your total order with the expected number of suborders in mind.
Is a TWAP order better than a single market order for every trade?
No, for small size relative to available liquidity, a single market order is simpler and just as effective. TWAP mainly helps when your order size is large enough to move the market on its own.
Can a TWAP order fail to complete fully?
Yes, if liquidity conditions prevent suborders from filling and the shortfall can’t be fully caught up within the remaining window.
Affiliate disclosure
TradeOnDEX may earn a commission if you trade through a link on this page, at no extra cost to you. Hyperliquid’s own affiliate/referral terms are still being confirmed for this site, so links here are direct and untracked for now. This article is educational and is not financial advice. See our disclaimer for the full risk warning.
Risk warning
Trading crypto assets, and leveraged products based on them such as perpetual futures ("perps"), is high risk. A large share of retail traders lose money on these products. Leverage magnifies gains and losses alike and can push your loss beyond the amount you put in. Positions can be closed automatically (liquidation) before you get a chance to react, and some of the platforms we cover offer no negative balance protection.
Never trade with money you cannot afford to lose entirely. TradeOnDEX gives no investment advice, no personal recommendation, and no guarantee of any outcome. Every decision you make is your own decision and your own responsibility.