Navigation

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

    Posts made by AravindAnbalagan

    • Robo order not support MCX

      Helle Folks,

      Could you please someone clarify my doubts.

      1. Is Robo would be applicable for all the exchange. I have tried for MCX, getting an error stating not supported.

      2. If robo order not supported for MCX, then what would be best to place sl and target together using java sdk.

      Thanks in advance.

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • RE: com.neovisionaries.ws.client.WebSocketException: Failed to connect to 'wsfeeds.angelbroking.com:443': Connection timed out: connect

      Hello @Moderator_2 @Rajen @Rishab @pavi-jun2

      I just started using Websocket using Java SDK and got the same error.
      I'm using a 2.2.1 jar, could you please let me know, how to resolve it.
      Thanks in advance.

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • RE: Facing issue in TOTP Automation

      @dipeshbodas

      public static String key = "Agf5EKgf2EGRTGRGgf7DOKSJI6gfSZG66Q";
      public static String clientID = "XXXXX";

      public static String clientPass = "0000";
      public static String apiKey = "ggklv44L";

      GoogleAuthenticator gAuth = new GoogleAuthenticator();
      String code = String.valueOf( gAuth.getTotpPassword(key));

      smartConnect = new SmartConnect(apiKey);
      user = Optional.ofNullable(smartConnect.generateSession(clientID, clientPass, code));

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • RE: Unable to get option chain in AWS EC2-same works in local

      Hello @justvarshney , Could u plz confirm that from NSE website u would be able to get the data from EC2.

      From local its works for me, but not in EC2 due to security.

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • Unable to get option chain in AWS EC2-same works in local

      Hello @admin and Team

      Any suggestion would be appreciated.

      I am getting a nifty option chain by using below public API, which works fine post adding the cookies.

      API: https://www.nseindia.com/api/option-chain-indices?symbol=NIFTY

      But when I deploy the same to AWS EC2, unable to receive a response, the API call is unresponsive.

      How to get option chain details in AngelOne or solve the above-mentioned issue?

      Thanks in advance.

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • RE: Need assistance on web Socket call

      @admin Thank you

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • RE: Ticker not working

      @luckymonu007 Could u plz let us know, how it got solved as I am also getting same issue.

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • Need assistance on web Socket call

      Hello @admin

      Yesterday onwards websocket.tickerUsage() stopped working, I request you to share any references for the same using java.
      Any help is appreciated!

      String strWatchListScript = "mcx_fo|243301";
      String task = "sfi";
      examples.tickerUsage(clientID, feedToken, strWatchListScript, task);

      Sample Response :

      subscribe() called!
      ticker data: [{"msg":"cn","task":"cn","ak":"nk"}]
      ticker data: [{"msg":"bh","task":"bh","ak":"nk"}]
      ticker data: [{"msg":"hb","task":"hb","ak":"nk"}]

      Thanks

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • RE: Facing issue in TOTP Automation

      @Rishab Sure

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • RE: Facing issue in TOTP Automation

      Issue got resolved by passing key in the getTOTPCode(key).

      posted in NodeJS SDK
      A
      AravindAnbalagan
    • Facing issue in TOTP Automation

      Hello Folks

      I trying to get the TOTP through java but was unable to make it work.

      Below is the code snippet, I request to help on this.

      String key = "";
      String clientID = "";
      String clientPass = ""
      String apiKey = ""

      	String totp = getTOTPCode(apiKey);
      	
      	
      	GoogleAuthenticator gAuth = new GoogleAuthenticator();
      	String code = String.valueOf( gAuth.getTotpPassword(totp));
      
      	
      	SmartConnect smartConnect = new SmartConnect(apiKey);
      	
      	smartConnect = new SmartConnect(apiKey);
      	User user = smartConnect.generateSession(clientID, clientPass, code); // getting "message":"Invalid totp","errorcode":"AB1050"
      	String feedToken = user.getFeedToken();
      	System.out.println("feedToken " +feedToken);
      	smartConnect.setAccessToken(user.getAccessToken());
      	smartConnect.setUserId(user.getUserId());
      
      posted in NodeJS SDK
      A
      AravindAnbalagan