Skip to main content
POST

Body

application/json

Modify order request

Modify the price and/or quantity of a pending limit or stop order. Only pending orders can be modified.

Example

account_id
string<uuid>
required

UUID of the trading account

Example:

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

order_id
string<uuid>
required

UUID of the order to modify

Example:

"7c9e6679-7425-40de-944b-e07fc1f90ae7"

price
number<double> | null

New price (limit price for limit orders, stop price for stop orders)

Example:

6100

quantity
integer<int32> | null

New quantity (must be > 0)

Required range: x >= 0
Example:

2

stop_loss
number<double> | null

New planned stop-loss for unfilled entry orders with deferred brackets

Example:

6075

take_profit
number<double> | null

New planned take-profit for unfilled entry orders with deferred brackets

Example:

6125

Response

Modify command accepted

accepted
boolean
required
command_id
string<uuid>
required
command_type
string
required
status
string
required