Modify an open position
Use the Position ticket, login and sl and/or tp. Omit to preserve; 0 removes the level; null is rejected. Returns a request ID. Entry price and volume cannot be changed.
POST
Modify an open position's SL and TP
Use an open
Position ticket and send login with sl and/or tp.
Entry price and volume cannot be changed.
Omit to preserve; 0 removes SL/TP; null is rejected. Prices are absolute.
Requires a verified account, scope for this route and Idempotency-Key.
The response returns a request ID; check its result before confirming success.
Modification workflow and examplesAuthorizations
Envía el token entregado por el proveedor en el encabezado Authorization mediante autenticación Bearer.
Headers
Persisted key for this intent. Reuse the same key and body when retrying; use a new key for another trading intent, including a modification.
Required string length:
16 - 128Pattern:
^[A-Za-z0-9._:-]{16,128}$Example:
"550e8400-e29b-41d4-a716-446655440000"
Path Parameters
Body
application/json
Response
Respuesta satisfactoria
The response is of type Respuesta: Modify an open position's SL and TP · object.