It looks like you're new here. If you want to get involved, click one of these buttons!
kws = WebSocket("api_key", "public_token", "zerodha_user_id")
https://github.com/zerodha/kite-connect-python-example/blob/master/db.py