Amend OrderPATCH
Amends an existing trading order for the authenticated user's account, including support for multi-level take profit and stop loss
Authorization
AuthorizationRequiredBearer <token>JWT token obtained from the login endpoint
In: header
Request Body
application/jsonRequiredorder_idstringThe order identifier to amend (required for WebSocket, extracted from URL for HTTP)
volumenumberTrading volume in lots
0.01Format: "double"limit_pricenumberThe new limit price of a limit order
"double"stop_pricenumberThe new stop price of a stop order
"double"time_in_forcestringTime in force
"TIF_UNSPECIFIED" | "TIF_GTC" | "TIF_DAY" | "TIF_IOC" | "TIF_FOK" | "TIF_GTD"expire_timestringOrder expiration time
"date-time"good_till_datestringExpiry datetime for GTD (Good Till Date) orders (ISO 8601 / RFC 3339). Required when time_in_force is TIF_GTD; ignored for all other time_in_force values.
"date-time"tp_levelsarray<object>Multi-level take profit configuration. Omit for no changes, empty array [] to cancel all, or provide levels to create/modify
sl_levelsarray<object>Multi-level stop loss configuration. Omit for no changes, empty array [] to cancel all, or provide levels to create/modify
Path Parameters
account_idRequiredstringThe account ID where order to amend belongs
order_idRequiredstringOrder ID to amend
Order amended successfully
Update Key
Stores a string value under the given key for the authenticated profile (upsert). This is a general-purpose key-value store used for per-profile data such as watchlists, UI preferences, notes, or account-level configuration. Callers may store any text; JSON-encoded objects are common but not required. Max body size: 128 KB. Keys must match ^[A-Za-z0-9_\-:#]+$ (max 256 chars).
Amend Position
Modifies multi-level take profit and stop loss orders for an existing position