It looks like you're new here. If you want to get involved, click one of these buttons!
2020-02-19 11:59:02: {
"placed_by":"XXXXXX",
"order_id":"22222222222222",
"exchange_order_id":"1111111111111111",
"parent_order_id":"",
"status":"COMPLETE",
"status_message":"",
"status_message_raw":"",
"order_timestamp":"2020-02-19 11:59:02",
"exchange_update_timestamp":"2020-02-19 11:59:02",
"exchange_timestamp":"2020-02-19 11:59:02",
"variety":"regular",
"exchange":"NSE",
"tradingsymbol":"NIITLTD",
"instrument_token":2949633,
"order_type":"MARKET",
"transaction_type":"BUY",
"validity":"DAY",
"product":"CNC",
"quantity":18,
"disclosed_quantity":0,
"price":0,
"trigger_price":0,
"average_price":109.4,
"filled_quantity":18,
"pending_quantity":0,
"cancelled_quantity":0,
"market_protection":0,
"meta":{},
"tag":"",
"guid":"14292XWKARw23G4OaN",
"user_id":"XXXXXX",
"unfilled_quantity":0,
"app_id":XXXXX,
"checksum":"93ac76078cfccc1ae378fdb98fc1ce23bbf2386a74a8cf94c4227ee278c30672"
}
2020-02-19 11:59:02: {
"placed_by":"XXXXXX",
"order_id":"22222222222222",
"exchange_order_id":"1111111111111111",
"parent_order_id":"",
"status":"UPDATE",
"status_message":"",
"status_message_raw":"",
"order_timestamp":"2020-02-19 11:59:02",
"exchange_update_timestamp":"2020-02-19 11:59:02",
"exchange_timestamp":"2020-02-19 11:59:02",
"variety":"regular",
"exchange":"NSE",
"tradingsymbol":"NIITLTD",
"instrument_token":2949633,
"order_type":"MARKET",
"transaction_type":"BUY",
"validity":"DAY",
"product":"CNC",
"quantity":18,
"disclosed_quantity":0,
"price":0,
"trigger_price":0,
"average_price":109.4,
"filled_quantity":11,
"pending_quantity":0,
"cancelled_quantity":0,
"market_protection":0,
"meta":{},
"tag":"",
"guid":"14292XWKARw23G4OaN",
"user_id":"XXXXXX",
"unfilled_quantity":0,
"app_id":XXXXX,
"checksum":"93ac76078cfccc1ae378fdb98fc1ce23bbf2386a74a8cf94c4227ee278c30672"
}
An executed order will either have the status COMPLETE, CANCELLED, REJECTED. If you see any of these statuses for an order then don't replace the status with UPDATE.