Navigation

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

    jupyter

    @jupyter

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

    jupyter Follow

    Best posts made by jupyter

    • Not able to fetch BANKNIFTY data using HistoricalAPI

      Hi,

      I am not able to fetch BANKNIFTY data using HistoricalAPI.

      try:
        historicParam={
        "exchange": "NSE",
        "symboltoken": "26009",
        "interval": "ONE_MINUTE",
        "fromdate": "2022-02-30 09:15", 
        "todate": "2022-02-30 09:25"
        }
        print(obj.getCandleData(historicParam))
      except Exception as e:
        print("Historic Api failed: {}".format(e.message))
      

      OUTPUT:

      {'status': True, 'message': 'SUCCESS', 'errorcode': '', 'data': None}
      

      I am not sure why the 'data' is None. Do let me know if there is anything wrong in the code?

      Thanks in advance!!

      posted in Python SDK
      J
      jupyter

    Latest posts made by jupyter

    • Historical Data for BANKNIFTY & NIFTY

      @admin Do we get historical data for BANKNIFTY and NIFTY or is there a plan to roll out that in future updates? I have tried using the tokens 26009 and 26000, but an empty array is returned.

      posted in Python SDK
      J
      jupyter
    • Not able to fetch BANKNIFTY data using HistoricalAPI

      Hi,

      I am not able to fetch BANKNIFTY data using HistoricalAPI.

      try:
        historicParam={
        "exchange": "NSE",
        "symboltoken": "26009",
        "interval": "ONE_MINUTE",
        "fromdate": "2022-02-30 09:15", 
        "todate": "2022-02-30 09:25"
        }
        print(obj.getCandleData(historicParam))
      except Exception as e:
        print("Historic Api failed: {}".format(e.message))
      

      OUTPUT:

      {'status': True, 'message': 'SUCCESS', 'errorcode': '', 'data': None}
      

      I am not sure why the 'data' is None. Do let me know if there is anything wrong in the code?

      Thanks in advance!!

      posted in Python SDK
      J
      jupyter
    • RE: Invalid TOTP

      @ganeshpanpat I am still not sure where I am going wrong. I have updated the library with the latest version to 1.30. I am passing the TOTP parameter correctly. Can you suggest what can I be doing wrong?

      posted in General Discussion
      J
      jupyter
    • RE: Invalid TOTP

      @admin Still facing the same error. "TypeError: SmartConnect.generateSession() takes 3 positional arguments but 4 were given"

      posted in General Discussion
      J
      jupyter
    • RE: Invalid TOTP

      @ganeshpanpat were you able to solve this?

      posted in General Discussion
      J
      jupyter