place_trailing_twap_order
Place a trailing stop order that, when triggered, executes a time-weighted average price (TWAP) strategy to buy or sell tokens, reducing market impact.
Instructions
Place a trailing-then-TWAP order. When trail triggers, execute via TWAP. action: trailing_twap_sell|trailing_twap_buy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet_address | Yes | ||
| token_address | Yes | ||
| action | Yes | ||
| trail | Yes | Trail bps | |
| frequency | Yes | ||
| duration | Yes | ||
| amount | No | Lamports (buy) or raw token units (sell) | |
| holdings_percentage | No | Sell only: bps | |
| slippage | No | ||
| expiry_hours | No |