close_position
Close an open position by ticket, fully or partially. Specify the ticket and optional volume for partial closure.
Instructions
Close an open position in full or part by ticket.
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": {
"ticket": "<ticket>"
},
"name": "close_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket | Yes | ||
| volume | No | ||
| idempotency_key | No | ||
| approval_confirmed | No | ||
| approval_request_id | No |