@rakeshr
I tried that way also but on_ticks method which I have used inside while loop is not running
only one on_ticks method is running.
def on_ticks(ws,ticks):
print(ticks)
inst_token = [Token]
def on_connect(ws, response):
ws.subscri…
Thanks for your response @rakeshr
Already I am using separate method for placing the order and calculation. below are the code I am using.here I didn't use thread because I am using only one token.
I tried queue method but it takes time for calcul…