Is pykiteconnect's on_ticks callback called for heartbeats at all?

anonymous
I came across an answer where someone from kite team (sujith, I think) said something along the lines of not *all* heartbeats are passed to on_ticks. So is on_ticks called at all for heartbeat ticks? if yes, how can we identify that the tick is a heartbeat in python?
Similar question: is any data received by websockets if you don't close the socket after market is closed?
  • sujith
    sujith edited May 2020
    I don't think pykiteconnect calls the on_tick callback for the heartbeat ticks.
    A javakiteconnect calls onTick, even for 1-byte heartbeat messages.

    Sometimes exchange keeps sending ticks continuously with the same LTP after market hours, you will have to remove or clean it up at the end of the day.
  • anonymous
    @sujith Thank you very much!
This discussion has been closed.