We have been testing Java code for subscribing to BankNifty options. When we executed the code from 13:37:05 to 15:32:30 pm, we noticed that for
1 hour 55 mins 25 seconds = 6925 seconds period, we received 10052 ticks. This is 1.45 ticks per second.
Later we tried to run the same code by subscribing to 5 instruments - BANKNIFTY22APR38700CE, BANKNIFTY22APR38600CE, BANKNIFTY22APR38800CE, BANKNIFTY22APR38500PE and BANKNIFTY22APR38400PE.
We executed the code from 10:27 to 11:09 AM IST Elapsed time = 0 hours, 42 minutes and 25 seconds = 2545 seconds Total ticks received = 9491 This is 0.745 ticks per second
We have noticed that we are getting only half as many ticks per instrument per second when we subscribe to more instruments and the number of ticks per second seems to never exceed 4. Is this a limitation of Kite APIs? Can you please advise?
You get tick a only whenever there is a change in any of the tick fields. There is no limitation on the number of ticks by KiteConnect. KiteConnect just relays whatever they get from the exchange without any modifications.