modify_sl
Adjust an existing stop loss order's price, trigger price, or quantity to manage trades without canceling the original order.
Instructions
Modify an existing Stop Loss order.
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": {
"order_id": "<order_id>",
"exchange": "<exchange>",
"tradingsymbol": "<tradingsymbol>"
},
"name": "modify_sl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| exchange | Yes | ||
| order_id | Yes | ||
| quantity | No | ||
| price_type | No | ||
| tradingsymbol | Yes | ||
| trigger_price | No |