Shoonya-Dev/ShoonyaApi-py

websocket isnt working

Closed this issue · 1 comments

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'?

@scrimscourge

Greetings from Shoonya!

Thanks for your mail.

Solution:- pip install websocket_client

Team Shoonya