🚄TWAP
Last updated
Last updated
TWAP (Time-Weighted Average Price) is a trading algorithm that allows users to execute large trades over a specified time period, breaking down the total amount into smaller orders to minimize market impact. This feature is now available for users to run directly on our platform.
To access the TWAP feature, navigate to the Trade Modal and select the TWAP section located below the Paraswap call. The TWAP section has three expandable subsections:
Place New Order
Active TWAPs
TWAP History
In this section, users can set up a new TWAP order.
Token Selector: Use the token selector to choose the tokens you want to sell and buy.
Limit Price (optional): Specify the limit price for the trade.
Slippage Tolerance (in bps): Specify the slippage you are wiling to accept beyond the quote received,
Number of Orders: Input the number of smaller orders to break the total amount into.
Time Interval: Set the interval between orders (in seconds, minutes, or hours).
Place Order Button: Click this button to finalize and place your order.
Start Time (optional): Specify the start time of your first order. This will default to starting upon trade submission.
By default, the TWAP algorithm will stop after attempting the number of orders specified above. This means that the order might not get fully filled if the limit price condition is not satisfied or if an order fails. Note: we are working on adding an option to exceed the initial number of orders to fill the full-size to be released in the next few weeks
This section displays currently active TWAP orders.Components
Active TWAP List: Shows a list of active TWAP orders.
Each row displays:
The tokens being sold and bought
The amount of tokens being sold
The percentage of the order completed
Options to cancel the order and view more details
In-Depth Details: When expanded, each row shows detailed information about the order, including start time, time interval, source token, destination token, amount, limit price, number of orders, and whether all orders are set to be completed.
This section displays the history of completed TWAP orders.Components
TWAP History List: Similar to the active TWAPs list but includes completed orders.
In-Depth Details: Each row can be expanded to show detailed information about the completed order.