It's the same code which is there in zerodha pykiteconnect...
import logging
from kiteconnect import KiteTicker
logging.basicConfig(level=logging.DEBUG)
# Initialise
kws = KiteTicker("your_api_key", "your_access_token")
def on_ticks(ws, ticks):
…
@sujith I don't know why the code is not getting pasted. But I am just trying out the example given in zerodhatech/pykiteconnect for WebSocket usage. I have already mentioned this while filing the ticket. I just don't understand why are you asking t…
I never get any ticks after this. Also it gets totally disconnected. Session ends abruptly after about 3hrs of running. It has been happening every time I try your example. I have been using MacBook Pro (Retina, 15-inch, Mid 2015), 2.2 GHz Intel Co…