@rakeshr I checked and the instrument token is being passed as a number (below is the code)
def on_connect(ws,response):
ws.subscribe([177655])
ws.set_mode(ws.MODE_QUOTE,[177655])
@rakeshr I tried using the default python setup and I am getting the below error first
>>> def on_ticks(ws,ticks):
... print(ticks)
... print("\n")
...
>>> def on_connect(ws,response):
... ws.subscribe([177655])
... …