Orders
To monitor changes in order status, such as New, Filled, or Partially Filled, you need to register this event.
socket.on('order', function (order) {
console.info("interactive socket connected successfully!");
});
When there is a change in the state of any of your orders, you will receive the following order object.
{
"LoginID": "TEST1",
"ClientID": "TEST1",
"AppOrderID": 2102100002,
"OrderReferenceID": "",
"GeneratedBy": "API",
"ExchangeOrderID": "76-1714453794213000110",
"OrderCategoryType": "NORMAL",
"ExchangeSegment": "BSECM",
"ExchangeInstrumentID": 500410,
"OrderSide": "BUY",
"OrderType": "Limit",
"ProductType": "NRML",
"TimeInForce": "DAY",
"OrderPrice": 2300,
"OrderQuantity": 10,
"OrderStopPrice": 0,
"OrderStatus": "New",
"OrderAverageTradedPrice": 0,
"LeavesQuantity": 10,
"CumulativeQuantity": 0,
"OrderDisclosedQuantity": 0,
"OrderGeneratedDateTime": "01-05-2024 15:42:38",
"ExchangeTransactTime": "01-05-2024 15:42:38",
"TradingSymbol": "ACC",
"LastUpdateDateTime": "22-09-54332193454 04:12:00",
"OrderExpiryDate": "01-01-1970 00:00:00",
"CancelRejectReason": "",
"OrderUniqueIdentifier": "abc",
"OrderLegStatus": "SingleOrderLeg",
"IsSpread": false,
"MessageCode": 0,
"MessageVersion": 0,
"TokenID": 0,
"ApplicationType": 0,
"SequenceNumber": 8,
"AlgoID": 66567,
"AlgoCategory": 0
}