Have a question about coding conditional orders via Kite APIs. For example, if nifty future is currently at 8830 and I am holding a long call and would like to close the call, if nifty future goes below 8780. There are APIs to receive the last traded price of nifty future, and if I query the same every second and if anytime future is seen below 8780, can fire a market order to sell the call.
Kindly note, the future level is not fixed, so will need to be changing that once in a while.
The questions are, 1) Is it allowed to program this logic? Or would it be considered as algo programming which may required auditing/special approval etc.. 2) Are there apis to input the future levels without editing the code snipet everytime? something like a text input etc. 3) The code can be edited few times a day also or it go via some review/approval process and its is best not to edit it often?
Hi @gunsho, You can use websockets to get LTP instead of polling for LTP every second. You can place a limit order to exit your position. You can check out documentation for more information.
For approvals related queries please send a mail to [email protected], someone from our team will get in touch with you.
You can use websockets to get LTP instead of polling for LTP every second. You can place a limit order to exit your position. You can check out documentation for more information.
For approvals related queries please send a mail to [email protected], someone from our team will get in touch with you.
Sure will check with rainmatter.com regarding approval.
Regards
Please send a mail to [email protected] for approval related queries.