place_auto_sl
Automatically place a stop-loss limit order after a filled trade by fetching the average buy price and applying an index-specific offset.
Instructions
Automatically fetch avg buy price of a filled order and place an auto SL-LMT order based on index specific offset.
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>",
"index": "<index>"
},
"name": "place_auto_sl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| order_id | Yes |