I'm using Kite Connect for individual accounts successfully. For a multi-user setup, I explored Kite Publisher and noticed it doesn’t support postbacks/webhooks like Kite Connect.
My main confusion is:
With a Publisher API key, how do we track full order lifecycle updates such as:
order placed but not executed
order partially/fully filled
order rejected
order remaining pending and getting cancelled at end of day
long-duration orders that get completed after some time (e.g., T+1 fills or delayed executions)
Since Publisher API does not provide postbacks, what is the correct or recommended way to reliably get these order updates per user?
Am I missing an intended flow, or is Kite Connect still required alongside Publisher for tracking order status in a multi-user application?
Kite Publisher is primarily intended for order placement and does not support Postbacks/WebHooks for order status updates.
If your application requires reliable tracking of the complete order lifecycle (such as OPEN, COMPLETE, REJECTED, CANCELLED, TRIGGER PENDING, and partial executions), you should use Postbacks/WebHooks that send asynchronous notifications to your application whenever an order's status changes. This eliminates the need for continuous polling and is well suited for platforms where a single api_key is used to place orders for multiple authenticated users. Please note that Postbacks are only sent to a third-party app if the order is placed through that app. Orders placed on Kite web, mobile app, or any other platform will not trigger Postbacks for the third-party app.
If your application requires reliable tracking of the complete order lifecycle (such as OPEN, COMPLETE, REJECTED, CANCELLED, TRIGGER PENDING, and partial executions), you should use Postbacks/WebHooks that send asynchronous notifications to your application whenever an order's status changes. This eliminates the need for continuous polling and is well suited for platforms where a single
api_keyis used to place orders for multiple authenticated users. Please note that Postbacks are only sent to a third-party app if the order is placed through that app. Orders placed on Kite web, mobile app, or any other platform will not trigger Postbacks for the third-party app.Please refer to the Postbacks/WebHooks API documentation. You may refer to the similar discussion here.