Questions on programming conditional orders

gunsho
Hello there,

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?

Thanks and Regards,
Murali
This discussion has been closed.