place_limit_trailing_twap_order
Places a composite order that first sets a limit price, then a trailing stop; upon trail trigger, executes the order using a TWAP strategy over the specified duration and frequency. For buy or sell actions.
Instructions
Place a limit-then-trailing-then-TWAP order. Limit → trail → on trail trigger, execute via TWAP. action: limit_trailing_twap_sell|limit_trailing_twap_buy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet_address | Yes | ||
| token_address | Yes | ||
| action | Yes | ||
| target | Yes | ||
| trail | Yes | ||
| frequency | Yes | ||
| duration | Yes | ||
| amount | No | Lamports (buy) or raw token units (sell) | |
| holdings_percentage | No | Sell only: bps | |
| slippage | No | ||
| expiry_hours | No |