PUT Change Order

Change a limited number of fields in an existing order without replacing the order.

Change an existing order by ID

PUT /v1/api/accounts/{account}/orders/{orderId}/change

One or all of the following fields in an order can be modified: limit price, stop price, and quantity. You can optionally set a specific strategy ID to ensure the order and strategy match.

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

NameTypeRequiredDescription

account

string

Required

Name of account in NT8

orderId

string

Required

ID of the order to by replaced

Body

NameTypeRequiredDescription

quantity

integer

Optional

Contract quantity of new order

limitPrice

float

Optional

Limit price when changing limit order type

stopPrice

float

Optional

Stop price when changing stop order type

strategyId

string

Optional

ATM strategy ID, forces matching of both order ID and strategy ID

Code Examples (coming soon)

// Some code

Response

{
    "orderId": "36f59a2f4594436084484b92350ca25a",
    "success": true
}

Last updated