Ticker Order Update

pp2025
I have a kite-ticker waiting on order updates. On cancel from the KiteConnect API and also from the Kite UI getting 2 messages in order update with Status 'CANCELLED' . Also in the Kite Order history also i can see 2 cancel messages . Is this expected ?

I have some code in order update and how can distinguish between these messages and drop one of the messages ?

Below are 2 messages got in kite ticker order update

-------------------------------------
2025-09-02 10:45:33,793 - {'account_id': '', 'unfilled_quantity': 0, 'checksum': '', 'placed_by': '', 'order_id': '250902600447407', 'exchange_order_id': '1100000020852183', 'parent_order_id': None, 'status': 'CANCELLED', 'status_message': None, 'status_message_raw': None, 'order_timestamp': '2025-09-02 10:45:33', 'exchange_update_timestamp': '2025-09-02 10:45:33', 'exchange_timestamp': '2025-09-02 10:45:33', 'variety': 'regular', 'exchange': 'NSE', 'tradingsymbol': 'ETERNAL', 'instrument_token': 1304833, 'order_type': 'LIMIT', 'transaction_type': 'SELL', 'validity': 'DAY', 'product': 'MIS', 'quantity': 1, 'disclosed_quantity': 0, 'price': 350, 'trigger_price': 0, 'average_price': 0, 'filled_quantity': 0, 'pending_quantity': 0, 'cancelled_quantity': 1, 'market_protection': 0, 'meta': {}, 'tag': None, 'guid': ''}
-------------------------------------
2025-09-02 10:45:33,797 {'account_id': '', 'unfilled_quantity': 0, 'checksum': '', 'placed_by': '', 'order_id': '250902600447407', 'exchange_order_id': '1100000020852183', 'parent_order_id': None, 'status': 'CANCELLED', 'status_message': None, 'status_message_raw': None, 'order_timestamp': '2025-09-02 10:45:33', 'exchange_update_timestamp': '2025-09-02 10:45:33', 'exchange_timestamp': '2025-09-02 10:45:33', 'variety': 'regular', 'exchange': 'NSE', 'tradingsymbol': 'ETERNAL', 'instrument_token': 1304833, 'order_type': 'LIMIT', 'transaction_type': 'SELL', 'validity': 'DAY', 'product': 'MIS', 'quantity': 1, 'disclosed_quantity': 0, 'price': 350, 'trigger_price': 0, 'average_price': 0, 'filled_quantity': 0, 'pending_quantity': 1, 'cancelled_quantity': 1, 'market_protection': 0, 'meta': {}, 'tag': None, 'guid': ''}
-------------------------------------

Also below is the order history from Kite UI. Check the timestamp of Exch. time , Exch. update after cancel. It is showing order time only. Is this correct?

After placing Order order history

Time Status Exch. time Exch. update Qty. Filled qty. Avg. price Price
10:44:02 OPEN 10:44:02 10:44:02 1 0 0 350
10:44:02 OPEN PENDING — — 1 0 0 350
10:44:02 VALIDATION PENDING — — 1 0 0 350
10:44:02 PUT ORDER REQ RECEIVED — — 1 0 0 350

-------------------------------------
After Cancel from Kite UI order history

Time Status Exch. time Exch. update Qty. Filled qty. Avg. price Price
10:45:33 CANCELLED 10:45:33 10:45:33 1 0 0 350
10:45:33 CANCELLED 10:45:33 10:45:33 1 0 0 350
10:45:33 CANCEL PENDING 10:44:02 10:44:02 1 0 0 350
10:44:02 OPEN 10:44:02 10:44:02 1 0 0 350
10:44:02 OPEN PENDING — — 1 0 0 350
10:44:02 VALIDATION PENDING — — 1 0 0 350
10:44:02 PUT ORDER REQ RECEIVED


  • sujith
    These order updates originate from OMS, we just pass on whatever async messages sent by the OMS.
    It is a know limitation. You may refer to this thread.
Sign In or Register to comment.