Shoonya-Dev / ShoonyaApi-py

145 stars 134 forks source link

websocket isnt working #120

Closed scrimscourge closed 1 year ago

scrimscourge commented 1 year ago

Traceback (most recent call last): File "C:\Users\algotrader\algotrade.py", line 29, in api.start_websocket( order_update_callback=event_handler_feed_update, File "C:\Users\code\algotrader\Lib\site-packages\NorenRestApiPy\NorenApi.py", line 211, in start_websocket self.__websocket = websocket.WebSocketApp(url, ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'websocket' has no attribute 'WebSocketApp'. Did you mean: 'WebSocket'?

Shoonya-Dev commented 1 year ago

@scrimscourge

Greetings from Shoonya!

Thanks for your mail.

Solution:- pip install websocket_client

Team Shoonya