close_position
Close an open forex position by ticket number, fully or partially. Specify volume to close only part of the position.
Instructions
Close an open position (full or partial). (포지션을 종료합니다. 전체 또는 부분 종료 가능합니다.)
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 | Position ticket number to close | |
| volume | No | Volume to close (optional, closes full position if not specified) |