Order Completed
Event Code | Description |
---|---|
orders.completed | The order has been filled, contains details of the full order. This event is considered to be a terminal state of the order. |
{
"eventId": "398e788c-8b31-4e19-863f-ed5726b3afa4",
"eventCd": "orders.completed",
"timestamp": "2022-04-25T15:10:00.062Z",
"payload": {
"orderId": "8cd9802a-9c09-45fb-9a4e-e0b48307f665",
"symbol": "FB",
"type": "LIMIT",
"side": "BUY",
"category": "stock",
"fees": 0.3,
"status": "FILLED|CANCELED|REJECTED",
"statusDesc": "<Cancel/Rejection Reason>",
"created": "2022-04-25T08:18:56.138Z",
"custId": "b6e7447b-0a99-4cd6-9e52-08457ca71de2",
"quantity": 3,
"cumulativeQuantity": 3,
"averagePrice": 182.9,
"totalInvestment": 548.7,
"transactDate": "2022-04-25T15:10:00.062Z"
}
}
{
"eventId": "398e788c-8b31-4e19-863f-ed5726b3afa4",
"eventCd": "orders.completed",
"payload": {
"orderId": "8cd9802a-9c09-45fb-9a4e-e0b48307f665",
"symbol": "FB",
"type": "LIMIT",
"side": "BUY",
"category": "stack",
"fees": 0.3,
"status": "FILLED",
"created": "2022-04-25T08:18:56.138Z",
"customerID": "b6e7447b-0a99-4cd6-9e52-08457ca71de2",
"totalInvestment": 548.7,
"transactDate": "2022-04-25T15:10:00.062Z"
},
"timestamp": "2022-04-25T15:10:00.062Z"
}
Event Fields Description
Field | Type | Description |
---|---|---|
eventId | string | Unique Event Identifier |
eventCd | string | Event Type |
payload | object | Payload Object with the Details about the Order |
payload.orderId | string | Unique Order Identifier |
payload.symbol | string | Symbol of the Ticker |
payload.type | string | Type of the Order |
payload.side | string | Order Side : BUY or SELL |
payload.category | string | Type of Order : stack or stock |
payload.fees | number | Total Fees Paid |
payload.status | string | Status of the Completed Order :FILLED or REJECTED or CANCELED |
payload.statusDesc | srting | Reason for Cancel / Rejection. Available only for CANCELED & REJECTED status events. |
payload.created | string | Time when the order got created |
payload.customerId | string | Unique Customer Identifier |
payload.quantity | number | Requested Order Quantity. Note: Available for only stock category. |
payload.cumulativeQuantity | number | Total Quantity Executed Note: Available for only stock category. |
payload.averagePrice | number | Average Price of the Order Note: Available for only stock category. |
payload.totalInvestment | number | Total Order Amount |
payload.transactDate | string | Time of Order Execution |
timestamp | string | Time of the Queue Entry |
Updated over 2 years ago