When trading perpetual contracts, if the order size is large, placing the order all at once may have a noticeable impact on market price and even cause higher slippage.
TWAP provides a smoother execution method, suitable for users who want to complete the trade gradually over a period of time.
What is TWAP?
TWAP stands for Time-Weighted Average Price, commonly referred to in Chinese as “时间加权平均价格”.
It is an order execution strategy that splits a large order into multiple smaller child orders and submits them to the market gradually within a set time, rather than filling the entire order at once.
You can think of it as “batch ordering, incremental execution”. This approach focuses more on the smoothness of the execution process rather than completing the entire trade at a single point in time.
Which scenarios are suitable for TWAP?
TWAP is usually more appropriate for the following situations:
Large trade amount or position, aiming to reduce price impact from a single order
Do not want noticeable slippage caused by directly taking liquidity
Want to build or reduce a position gradually over a period of time
No strong requirement for immediate full execution, placing more emphasis on execution pacing
If the order size is small, or you prioritize completing the trade quickly, a regular order method is usually more straightforward.
How does TWAP execute?
After creating a TWAP order, the system will split the order into multiple child orders based on the total quantity and execution time you set, and execute them according to the plan.
During this process, the actual execution will still be affected by market price, order book depth, liquidity, and volatility.
This means TWAP is not simply “average execution” and does not guarantee that each child order will be filled at the ideal price. When market conditions change rapidly, the final execution result may differ from the expectation at the time of ordering.
What are the benefits of using TWAP?
For large trades, the main value of TWAP lies in reducing market impact caused by a single large fill.
Compared with a one‑time order, batch execution usually helps keep the trading process smoother and is more suitable for scenarios where you want to complete the trade gradually according to a plan.
It is important to note that TWAP aims to optimize the execution process, not to guarantee the lowest cost or the best price.
In some market conditions it may help reduce slippage; however, in other market conditions the final execution price may be less favorable than a single‑time fill.
Does TWAP incur additional fees?
According to the Hyperliquid official documentation, TWAP is a type of order. There is currently no official statement that TWAP incurs separate additional fees, so the more appropriate understanding is: during TWAP execution, fees are charged according to the normal trading fee rules.
For fee tiers, discount rules, Builder fees and other cost explanations, please refer to “OneKey App Wallet Service Fee Explanation”.
Things to note before using
TWAP is suitable for optimizing the execution pacing of large orders, but it does not eliminate all market risks.
In highly volatile markets, insufficient liquidity, or rapid price changes, some child orders may not be fully filled, and the final average execution price may differ from expectations.
If you wish to use TWAP, it is recommended to assess it in conjunction with your trading goals, position size, and risk tolerance.
