GTT Order

kshema11
1 ) While placing GTT Orders via api can you support "TAG" attribute , like it is supported in normal orders it will be helpful to map GTT updates
2) When GTT triggers i am receiving only "OPEN" order status update , not getting "COMPLETE" Status Order Updates , can we receive GTT Complete Status Order Updates via "OnOrderUpdate" interface ?
  • SRIJAN
    1. Yes ,you can send tag in gtt.
    2. You will get 'COMPLETE' when the order is completely filled,for partial fills you get 'UPDATE' status.
  • kshema11
    thanks for confirming tag , may be API document needs to be updated for wider audience help.

    but for GTT order updates i tested multiple times even after order completely filled and executed ( Assume Sell GTT OCO Scenario where stocks or Option lot are completely sold ) i am only receiving the first step when GTT one of the leg order is triggered with "OPEN" status . "COMPLETE" status is not received .
    for non GTT orders i am receiving all status updates (OPEN, UPDATE,COMPLTE ...). i can re check again from my end . pls do check this scenario
  • rakeshr
    1 ) While placing GTT Orders via api can you support "TAG" attribute , like it is supported in normal orders it will be helpful to map GTT updates
    1. Yes ,you can send tag in gtt.
    No, currently GTT orders don't support tag field. We will be adding this in our new release.
    2) When GTT triggers i am receiving only "OPEN" order status update , not getting "COMPLETE" Status Order Updates , can we receive GTT Complete Status Order Updates via "OnOrderUpdate" interface ?
    Yes, you will receive COMPLETE order status on WebSocket order update but not on postback update currently for GTT orders. This will be added in new release.
  • kshema11
    i am using java WebSocket updates via kiteconnect-3.1.14.jar SDK and implemented "public interface OnOrderUpdate" so . i am receiving via WebSocket order updates only .

    i even debug the actual method "com.zerodhatech.ticker.KiteTicker.getOrder(JSONObject data) from the SDK

    for GTT only "OPEN" Orders are received .

    another issue found . "tag" value is coming as null for both normal and GTT order updates

    i have tested it again
  • kshema11
    at least for normal orders i can map via Order placement and order updates via order id , because order ID is same

    but for GTT Order the GTT Id returned from GTT Place Order is no where mapped to the Triggered order Updates

    we will not be able to technically map Which GTT triggered when multiple GTT's are placed

    todays test values

    GTT ID returned =100212889

    GTT Triggered Order ID = 220512402926255 --> this order update json message does not contain any co relation to GTT ID -> 100212889





  • logashanmugam
    logashanmugam edited November 2023
    Hi guys. Any update on this. Is Tags working fine on GTT now?
  • sujith
    The new GTT API is still a work in progress. We will provide it once it goes live.
Sign In or Register to comment.