Hyperliquid TWAP orders explained
Verified against Hyperliquid docs: Order types · by Hyperliquid Academy
What it does
A TWAP — time-weighted average price — takes one order and releases it as a series of small suborders across a window you set.
The point is not the average price. The point is that the book has time to refill between the pieces. A single large market order walks up the book in one move and pays for every level it consumes. The same size spread over an hour meets a fresh book each time, and the fills cluster much closer to the price you saw.
That is the whole mechanism. Everything else on this page is the fine print.
The limits
| Setting | Value |
|---|---|
| Minimum notional | $100.00 |
| Minimum runtime | 5 minutes |
| Maximum runtime | 7 days |
| Minimum interval between suborders | 30 seconds |
| Maximum slippage per suborder | 3% |
Two of those matter more than the others.
The interval floor means a long window does not buy you more suborders, it buys you smaller ones. A one-hour TWAP and a six-hour TWAP of the same size fire at a similar cadence; the six-hour version simply cuts the size into more, smaller pieces.
The slippage ceiling is the safety mechanism. If a suborder cannot fill within 3% of the price at that moment, it is skipped rather than filled at any price. The size does not vanish; it carries forward into the remaining suborders.
Which means a TWAP can end up incomplete
On a market moving hard in one direction, suborder after suborder can be skipped, and the window can close with only a fraction of the size filled. That is the ceiling working as designed — it refuses to chase — but it means a TWAP guarantees you will not be filled terribly, not that you will be filled.
The fee point people get wrong
A TWAP’s suborders are takers. Every one of them crosses the book, so the whole order pays the taker rate.
Cost of a $10,000 taker order as each discount is added
- Base rate, no discounts $4.50 0.045% Tier 0, nothing staked
- With referral code $4.32 0.0432% 4% off, applies from trade one
- Referral + Silver staking $3.67 0.03672% Over 1K HYPE staked and linked
- Referral + Diamond staking $2.59 0.02592% Over 500K HYPE staked and linked
- Everything, at the top volume tier $1.38 0.01382% Over $7B of 14-day volume as well
So a TWAP does not belong on the list of ways to reduce fees. It belongs on the list of ways to reduce cost, which is a different and usually larger number.
The arithmetic is easy to sanity-check. At the entry tier the taker fee is 0.045% of notional. If market-ordering your size in one go would move the price by more than that — and on any market outside the top handful, in real size, it will — then the impact you avoid is worth more than the maker fee you gave up.
Placing one
-
Check the book can take your size at all
A TWAP manages impact; it does not create liquidity. If your order is a meaningful fraction of the market’s daily volume, no schedule fixes that. Judging depth comes first.
You should see volume and open interest large enough that your order is a small share of a day
-
Choose TWAP in the order ticket
The ticket switches from a price to a duration. There is no limit price on a TWAP; the slippage ceiling is the only price control you get.
You should see fields for total size and a runtime, instead of a single price
-
Set the runtime against how urgent the trade is
Longer is gentler on the book and worse on timing risk. A window measured in hours is normal for size in a liquid market. A window measured in days is a different kind of decision, because the market can move further than your saving during it.
You should see a window long enough for the book to refill, short enough that the thesis still holds
-
Attach reduce-only if this is an exit
Same rule as every other exit. Without it, a TWAP that overshoots the position keeps going and opens one the other way, piece by piece, which is harder to notice than a single order doing it.
You should see a TWAP that can only shrink the position
-
Watch the fill progress, not the price
The useful signal mid-TWAP is the share that has actually executed. A stalled fill count means suborders are being skipped, which tells you the market is moving faster than your ceiling allows.
You should see a clear view of how much has filled and how much is being skipped
When it is worth it, and when it is not
Worth it: entering or exiting a position that is large relative to the market’s depth; building into a thin market where a single order would visibly move the price; exiting over a session rather than in one print.
Not worth it: any order small enough that it would clear inside the top of the book anyway. Below a few thousand dollars on a major market, a TWAP adds timing risk and saves nothing, because there was no impact to avoid.
The wrong tool: an urgent exit. A TWAP is deliberately slow and can be skipped. If you need to be flat now, close the position and pay the taker fee.
TWAP versus a scale order
| TWAP | Scale order | |
|---|---|---|
| Splits by | Time | Price |
| Fee side | Taker on every suborder | Maker, if the orders rest |
| Fills | Likely, within the ceiling | Only if the price comes to you |
| Use when | You must be filled in a window | You would rather choose the prices |
They solve the same problem from opposite ends. A TWAP accepts the market’s price to guarantee progress; a scale ladder names its prices and accepts that it may not fill.
If you have a view and time, ladder it. If you have size and a deadline, TWAP it.
Common mistakes
Expecting a fee saving. Covered above. The saving is impact, not fees.
Setting a window longer than the reason for the trade. A multi-day TWAP on a thesis about the next few hours is a slow way to trade something other than what you intended.
Forgetting it is running. A TWAP keeps working after you close the tab. Check the open orders panel before assuming you are done for the day.
Using one to hide size. Every fill is public on-chain, and a run of even suborders at a fixed cadence is more recognisable than a single print, not less.
Frequently asked questions
Does a TWAP reduce my fees?
No. Each suborder crosses the book, so every one of them pays the taker fee. What a TWAP reduces is market impact, which on a large order in a thin book is the bigger number by some margin.
How long can a TWAP run?
From five minutes up to seven days. The interval between suborders is at least thirty seconds, so a longer window simply means smaller pieces rather than more frequent ones.
What happens if the price runs away mid-TWAP?
Each suborder has a slippage ceiling of three percent against the price at the time it fires. A suborder that cannot fill inside that is skipped rather than filled badly, and the size carries into later ones.
What is the minimum size?
One hundred dollars of notional for the order as a whole. Below that a TWAP has nothing useful to do, since a small order does not move the book.
Can I cancel a TWAP part-way?
Yes. Cancelling stops future suborders. What has already executed is a position and stays open, so cancelling a TWAP is not the same as closing what it built.
TWAP or a scale order?
A TWAP is timed and takes liquidity; a scale order is priced and provides it. Use a TWAP when you must be filled within a window, and a scale ladder when you would rather choose the prices and pay maker fees.
Sources
- Hyperliquid docs: Order typeshyperliquid.gitbook.io
We link the primary source for every number on this page. If a figure here disagrees with the Hyperliquid documentation, the documentation is right and we want to know.