Order Updated

A new order has been created

Event Name

Event Type

orders.updated

The status of the order has been updated, contains details of the order in its current state. This event will always be for partial fills of an order.

{
  "id": "event_4da42927-77f5-4308-a6bf-60c1ed0a4b24",
  "type": "orders.updated",
  "timestamp": "2019-01-09T12:14:44.155187291Z",
  "payload": {
    "id": "GA.021be353-1f63-4540-aeeb-8a11b1f5a189",
    "orderNo": "GAFZ000003",
    "type": "MARKET",
    "side": "BUY",
    "status": "PARTIAL_FILL",
    "symbol": "BABA",
    "averagePrice": 134.42,
    "cumulativeQuantity": 12,
    "quantity": 1000,
    "lastShares" : 6,
    "lastPrice": 134.11
    "createdBy": "cc07f91b-7ee1-4868-b8fc-823c70a1b932",
    "lastExecuted": "2019-01-04T14:36:17.378Z",
    "userID": "cc07f91b-7ee1-4868-b8fc-823c70a1b932",
    "accountID": "cc07f91b-7ee1-4868-b8fc-823c70a1b932.1407775317759",
    "accountNo": "DPKU000001",
    "created": "2019-01-04T14:36:17.378Z"
  }
}

Results Explained

Attribute

Type

Description

id

string

unique event identifier

type

string

the type of event

timestamp

string

time when the event was created

payload

object

contains the details of the order

payload.id

string

unique order identifier

payload.orderNo

string

order number

payload.type

string

type of order

payload.side

string

order side:

  • BUY
  • SELL

payload.status

string

status of the order and will always default to "PARTIAL_FILL"

payload.symbol

string

ticker symbol

payload.cumulativeQuantity

number

total quantity executed

payload.averagePrice

number

average price of the order

payload.quantity

number

requested quantity

payload.createdBy

string

userID of who created the order

payload.userID

string

unique user identifier

payload.accountID

string

unique account identifier

payload.accountNo

string

account number

payload.created

string

when the order was created