A small question on the order time stamp of an order, can it be same for different states of an order like for OPEN, PENDING, UPDATE, REJECTED.
All these order updates have one thing in common is order_id, what could be the unique attribute in each order so that all the order updates can be stored based on the same.
Yes, because the data on KiteConnect doesn't have milliseconds precision. So,various statuses can have the same timestamp ,as this process happens instantly.
https://kite.trade/docs/connect/v3/orders/#placing-orders
You can store orders based on order_id. It is unique for every order.
You can also add a unique tag to every order:
https://kite.trade/docs/connect/v3/orders/#tagging-orders