Navigation

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

    kamal487

    @kamal487

    0
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    kamal487 Unfollow Follow

    Latest posts made by kamal487

    • RE: Token or QR value to connect with Smart API Python ?

      @kamal487 git it we have to use QR Code number , closing the thread.

      posted in Python SDK
      K
      kamal487
    • Token or QR value to connect with Smart API Python ?

      What value we have to pass for Token ?

      api_key = 'Your Api Key'
      username = 'Your client code'
      pwd = 'Your pin'
      smartApi = SmartConnect(api_key)
      try:
      token = "Your QR value"
      totp = pyotp.TOTP(token).now()
      except Exception as e:
      logger.error("Invalid Token: The provided token is not valid.")
      raise e

      posted in Python SDK
      K
      kamal487
    • API Usage without Angel Client Id?

      Hi,

      I'm trying to use the API to get the LTP of NSE stocks - I don't need to login or execute trades. Just a portfolio tracker that I'm building and need the quote at any given point of time.

      Do I need to have a Angel Broking account (I have signed up for the developer account)? If not, what exactly is the client code required for the authentication API?

      posted in General Discussion
      K
      kamal487