Navigation

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

    aj_Brk

    @aj_Brk

    1
    Reputation
    15
    Posts
    12
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    aj_Brk Follow

    Best posts made by aj_Brk

    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @milind017 I see that you have put condition in if data['status'] , is it going in retry at all ?

      posted in General Discussion
      A
      aj_Brk

    Latest posts made by aj_Brk

    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @mudit236 @babitakundu It appears it is updated now. Please try - pip install smartapi-python --upgrade

      posted in General Discussion
      A
      aj_Brk
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @gokul try the latest library - pip install smartapi-python --upgrade . It appears the new version is live now

      posted in General Discussion
      A
      aj_Brk
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @Ashok Actually you are right it works most of the time , but for those rare instances where by the time your request went and it expired on server side , i had added retry. It happened to me once perhaps due to slow code execution or internet.

      posted in General Discussion
      A
      aj_Brk
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @milind017 try with this condition

      if not data['message'].contains('Invalid totp'):
      break

      posted in General Discussion
      A
      aj_Brk
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @milind017 I see that you have put condition in if data['status'] , is it going in retry at all ?

      posted in General Discussion
      A
      aj_Brk
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @babitakundu i guess you have to manually download the repo and run python setup.py install. I dont see the code yet updated on pip

      posted in General Discussion
      A
      aj_Brk
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @Ashok what i meant is you can't get this secret by just username and password as Anil is asking. One has to go to enable otp page to get this code one time.

      posted in General Discussion
      A
      aj_Brk
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @admin i too had to build the new code manually. Can you get the code merged to main?

      posted in General Discussion
      A
      aj_Brk
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @ivar i don't think you need to paas totp everytime. I tested get profile and other apis. It is working like before. Only login has changes.

      posted in General Discussion
      A
      aj_Brk
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @anil_patel i don't think that is possible as the secret is generated by angel servers, logic of which is not shared. We can't do this without secret shared by them.

      posted in General Discussion
      A
      aj_Brk