Checking the SL status using order ID

mukesh_Chaudhary
do we have any api to directly check the status of a placed order using order ID?
  • ANL
    ANL edited July 16
    Two approach,

    1. WS on_order_update, To listen for order updates, you must write your own logic.
    2. Polling API for order status

    Kite team doesn't suggest polling the order status; a better approach is to listen to the on_order_update efficiently.

    Go through: Order Status & Thread
  • ANL
    Yes, Postback is also an option but the Kite team says:
    For individual developers, Postbacks over WebSocket is recommended, where, orders placed for a particular user anywhere, for instance, web, mobile, or desktop platforms, are sent.
    So using WS is a professional approach and efficient as well.
Sign In or Register to comment.