Navigation

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

    Posts made by Vikram_Sai

    • RE: Connect/Login using TOTP

      @amrutjk
      from pyotp import TOTP
      totp=TOTP(totp_code).now()
      // totp_code from authenticator app.
      obj=SmartConnect(api_key=api_key)
      data=obj.generateSession(client_code, mpin, totp)

      posted in C#/.Net SDK
      V
      Vikram_Sai
    • How to fetch banknifty spot data using ltpData()

      The following code is giving None data.
      obj.ltpData(exchange='NSE', tradingsymbol='Nifty Bank', symboltoken='99926009')

      posted in Python SDK
      V
      Vikram_Sai