You need to check if the ticks list size is more than zero then only you should perform the action. Kite Ticker sends a heartbeat signal every second to make sure connection is intact, which will have 0-byte ticks.
ticks list size is more than zero, i am getting lasttrading price value when tried for timestamp of the tick it is returning null. Are there any changes we need to make to enable tick time stamp. Please let me know
You can check what is the mode before trying to print timestamp. Kite Ticker subscribes to quote mode by default. You need to set full mode explicitly after subscribing for a tick.
Kite Ticker sends a heartbeat signal every second to make sure connection is intact, which will have 0-byte ticks.