I am just curious to know what is the maximum number of instruments data can be retrieved through the web socket ? is it possible to get more than 100 instrument's data ?
Thank you. Now i noticed something when i passed certain instrument token the web socket is not able to respond. But when i checked zerodha kite. It was showing the changes there for the respective instrument. The instruments tokens are "632921" and "533278". Adani ports and Coal India respectively. But worked pretty well with instrument token 5633(ACC). May i know what causes the issue here ? for the instrument tokens 632291 and 533278 on_tick function is not even called.
def on_connect(ws): # Subscribe to a list of instrument_tokens (RELIANCE and ACC here). ws.subscribe([5633]) // works ws.subscribe([533278]) //doesn't work
You need to use instrument token for receiving ticks, you seem to be using exchange token. The correct instrument token for COALINDIA BSE is 136519172.
Are you sure you are not even receiving first tick for these instruments?
Here is the what i am doing
def on_connect(ws):
# Subscribe to a list of instrument_tokens (RELIANCE and ACC here).
ws.subscribe([5633]) // works
ws.subscribe([533278]) //doesn't work
The correct instrument token for COALINDIA BSE is 136519172.