@rjbanna Sorry, missed your reply.
I have the latest SDK. I will try out with your code and see it.
Will update.
@rjbanna Sorry, missed your reply.
I have the latest SDK. I will try out with your code and see it.
Will update.
I am trying to fetch market data using the Python SDK. The reference documentation I am following is from here:
https://github.com/angelbroking-github/smartapi-python
The code is copy pasted from here without the order bit. On running the code, the on_close event gets triggered with the following code and reason:
Code = 1006
Reason = "connection was closed uncleanly (I dropped the WebSocket TCP connection: global name 'JSON' is not defined)"
Is it a missing library that I need to install or some code issue? Can someone advise pls?