Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. vh1ne
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Groups 0

    vh1ne

    @vh1ne

    0
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    vh1ne Unfollow Follow

    Latest posts made by vh1ne

    • Ticker data always returns ticker data: [{"msg":"hb","task":"hb","ak":"nk"}]

      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

      posted in NodeJS SDK
      V
      vh1ne
    • 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.

      posted in NodeJS SDK
      V
      vh1ne
    • 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

      posted in NodeJS SDK
      V
      vh1ne