Order Created

A new order has been created

Event Name

Event Type

orders.created

A new order has been created, and provides the full details of the order.

{
  "id": "event_dcadb7df-a677-4ba6-8a06-15005d4a491d",
  "type": "orders.created",
  "timestamp": "2019-03-28T22:40:03.260922189Z",
  "payload": {
    "id": "GC.f7590a52-75c7-4f3a-92c7-6b03e02dc44f",
    "orderNo": "GCWS000039",
    "type": "MARKET",
    "side": "BUY",
    "status": "NEW",
    "symbol": "AAPL",
    "averagePrice": 0,
    "cumulativeQuantity": 0,
    "quantity": 1,
    "fees": 0,
    "orderExpires": "2019-03-29T20:00:00.000Z",
    "createdBy": "b25f0d36-b4e4-41f8-b3d9-9249e46402cd",
    "userID": "b25f0d36-b4e4-41f8-b3d9-9249e46402cd",
    "accountID": "b25f0d36-b4e4-41f8-b3d9-9249e46402cd.1403540676095",
    "accountNo": "DWZR000001",
    "created": "2019-03-28T22:40:03.240Z"
  }
}

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

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.fees

number

total amount of fees paid

payload.orderExpires

string

the timestamp of when the order expires

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