Closed shajeeck closed 1 year ago
order quantities in market depth so1, bo1
In the shoonya websocket feed, order quantities are available as sq1
, bq1
etc. right?
Pass NorenApi.FeedType.SNAPQUOTE
to api.subscribe
like this: api.subscribe("NSE|3456", feed_type=NorenApi.FeedType.SNAPQUOTE)
. You will get depth feed of 5 levels.
Greetings from FINVASIA!
Thanks for your Concern
@shajeeck Hope Your Query has been Resolved.
How to handle this error? I am trying to connect web socket.
DEBUG:NorenRestApiPy.NorenApi:connecting to wss://shoonyatrade.finvasia.com/NorenWSTP/ WARNING:NorenRestApiPy.NorenApi:websocket run forever ended in exception, run_forever() got an unexpected keyword argument 'ping_payload' WARNING:NorenRestApiPy.NorenApi:websocket run forever ended in exception, run_forever() got an unexpected keyword argument 'ping_payload' WARNING:NorenRestApiPy.NorenApi:websocket run forever ended in exception, run_forever() got an unexpected keyword argument 'ping_payload' WARNING:NorenRestApiPy.NorenApi:websocket run forever ended in exception, run_forever() got an unexpected keyword argument 'ping_payload' WARNING:NorenRestApiPy.NorenApi:websocket run forever ended in exception, run_forever() got an unexpected keyword argument 'ping_payload' WARNING:NorenRestApiPy.NorenApi:websocket run forever ended in exception, run_forever() got an unexpected keyword argument 'ping_payload' WARNING:NorenRestApiPy.NorenApi:websocket run forever ended in exception, run_forever() got an unexpected keyword argument 'ping_payload'
Greetings from FINVASIA!
Thanks for your Concern.
Solution :- by updating the python package pip update websocket_client
websocket market feed missing all order quantities in market depth
so1, bo1
etc