websocket error send_request() missing 1 required positional argument: 'task'
-
While streaming data, getting below error.
2022-02-10 10:40:43,smartapi.webSocket - DEBUG - Connection closed: 1006 - connection was closed uncleanly (I dropped the WebSocket TCP connection: send_request() missing 1 required positional argument: 'task')
code sample :
ss = WebSocket(FEED_TOKEN, CLIENT_CODE)
def on_tick(ws, tick):
logging.debug("Starting with tickdata")
1 out of 1