Need "tag" in order postback

vineet_dhandhania
Hi,

Need "tag" in the order postback. This will help in distinguishing manual orders from algo orders.

Thanks,
Vineet

@Zerodha team: There is evidence that most people are polling order book instead of listening to order postbacks on the KiteTicker WebSocket, which is probably why there are hardly any threads on order postbacks on this forum. Asynchronous programs are harder to code than sequential ones. Perhaps, you should work towards helping people transition to postbacks from polling, by providing better documentation and code samples.

Tagged:
  • vinaykachare
    @sujith Any update on this ?
  • rakeshr
    @vineet_dhandhania
    We do send tag and tags in order postback. You can check below past postback response:
    Postback_data b'{"placed_by":"XXXXXX","order_id":"XXXXXX","exchange_order_id":"",
    "parent_order_id":"","status":"REJECTED","status_message":"XXXXXXXX",
    "status_message_raw":"XXXXXX","order_timestamp":"2020-04-27 14:08:14",
    "exchange_update_timestamp":"","exchange_timestamp":"","variety":"regular",
    "exchange":"NSE","tradingsymbol":"SBICARD","instrument_token":4600577,
    "order_type":"LIMIT","transaction_type":"BUY","validity":"DAY",
    "product":"CNC","quantity":1,"disclosed_quantity":0,"price":505,
    "trigger_price":0,"average_price":0,"filled_quantity":0,"pending_quantity":0,
    "cancelled_quantity":0,"market_protection":0,"meta":{},
    "tag":"BasketA","tags":["BasketA","BasketB"],....}'
  • ArthaKalpa
    @rakeshr @sujith
    We do get the tag in a postback and we are using it. Thanks a lot for the clarification though. However, what about this field "tags"? From the JSON you have posted, it seems to be a list of tags that the client has passed. However, there doesn't seem to be a parameter called "tags" in the documentation for place_order. Could you please clarify?
  • rakeshr
    @ArthaKalpa
    That is for one of our internal product. You may ignore this for the time being. We will add in our documentation, once live.
Sign In or Register to comment.