Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Unable to login to api | please help ASAP

    Python SDK
    0
    8
    79
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shivdasb1996 last edited by shivdasb1996

      I have multiple account of my family.
      i have developed an algo to punch same orders in all of them.
      i am not able to get logged in into system.

      the same algo i am running from last 3 weeks & its running fine.

      @admin123 @admin please help asap.

      1 Reply Last reply Reply Quote 1
      • S
        shivdasb1996 last edited by

        @SmartAPI-Admin please help asap

        O 1 Reply Last reply Reply Quote 0
        • O
          oviass @shivdasb1996 last edited by

          @shivdasb1996

          from SmartApi import SmartConnect
          from SmartApi import SmartWebSocket
          from pyotp import TOTP

          api_key = "APIKEY"
          smartApi = SmartConnect(api_key)
          clientId = "CLIENTID"
          pwd = "PIN"
          ttp = "totp"

          login api call

          obj=SmartConnect(api_key)
          data = obj.generateSession(clientId,pwd,TOTP(ttp).now())
          feed_token = obj.getfeedToken()

          S 1 Reply Last reply Reply Quote 0
          • M
            Moderator_1 last edited by

            Hello @shivdasb1996 ,

            Apologies for delayed response and inconvenience is regretted.
            Can you provide your client code, request and response and date and time when you faced this issue? Please share the above details to smartapi@angelbroking.com.
            Thank you.

            Regards
            SmartAPI Team

            1 Reply Last reply Reply Quote 0
            • S
              sunitavchaudhary @oviass last edited by

              @oviass
              I have tried this but can't login , it's showing padding error.
              please help someone to connect session through API step by step.
              Thanks

              M 1 Reply Last reply Reply Quote 1
              • M
                Moderator_2 @sunitavchaudhary last edited by

                Hi @sunitavchaudhary

                Apologies for delayed response.
                We are currently supporting for Python, NodeJS, Javascript SDKs. Kindly refer to our below document to connect with SmartAPI.
                Please Note: It is required to have AngelOne account to consume smartAPI.
                https://smartapi.angelbroking.com/docs

                Thanks & Regards,
                SmartAPI team

                S 1 Reply Last reply Reply Quote 0
                • S
                  sunitavchaudhary @Moderator_2 last edited by

                  bcce9cb6-c196-4baf-a40b-6e794d842684-image.png

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Moderator_2 @sunitavchaudhary last edited by

                    Hi @sunitavchaudhary

                    Please share us the code snippet and API module along with SDK details to help us further on this.

                    Thanks & Regards,
                    SmartAPI team

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post