TWAP Orders

Introduction to TWAP Orders

TWAP (Time-weighted Average Price) is a common order type that breaks a large order into smaller trades executed at regular intervals, aiming to minimize the order’s impact on the market price. It’s especially useful for users applying a dollar-cost averaging (DCA) strategy, allowing consistent token purchases over time.

TWAP is most effective when the order size is large relative to market liquidity or during periods of high price volatility without a clear upward or downward trend.

When taking profit on Voting and Liquidity Rewards, TWAP orders are particularly useful as they offer several key benefits that optimize your potential returns:

  • Reduced Market Impact: TWAP slices a big sell order into smaller, evenly spaced trades over time, preventing sudden, large sell-offs that can push the token’s price down sharply. This helps avoid unfavorable price slippage.

  • Average Price Execution: Instead of selling all tokens at once, which might trigger price dips, TWAP aims to achieve an average execution price close to the time-weighted market price over the specified period, leading to more optimal outcomes.

  • Lower Signaling Risk: By breaking orders into smaller chunks, TWAP reduces the chance that other market participants detect a large sell intention and react negatively, which can otherwise move prices against the seller.

How to set up a TWAP Order

  1. On the main swap page, select the TWAP option:

  1. Choose the tokens you want to swap and receive for this trade.

In this example we chose to sell 50,000 BLACK as the "Swap" token and USDC as the "For" token, meaning we want to sell 50,000 BLACK for USDC. 3. TWAP-market or TWAP-limit order

You can select between a TWAP-market orders, which executes all trades at the current market price, and TWAP-limit orders, which only executes trades if they are within your specified price limit. To enable TWAP-limit orders, simply toggle on the Limit Price option:

  1. TWAP settings

  • Limit Price: if you have selected the limit price option, you can enter the limit price manually:

In addition you can also set the buy/sell toggle depending on your scenario:

  • Total Trades

Here, you can set the number of individual trades your order will be divided into. Increasing the number of trades reduces the price impact, helping you achieve better execution prices. However, more trades also mean higher total gas fees:

Based on your entry, the token amount per trade is calculated automatically.

  • Trade Interval

Sets the time gap between each individual trade. The minimum trade interval is 5 minutes to cater for allowance of two minutes for bidder auction and block settlement, which cannot be predicted exactly, actual time may vary.

The estimated time is calculated based on your entries for Total Trades and Trade Interval.

  1. Provide Allowance

Before you can submit your TWAP order, you have to provide allowance to the Blackhole Protocol.

  1. Once the allowance transaction completed succesfully, you can place your TWAP order:

After your transaction is processed, you can track your order’s status in the order history section under “Open Orders.”

Last updated