Order
Notify different order status
New Order Single
Limit Order
Notifies when limit order has been placed
Body
{
"messageId": "7e482d92-036c-4e3e-9203-dbbf31e39408",
"messageType": "NEW_ORDER_SINGLE",
"messageTime": "2023-12-14T01:24:03.102Z",
"message": {
"orderId": "ORD123456789",
"clientOrderId": "CLIENT12345",
"placedAt": "2023-12-14T01:24:03.000Z",
"orderType": "LIMIT",
"expireTime": "2023-12-14T01:30:00.000Z",
"orderStatus": "PENDING_NEW",
"timeInForce": "DAY",
"execInst": "AON",
"pair": "BTC-USD",
"side": "BUY",
"orderQuantity": "0.5",
"currency": "USD",
"limitPrice": "23400.50",
"accountId": "ACC987654321",
"lastPrice": null,
"avgPrice": null,
"fillPrice": null,
"cumulativeQty": "0",
"fillQty": "0",
"leavesQty": "0.5",
"customerId": "CUST001",
"clientReference": "REF123456",
"clientFeeRate": "50",
"providerFeeRate": "20"
}
}
Order Rejected
Notifies when order has been rejected
Body
{
"messageId": "7e482d92-036c-4e3e-9203-dbbf31e39408",
"messageType": "ORDER_REJECTED",
"messageTime": "2023-12-14T01:24:03.102Z",
"message": {
"orderId": "ORD123456789",
"clientOrderId": "CLIENT12345",
"orderStatus": "REJECTED",
"accountId": "ACC987654321",
"rejectedAt": "2023-12-14T01:24:03.102Z",
"orderRejectReason": "Rejection Reason"
}
}
Order Filled
Market Order
Notifies when Market order has been filled
Body
{
"messageId": "7e482d92-036c-4e3e-9203-dbbf31e39408",
"messageType": "ORDER_FILLED",
"messageTime": "2023-12-14T01:24:03.102Z",
"message": {
"orderId": "ORD123456789",
"clientOrderId": "CLIENT12345",
"placedAt": "2023-12-14T01:24:03.000Z",
"orderType": "MARKET",
"orderStatus": "FILLED",
"execInst": "AON",
"pair": "BTC-USD",
"side": "BUY",
"orderQuantity": "0.5",
"currency": "USD",
"accountId": "ACC987654321",
"lastPrice": "23400.50",
"avgPrice": "23400.50",
"fillPrice": "23400.50",
"cumulativeQty": "0.5",
"fillQty": "0.5",
"leavesQty": "0",
"customerId": "CUST001",
"clientReference": "REF123456",
"clientFeeRate": "50",
"providerFeeRate": "20",
"completedAt": "2023-12-14T01:30:00.000Z"
}
}
Limit Order
Notifies when Limit order has been filled
Body
{
"messageId": "7e482d92-036c-4e3e-9203-dbbf31e39408",
"messageType": "ORDER_FILLED",
"messageTime": "2023-12-14T01:24:03.102Z",
"message": {
"orderId": "ORD123456789",
"clientOrderId": "CLIENT12345",
"placedAt": "2023-12-14T01:24:03.000Z",
"orderType": "LIMIT",
"expireTime": "2023-12-14T01:30:00.000Z",
"orderStatus": "FILLED",
"timeInForce": "DAY",
"execInst": "AON",
"pair": "BTC-USD",
"side": "BUY",
"orderQuantity": "0.5",
"currency": "USD",
"limitPrice": "23400.50",
"accountId": "ACC987654321",
"lastPrice": "23400.50",
"avgPrice": "23400.50",
"fillPrice": "23400.50",
"cumulativeQty": "0.5",
"fillQty": "0.5",
"leavesQty": "0",
"customerId": "CUST001",
"clientReference": "REF123456",
"clientFeeRate": "50",
"providerFeeRate": "20"
"completedAt": "2023-12-14T01:30:00.000Z"
}
}
Order Cancelled
Notifies when order has been cancelled
Body
{
"messageId": "7e482d92-036c-4e3e-9203-dbbf31e39408",
"messageType": "ORDER_CANCELLED",
"messageTime": "2023-12-14T01:24:03.102Z",
"message": {
"orderId": "ORD123456789",
"clientOrderId": "CLIENT12345",
"orderStatus": "CANCELLED",
"accountId": "ACC987654321",
"cancelledAt": "2023-12-14T01:24:03.102Z"
}
}
Order Expired
Notifies when order has been expired
Body
{
"messageId": "7e482d92-036c-4e3e-9203-dbbf31e39408",
"messageType": "ORDER_EXPIRED",
"messageTime": "2023-12-14T01:24:03.102Z",
"message": {
"orderId": "ORD123456789",
"clientOrderId": "CLIENT12345",
"orderStatus": "EXPIRED",
"accountId": "ACC987654321",
"expiredAt": "2023-12-14T01:24:03.102Z"
}
}
Last updated