samco-sdk / Python-SDK

Official Python SDK for accessing Stocknote API
MIT License
15 stars 11 forks source link

set_streaming and start streaming method not working #6

Open posmad opened 3 years ago

posmad commented 3 years ago

while using set_streaming and get streaming method i got this "'Samco' object has no attribute 'set_streaming_data'" error

nilkamal-bahaji commented 3 years ago

I am getting this error error from callback <bound method StocknoteAPIPythonBridge.on_open of <snapi_py_client.snapi_bridge.StocknoteAPIPythonBridge object at 0x7f4b92dca400>>: on_open() takes 1 positional argument but 2 were given File "/var/www/html/samco/my_env/lib/python3.6/site-packages/websocket/_app.py", line 388, in _callback callback(self, *args)

PShiw commented 3 years ago

I am also facing the same issue. @nilkamal-bahaji did you got any workaround?

posmad commented 3 years ago

websocket==0.2.1 websocket-client==0.57.0 use these version of websockets it may be help

PShiw commented 3 years ago

@posmad : working with the given package versions of WebSocket and WebSocket-client.

Thanks for the quick responce.