on_order_update details

Kamalv
Hi @sujith @rakeshr i have few questions on on_order_update. I am opening a position with LIMIT order, upon status='COMPLETE" want to place target & stop loss.

1. I can place an order during on_connect() and get order status in on_order_update callback but not sure return payload. Got some info on search, could you confirm.
https://kite.trade/docs/connect/v3/postbacks/

2. If i place 2 orders, will i get response for two orders (on_order_update)?, if yes, will it be list of dictionaries? [{order1_payload},{order2_payload}] or any other format?

3. Can i subscribe and get updates for manually placed orders?
Tagged:
  • rakeshr
    I can place an order during on_connect() and get order status in on_order_update callback but not sure return payload. Got some info on search, could you confirm.
    This thread explains more on order placement inside on_connect ticker thread. You can check websocket order update format here.
    If i place 2 orders, will i get response for two orders (on_order_update)?, if yes, will it be list of dictionaries?
    You will get order update status for all placed/pending orders.
    No, all order statuses are sent as an individual response. So, it will be dict, not a list of dict.
    Can i subscribe and get updates for manually placed orders?
    Yes, for few order status you can go through this thread to know more about this.
  • Kamalv
    @rakeshr thanks for the response. Lemme try
Sign In or Register to comment.