place_trailing_order
Place a trailing stop or trailing buy order on Solana DEXs via WebSocket. Configure trail distance in basis points, amount, holdings percentage, slippage, and expiry hours.
Instructions
Place a trailing stop or trailing buy over WS. action: trailing_sell|trailing_buy. trail: bps distance.
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>",
"trail": "<trail>"
},
"name": "place_trailing_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet_address | Yes | ||
| token_address | Yes | ||
| action | Yes | ||
| trail | Yes | ||
| amount | No | ||
| holdings_percentage | No | ||
| slippage | No | ||
| expiry_hours | No |