I am trying to fetch 2000 instrument token details using kite.connect(thread=False).
For the first iteration I am getting the details for all tokens. But from the second time onward, I am getting the details for less than 100 tokens. Also that count is getting changed for each iteration. I am keeping the connection open and not closing it.
I am using the same sample code in your git hub link. Only thing I am changing is instrument list, where I am subscribing 2000 tokens(I believe that is the limit for one connection). https://github.com/zerodhatech/pykiteconnect
When a client subscribes for ticks. Initially, Kite Ticker sends a cached tick. Hence you can see ticks for all the instruments. Post that data is sent whenever there is a change in the subscribed data.
Let us say you subscribe for an instrument in modeLTP, you will receive tick only when there is a change in LTP. In the same way, if you subscribe for an instrument in modeFull you will receive tick when there is a change in marketdepth also.
For highly liquid instruments you can expect up to 1 tick per second.
Let us say you subscribe for an instrument in modeLTP, you will receive tick only when there is a change in LTP. In the same way, if you subscribe for an instrument in modeFull you will receive tick when there is a change in marketdepth also.
For highly liquid instruments you can expect up to 1 tick per second.