Skip to main content

Order Updates

Method: WebSocket

Description


Retrieve updates on orders as they occur in real time.

Response Attributes


NameTypeDescription
idintegerThe id associated with the Order
limitPricedecimalThe limit price if the Order is a limit order.
stopPricedecimalThe stop market price if the Order is a stop market order.
executedPricedecimalThe executed price of the Order.
contractGroupstringThe contract group of the Order.
contractstringThe contract associated with the Order.
positionSizeintegerThe contract size of the Order. A positive value is a long. A negative value is a short.
typeintegerThe order type.
statusintegerThe status of the order.
timestampdatetimeThe time and date that the order was executed.
createdAtdatetimeThe time and date at which the order was created.
filledAtdatetimeThe time and date at which the order was filled.
cancelledAtdatetimeThe time and date at which the order was cancelled.
tradingAccountIdintegerThe id of the Trading Account that placed the order.

Example Usage


Example Response

{
"data": {
"id": 19900,
"limitPrice": 21381.25,
"stopPrice": null,
"executedPrice": null,
"contractGroup": "/NQ",
"contract": "NQH5",
"positionSize": -1,
"type": 1,
"status": 6,
"timestamp": "2025-02-25T14:40:04.2256702+00:00",
"createdAt": "2025-02-25T14:40:04.1823356+00:00",
"filledAt": null,
"cancelledAt": null,
"tradingAccountId": 202
},
"action": 0 // 0 = create, 1 = update, 2 = delete/remove
}