Ticker not working
-
@admin Ticker is not giving any data.
subscribe() called!
ticker data: [{"msg":"cn","task":"cn","ak":"nk"}]
ticker data: [{"msg":"mw","task":"mw","ak":"nk"}]
ticker data: [{"msg":"hb","task":"hb","ak":"nk"}] -
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 websocket is migrated to new endpoint. unfortunately no wrapper available for that in java. only python was released by AB.
Only python is available
-
@luckymonu007 I am facing same issue from 15 NOV .Is there any change .Can you please help
-
@luckymonu007 Could u plz let us know, how it got solved as I am also getting same issue.
-
@admin I am able to get data for reliance using
String strWatchListScript = "nse_cm|2885";
String task = "mw";but not able to subscribe to Nifty or banknifty index
I used
String strWatchListScript = "nse_cm|26000";
String task = "mw";aslo tried sending taks as "sfi"
I am using Java SDK please help me get index and fno tick data. -
@admin Thank you. Its working now