stop_order
Trigger a market or limit order automatically when a stock reaches a given stop price, enabling stop-loss or stop-entry trades.
Instructions
Place a STOP order (e.g. a stop-loss). Triggers a market order when stop_price is hit.
side is "BUY" or "SELL" (a stop-loss on a long position is a SELL). Pass
limit_price to make it a STOP-LIMIT (becomes a limit order on trigger instead
of a market order). 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>",
"stop_price": "<stop_price>"
},
"name": "stop_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| symbol | Yes | ||
| quantity | Yes | ||
| stop_price | Yes | ||
| limit_price | No |