Ticker data always returns ticker data: [{"msg":"hb","task":"hb","ak":"nk"}] no matter which scrip is subscribed also orders are not getting placed it returns AG8001 invalid token error
V
vh1ne
@vh1ne
0
Reputation
3
Posts
1
Profile views
0
Followers
0
Following
Best posts made by vh1ne
This user hasn't posted anything yet.
Latest posts made by vh1ne
-
Ticker data always returns ticker data: [{"msg":"hb","task":"hb","ak":"nk"}]
-
RE: Ticker not working
@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. -
RE: How to automate totp in java sdk
Add following dependency to your maven project or download jar and add to class path
<dependency>
<groupId>com.warrenstrange</groupId>
<artifactId>googleauth</artifactId>
<version>1.4.0</version>
</dependency>then add follwoing code
GoogleAuthenticator gAuth = new GoogleAuthenticator();
var totpcode = String.valueOf(gAuth.getTotpPassword(totp_key));pass this totpcode to method