Close position
etoro_close_positionClose an open eToro position fully or partially by providing the position ID and optional units to deduct.
Instructions
Close an open position (fully or partially). Pass unitsToDeduct to close only part of the position; omit it to close fully.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positionId | Yes | The position ID to close | |
| instrumentId | No | Instrument ID of the position (optional; will be looked up from portfolio if omitted) | |
| unitsToDeduct | No | Number of units to close for partial close. Omit for full close. |