Navigation

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

    amrutjk

    @amrutjk

    2
    Reputation
    9
    Posts
    7
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    amrutjk Follow

    Best posts made by amrutjk

    • Connect/Login using TOTP

      I am struggling with the new TOTP ...unable to connect. Can someone help with basic code ?

      SmartApi connect = new SmartApi(api_key, JWTToken, RefreshToken);
      
                 OutputBaseClass obj = new OutputBaseClass();
      
                 //Login by client code and password......... old code
                 obj = connect.GenerateSession(Client_code, Password);
                 //Login by client code and password .....new code ?? how
                 //obj = connect.GenerateSession(Client_code, Password, totp);
      

      how to get the totp and pass it to GenerateSession ?

      posted in C#/.Net SDK
      A
      amrutjk

    Latest posts made by amrutjk

    • RE: WebSocket Not returning any Tick

      @Moderator_3
      You are sending Python script in C# section ??

      posted in C#/.Net SDK
      A
      amrutjk
    • RE: AB1050 Invalid TOTP while connect.GenerateSession

      @Moderator_3 Never mind...sorted out the issue as it was with the code but the error pointed in different direction.

      posted in C#/.Net SDK
      A
      amrutjk
    • RE: AB1050 Invalid TOTP while connect.GenerateSession

      @fcoder Thanks for the library. I am facing the same issue ..."Client is blocked for trading". I am able to trade normally(manually) and also using another library, able to connect to my account.erroe.png

      posted in C#/.Net SDK
      A
      amrutjk
    • RE: Dot Net Core SMART API Client Avaialble

      Thanks for the library. The standard DLL from Angle doesn't have the functionality to pass TOTP. Your library solved this issue. I am a new bee. How to use it to place orders ? I am able to connect to my profile, get historic data and Web Socket streaming.

      posted in C#/.Net SDK
      A
      amrutjk
    • RE: Connect/Login using TOTP

      @srikanth-yarra Thanks

      posted in C#/.Net SDK
      A
      amrutjk
    • Connect/Login using TOTP

      I am struggling with the new TOTP ...unable to connect. Can someone help with basic code ?

      SmartApi connect = new SmartApi(api_key, JWTToken, RefreshToken);
      
                 OutputBaseClass obj = new OutputBaseClass();
      
                 //Login by client code and password......... old code
                 obj = connect.GenerateSession(Client_code, Password);
                 //Login by client code and password .....new code ?? how
                 //obj = connect.GenerateSession(Client_code, Password, totp);
      

      how to get the totp and pass it to GenerateSession ?

      posted in C#/.Net SDK
      A
      amrutjk
    • RE: how should I get the RSI during LIVE data feed.

      Try this library for indicators. You need to pass on the historic data.
      Can yo help me with the basic code to obtain the historic data ? I am struggling with the new TOTP ...unable to connect. hope you can help me.

      posted in C#/.Net SDK
      A
      amrutjk
    • RE: The token is invalid

      @shivdasb1996
      Can someone share the updated method to use TOtp?
      GetTotp();
      //Login by client code and password
      obj = connect.GenerateSession(Client_code, Password, Totp);

      GenerateSession method accepts only 2 parameters. How to pass totp ?

      posted in C#/.Net SDK
      A
      amrutjk
    • RE: The token is invalid

      @Nichil72
      hi, how are you managing to login with SDK not yet released for C#/Net.
      Are using an external library ? Can you share your method/code? GenerateSession accepts only 2 parameters. I see a third one in your code (GetTotp())
      thanks for the help.

      posted in C#/.Net SDK
      A
      amrutjk