Ok understood. Thanks for the explanation.
I placed a GTT order from my program and it got executed when the required price was met. However I didnt receive a postback call (I receive these postbacks when I place normal orders). The documentation …
ok understood. what is the logic of requiring the LTP in the API - as in that is something that the zerodha server would know itself. is it so that trigger itself gets created only when ltp becomes equal to the LTP provided in the API call?
Thanks for the response Sujith.
A follow up question is that in GTT orders, do we have to fetch the LTP price and then send that in the GTT request or can we send anything like a fixed number like '1' there. Is that field used in the API call?
S…
Thank you for the response.
Is there some sample code for the margins API - on how to use that? I want to cancel order pending MIS order if margin is below threshold.
Also how will the cancellation behave if the MIS order has been partially execut…
I am not able to get postback to work . I have the following code (this works fine when I test using postman.
kite = get_kite_client()
logging.info("Callback received")
json_payload = json.loads(request.data)
if json_payload['status…
I was trying to automate the login (request token related) and came across a couple of options using selenium and others. is there a official way on how that should be done. due to numerous attempts, my account got locked and I had to reset once. a …
Thanks so much. I had put the numerical clientID. Instead it worked when I put the alphanumeric Client ID which I use to login. When I corrected that, it worked.