Postbacks to both the postback url and websocket

mnkartik
Hi Team,

I have tried today using the websocket kite sdk and am able to get updates of the order status along with the other details successfully from OPEN -> COMPLETE state. Even CANCELED state is coming.
But we do have the positback uul, provided when registering for the APP insite kite.trade.
So when the callbacks are posted from your side, does it get streamed to both the websocket and postbacl url ?
  • rakeshr
    @mnkartik
    So when the callbacks are posted from your side, does it get streamed to both the websocket and postbacl url ?
    Yes, we stream order update data to both WebSocket callback and postback URL(if you have entered reachable https URL as postback URL in developer's setting).
  • sujith
    @mnkartik,
    We send postbacks for order update events. So the number of events you get via websocket is more than postbacks.
  • mnkartik
    Sorry for the trouble but what do you mean by more events to websocket than postbackurl. Are there any separate different list of each.

    Thank you.
  • sujith
    Postbacks are sent only when there is a partial fill on the order or an order is modified or order is executed whereas websocket order update pushes are done for open order as well and above-mentioned events.
  • sujith
    You can basically experiment with it and figure out.
  • mnkartik
    Thanks @sujith, will try it out.
This discussion has been closed.