trailing_stop
Place a trailing stop order that adjusts as the market moves, locking in gains by maintaining a set distance in dollars or percent from the price.
Instructions
Place a TRAILING stop — a stop that follows the price (locks in gains as it moves).
The trigger trails the market by trail_amount (US$) or trail_percent (%).
side is "BUY" or "SELL" (a trailing stop-loss on a long position is a SELL).
Sized by quantity (shares).
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": {
"symbol": "<symbol>",
"side": "<side>",
"quantity": "<quantity>"
},
"name": "trailing_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| symbol | Yes | ||
| quantity | Yes | ||
| trail_amount | No | ||
| trail_percent | No |