Navigation

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

    S63128103

    @S63128103

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

    S63128103 Follow

    Best posts made by S63128103

    This user hasn't posted anything yet.

    Latest posts made by S63128103

    • SmartConnect getOIData throws blank results

      def historicaldata():
      try:
      historicParam={
      "exchange" : "NFO",
      "symboltoken" : "101931",
      "interval" : "THREE_MINUTE",
      "fromdate" : "2024-12-30 09:20",
      "todate" : "2024-12-30 09:21",
      }

          return smartApi.getOIData(historicParam)
      

      Above function returns blank output. It should throw or show some OI data. Please help.

      Output ->

      "status": true,
      "message": "SUCCESS",
      "errorcode": "",
      "data": [ ]

      posted in Python SDK
      S
      S63128103
    • SmartConnect getOIData returning blank

      def historicaldata():
      try:
      historicParam={
      "exchange" : "NFO",
      "symboltoken" : "101931",
      "interval" : "THREE_MINUTE",
      "fromdate" : "2024-12-30 09:20",
      "todate" : "2024-12-30 09:21",
      }

          return smartApi.getOIData(historicParam)
      
      except Exception as e:
          print(e.message)
      

      historical_data = historicaldata()
      print(historical_data)

      i am trying to fetch historical oi data by passing above params to getOIData funciton but it just returns blank output.

      Output ->

      {
      "status": true,
      "message": "SUCCESS",
      "errorcode": "",
      "data": []
      }

      posted in Python SDK
      S
      S63128103