Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Historical APIs not working now

    Python SDK
    4
    4
    42
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      HawkEye last edited by

      @admin
      Historical APIs are not working and is giving the following error:

      ReadTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)
      

      Kindly fix this asap

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @HawkEye last edited by

        HI @HawkEye This has been resolved. We tested it and we are getting the data.

        S 1 Reply Last reply Reply Quote 0
        • S
          sahil313 @admin last edited by sahil313

          @admin I am running the below code to get the historical data for the currency exchange but it is not returning any data.

          import http.client

          conn = http.client.HTTPSConnection("apiconnect.angelbroking.com")
          historicParam={
          "exchange": "CDS",
          "symboltoken": "3481",
          "interval": "ONE_DAY",
          "fromdate": '2021-11-01 09:00',
          "todate": '2021-12-31 17:00'
          }
          df = obj.getCandleData(historicParam)
          print (df)

          1 Reply Last reply Reply Quote 0
          • S
            sahil313 @Guest last edited by

            @MNAGESH thanks for your response but I do not have enough knowledge to write my own Candle code. Can you help me here if possible. Thanks

            1 Reply Last reply Reply Quote 0
            • First post
              Last post