close_position
Closes an open MetaTrader 5 position by ticket, fully or partially using a specified volume, to exit trades or reduce exposure.
Instructions
Close an open position by ticket (fully, or partially with volume).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket | Yes | ||
| volume | No |