Skip to main content
POST
Modify a pending order's price, SL and TP
Use a pending Order ticket and send login with price, sl, tp or stop_limit_price (stop-limit only). 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 examples

Authorizations

Authorization
string
header
required

Envía el token entregado por el proveedor en el encabezado Authorization mediante autenticación Bearer.

Headers

Idempotency-Key
string
required

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 - 128
Pattern: ^[A-Za-z0-9._:-]{16,128}$
Example:

"550e8400-e29b-41d4-a716-446655440000"

Path Parameters

order
integer
required

Body

application/json
login
integer
required

Verified owner account login.

sl
number | null

Absolute SL. Omit to preserve; 0 removes it. Null is rejected.

Required range: x >= 0
tp
number | null

Absolute TP. Omit to preserve; 0 removes it. Null is rejected.

Required range: x >= 0
price
number | null

New absolute pending price; activation price for stop-limit. Omit to preserve.

Required range: x > 0
stop_limit_price
number | null

New limit price after activation, only for stop-limit orders. Omit to preserve.

Required range: x > 0

Response

Respuesta satisfactoria

The response is of type Respuesta: Modify a pending order's price, SL and TP · object.