Websocket Postbacks for order completion from OPEN to COMPLETE are not in sequence

mnkartik
Hi Team,

I have tried the websocket postbacks and found a behaviour where in once the order is open and completed, the events are coming in the other sequence ( COMPLETE and OPEN ). Even the timestamps are same. Request to know what could be the reason. And this behaviour is mostly when the order is put to MARKET.

2-{"exchangeOrderId":"1300000007492076","disclosedQuantity":"0","validity":"DAY","tradingSymbol":"YESBANK","orderVariety":"regular","userId":null,"orderType":"MARKET","triggerPrice":"0","statusMessage":null,"price":"0","status":"COMPLETE","product":"MIS","accountId":"RK4582","exchange":"NSE","orderId":"200128002594868","symbol":null,"pendingQuantity":"0","orderTimestamp":"2020-01-28T08:40:26.000+0000","exchangeTimestamp":"2020-01-28T08:40:26.000+0000","averagePrice":"42.25","transactionType":"BUY","filledQuantity":"1","quantity":"1","parentOrderId":null,"tag":null}

3-{"exchangeOrderId":"1300000007492076","disclosedQuantity":"0","validity":"DAY","tradingSymbol":"YESBANK","orderVariety":"regular","userId":null,"orderType":"MARKET","triggerPrice":"0","statusMessage":null,"price":"0","status":"OPEN","product":"MIS","accountId":"RK4582","exchange":"NSE","orderId":"200128002594868","symbol":null,"pendingQuantity":"1","orderTimestamp":"2020-01-28T08:40:26.000+0000","exchangeTimestamp":"2020-01-28T08:40:26.000+0000","averagePrice":"0","transactionType":"BUY","filledQuantity":"0","quantity":"1","parentOrderId":null,"tag":null}

4-{"exchangeOrderId":"1000000007464853","disclosedQuantity":"0","validity":"DAY","tradingSymbol":"CIPLA","orderVariety":"regular","userId":null,"orderType":"MARKET","triggerPrice":"0","statusMessage":null,"price":"0","status":"COMPLETE","product":"MIS","accountId":"RK4582","exchange":"NSE","orderId":"200128002599033","symbol":null,"pendingQuantity":"0","orderTimestamp":"2020-01-28T08:41:00.000+0000","exchangeTimestamp":"2020-01-28T08:41:00.000+0000","averagePrice":"465","transactionType":"BUY","filledQuantity":"1","quantity":"1","parentOrderId":null,"tag":null}

5-{"exchangeOrderId":"1000000007464853","disclosedQuantity":"0","validity":"DAY","tradingSymbol":"CIPLA","orderVariety":"regular","userId":null,"orderType":"MARKET","triggerPrice":"0","statusMessage":null,"price":"0","status":"OPEN","product":"MIS","accountId":"RK4582","exchange":"NSE","orderId":"200128002599033","symbol":null,"pendingQuantity":"1","orderTimestamp":"2020-01-28T08:41:00.000+0000","exchangeTimestamp":"2020-01-28T08:41:00.000+0000","averagePrice":"0","transactionType":"BUY","filledQuantity":"0","quantity":"1","parentOrderId":null,"tag":null}

--
Thank you.
This discussion has been closed.