Navigation

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

    Login problem

    Bugs
    36
    112
    450
    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.
    • A
      admin @somumaradi last edited by

      @somumaradi @Rahul-Bhagat
      please fill below form
      https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

      1 Reply Last reply Reply Quote 0
      • N
        nishant patil last edited by

        Please migrate my angel one account .My angel ID is N159298

        A 1 Reply Last reply Reply Quote 0
        • N
          nishant patil last edited by

          Please migrate my account . My angel one ID is N159298

          1 Reply Last reply Reply Quote 0
          • A
            admin @nishant patil last edited by

            Hi @nishant-patil please fill below form
            https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

            1 Reply Last reply Reply Quote 0
            • V
              vishnugs275 last edited by

              Please migrate my angel broking id V195028

              A 1 Reply Last reply Reply Quote 0
              • A
                admin @vishnugs275 last edited by

                @vishnugs275 please fill below form
                https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

                1 Reply Last reply Reply Quote 0
                • B
                  Basavanna last edited by

                  pl migrate my account my angel id is VEDJ1004

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    admin @Basavanna last edited by

                    Hi @Basavanna please fill below form
                    https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

                    1 Reply Last reply Reply Quote 0
                    • A
                      ArvindAgarwal last edited by

                      Please migrate my Account. My Angel Id is UUJR1013

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        ArvindAgarwal last edited by

                        Please migrate my Account. My Angel one Id is UUJR1013

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          admin @ArvindAgarwal last edited by

                          @ArvindAgarwal please fill below form
                          https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

                          1 Reply Last reply Reply Quote 0
                          • A
                            admin @ArvindAgarwal last edited by

                            @ArvindAgarwal please fill below form
                            https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

                            1 Reply Last reply Reply Quote 0
                            • A
                              Anerikat last edited by

                              hi, even my id is not working. User ID - A65751

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                admin @Anerikat last edited by

                                Hi @Anerikat please fill below form
                                https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

                                1 Reply Last reply Reply Quote 0
                                • A
                                  amitpanchall last edited by

                                  def login(self) -> bool:
                                      """Connect to Angel One API"""
                                      try:
                                          self.session = SmartConnect(api_key=self.api_key)
                                          get_new_totp = pyotp.TOTP(self.totp).now()
                                          data = self.session.generateSession(self.client_id, self.password, get_new_totp)
                                  
                                          if data['status']:
                                              self.feed_token = data['data']['feedToken']
                                              self.auth_token = data['data']['jwtToken']
                                              self.connected = True
                                              print("Successfully connected to Angel One API")
                                              return True
                                          else:
                                              print(f"Login failed: {data['message']}")
                                              return False
                                  
                                      except Exception as e:
                                          print(f"Login failed: {str(e)}")
                                          return False
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post