I'm doing it Anaconda - iphython. really new to this, I did exactly follow the syntax: var ws = new WebSocket("wss://websocket.kite.trade/?api_key=xxx&user_id=AB0012&public_token=xxxx");
and the error was:
In [18]: var ws = new WebSocket("wss://websocket.kite.trade/?api_key=of000ff9n812127&user_id=xxxx&public_token=81c4x2f307m8hds9f326f3makd97hdy20"); File "", line 1 var ws = new WebSocket("wss://websocket.kite.trade/?api_key=of0aqff9n8aby127&user_id=xxxx&public_token=81c42qf307fa247f9f326f3b52cfcc520"); ^ SyntaxError: invalid syntax
Please note that the api_key and other information in modified and is not the right one,