place_limit_twap_order
Place a limit-then-TWAP order: set a target market cap basis point condition (buy or sell). Once the condition is met, the remaining order executes as a time-weighted average price trade over a specified duration and frequency.
Instructions
Place a limit-then-TWAP order. Wait for limit target (bps), then execute via TWAP. action: limit_twap_sell|limit_twap_buy.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet_address": "<wallet_address>",
"token_address": "<token_address>",
"action": "<action>",
"target": "<target>",
"frequency": "<frequency>",
"duration": "<duration>"
},
"name": "place_limit_twap_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet_address | Yes | ||
| token_address | Yes | ||
| action | Yes | ||
| target | Yes | Target mcap bps vs entry | |
| frequency | Yes | ||
| duration | Yes | ||
| amount | No | Lamports (buy) or raw token units (sell) | |
| holdings_percentage | No | Sell only: bps | |
| slippage | No | ||
| expiry_hours | No |