Its working now. But after every 3 or 4 ticks the connection closes and reconnects.
Can someone provide solution for this? Any reference to code sample will help me. Thank you.
@sujith - I made mistake. instead of passing string variable i passed string value.
kws = KiteTicker("api_key", "access_token")
Now it is throwing different error
2019-10-11 12:26:39,917 ERROR MainProcess ticker.py:660 Connection error: 1006 …