Hi Team,
Am using python for my Algo. And able to fetch the data from web socket.
But at a time am able to run two strategies only. When I try to run the third one, its throwing error for the previous strategy.
Below are the error details. Please help me in fixing this.
Exception in thread WebSocketClient:
Traceback (most recent call last):
File “C:\Python311\Lib\threading.py”, line 1038, in _bootstrap_inner
self.run()
File “C:\Python311\Lib\threading.py”, line 975, in run
self._target(*self._args, **self._kwargs)
File “C:\Python311\Lib\site-packages\ws4py\websocket.py”, line 531, in run
self.terminate()
File “C:\Python311\Lib\site-packages\ws4py\websocket.py”, line 433, in terminate
self.closed(s.closing.code, s.closing.reason)
TypeError: WsClient.closed() takes 1 positional argument but 3 were given