Time-Weighted Average Price

A TWAP order breaks down a large order into smaller chunks executed over time to minimize market impact and achieve better average pricing. This strategy is ideal for entering or exiting large positions without causing significant price movements.

TWAP orders are shielded and executed in a CEX-style manner, meaning the individual chunks and their timing are not exposed on-chain.

Currently, you can only specify the total TWAP duration. The interval for each chunk is calculated automatically and distributed randomly over the duration, with a minimum of $11 per asset.

TWAP order can be placed using the POST /positions with executionType: "TWAP". TWAP also can be done to close position using the Close Position API with executionType: "TWAP"

Last updated