Navigation

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

    TurboExpert

    @TurboExpert

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

    TurboExpert Follow

    Best posts made by TurboExpert

    This user hasn't posted anything yet.

    Latest posts made by TurboExpert

    • RE: No socket response for indices

      @James-Bond were you aple to get historical data for Nifty and Bank nifty using these tokens 26009 and 26000 ?

      posted in General Discussion
      T
      TurboExpert
    • RE: Historical data for Nifty and BankNifty

      @admin thank you for the reply. Can you tell me from when will you support NSE indices historical data? Is there a planned release date?

      posted in Python SDK
      T
      TurboExpert
    • Historical data for Nifty and BankNifty

      Hello,

      I have tried the following code to get Historical data for Nifty and Bank nifty. Can you please tell me what is the correct symboltoken for the same ?

      # Historic api
      try:
          historicParam = {
              "exchange": "NSE",
              "symboltoken": "2",
              "interval": "FIVE_MINUTE",
              "fromdate": "2021-05-17 09:00",
              "todate": "2021-05-21 15:30"
          }
          candle = obj.getCandleData(historicParam)
          print(candle)
      except Exception as e:
          print("Historic Api failed: {}".format(e.message))
      

      I have tried using both "2" and "26009" which I got from instruments list for Nifty 50 and bank nifty indices. However there is no output, only an empty array is returned.

      Let me know what is the correct symbol token for NSE Nifty 50 and Bank nifty.

      Thank you.

      posted in Python SDK
      T
      TurboExpert