Tick Data is not returning all the instrument details

ZX0705
Hi Team,

I have subscribed to 128 instruments, but tickdata returns lesser data than 128 on each tick except the first one. Could you please help me on this.

When I print the number of rows it has lesser rows than subscribed instruments. You could see the output below.

def Vallidation(ticks):
DFTICKDATA = pd.DataFrame(ticks)

if not (len(DFTICKDATA.index) == len(dfInstruments.index)):
print("NOT WORKING - DFTICKDATA dfInstruments rows is " + str(len(DFTICKDATA.index)) + str(len(dfInstruments.index)) + str(datetime.now()))
ERR = 1
else:
#Do Analysis

OutPut:
NOT WORKING - DFTICKDATA dfInstruments rows is 105 128 2021-07-05 13:41:52.201210
NOT WORKING - DFTICKDATA dfInstruments rows is 120 128 2021-07-05 13:41:52.845613
NOT WORKING - DFTICKDATA dfInstruments rows is 68 128 2021-07-05 13:41:53.281216
NOT WORKING - DFTICKDATA dfInstruments rows is 118 128 2021-07-05 13:41:53.918019
NOT WORKING - DFTICKDATA dfInstruments rows is 102 128 2021-07-05 13:41:54.567022
  • sujith
    sujith edited July 5
    Kite Ticker will only broadcast when there is a change. You can check out Websockets FAQs to know more.
Sign In or Register to comment.