HI @Ashok @luckymonu007 @vh1ne @AravindAnbalagan @kunal28
I wanted to share an example code in Java for working with Websocket 2.0 and the SmartStreamTicker class. This code can be used as a reference only and is not an official release. You can find the code on GitHub at https://github.com/angel-one/smartapi-java/pull/1/files
Please note that this code is provided as a sample only and is not an official release. It is not officially supported and should be used with caution.
This is just to give you an idea of the best practices for running a websocket, including parsing logic, and can be used as a reference only
Please let me know if you have any questions or concerns.
@luckymonu007 said in Un-reliable data:
29138
@admin123 Another example
Everything is coming zero
{"high":0,"low":0,"tradingsymbol":"JUBLINGREA-BL","ltp":0,"exchange":"NSE","close":0,"symboltoken":"2786","open":0}
Can this be fixed?
@luckymonu007 said in Websocket not re:
Re: websocket not returning ticks
I am unable to get any data in websoket.
I tried SmartAPITicker.java as given in the examle but it is not working
I have opened a new account in Angel Broking in the hope that I can use the API but unfortunately I am observing that API is not at all stable and I don't know if its a production ready.
Today I tried to use the API and it is giving error message while generating session.
Error code - AB1004
{"data":null,"message":"Something Went Wrong, Please Try After Sometime","errorcode":"AB1004","status":false}