My code needs to place new orders when a stop loss is hit for which I need to keep polling the Kite.Orders API to know the status of the order. Is there any other way to get this information instead of polling every second?
Thanks Sujith. Right now I am not using websocket programming. I am facing "ReactorNotRestartable" errors with websockets, so end up restarting kernel every time. Are we supposed to use web sockets?