Let me know if I am referring incorrect documentation or share where I can refer documentation of returned data from any API.
My use case is, query all gtts and process them. For example call delete all gtts using delete_gtt() but not sure how I can get access order id after calling get gtts method.
GTT orders are not considered normal orders, so when you place a GTT order, it will create a trigger ID, not an order ID like placing normal orders. You will only get the order ID when the GTT order gets triggered.
1. You have to store the GTT trigger ID at your end. use kite.get_gtt(trigger_id) 2. You can query all GTT orders by using kite.get_gtts()
I agree. I just wanted to know what get_gtts() API returns after execution ? array of trigger_id's ? Also if possible please share documentation link where I can refer what perticular API returns after execution so I can refer it, extract necessary data to make other kite api function call.
https://kite.trade/docs/connect/v3/gtt/ Above documentation is in HTTP/JSON so not able to understand as not familiar much with this. DO we have something like this in Python ?
1. You have to store the GTT trigger ID at your end. use
kite.get_gtt(trigger_id)
2. You can query all GTT orders by using
kite.get_gtts()
I agree. I just wanted to know what get_gtts() API returns after execution ? array of trigger_id's ?
Also if possible please share documentation link where I can refer what perticular API returns after execution so I can refer it, extract necessary data to make other kite api function call.
Kite Connect 3 / API documentation
https://kite.trade/docs/connect/v3/gtt/
Dont have get_gtts() example and its further use.
https://kite.trade/docs/connect/v3/gtt/
Above documentation is in HTTP/JSON so not able to understand as not familiar much with this. DO we have something like this in Python ?