One doesn't have to subscribe for order updates on Websockets. If you are connected then you will receive order updates. You can check out the documentation here.
Your code looks correct. on_ticks ticker method should be called properly. But,we feel as it's continous while loop print("i am from main -> after kws.connect(threaded=True)"
There will be one entry of a tradingsymbol traded at an exchange in a day. Even if you have traded multiple times in a day, there will be only one entry.
eg: def on_ticks(ws,ticks):<br />#Pass the tick data to Queue using celery,rq,etc<br />#Using celery delay method here to call helper_method task<br />helper_method.delay(ticks)<b
My code is as follows. def on_ticks(ws, ticks):<br /># Callback to receive ticks.<br />#print(ticks)<br />insert_tick(ticks)<br />return<br />def on_connect(ws, response)
From the document https://kite.trade/docs/connect/v3/orders/#placing-orders, the tag associated to each order is mentioned as 8 chars max,. but I did try more than that to 20 chars and it worked. For