Navigation

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

    How to fetch historical data of indices ?

    General Discussion
    0
    5
    111
    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.
    • A
      Ashish last edited by

      Hello, everyone !
      How to fetch historical candle data of indices like Nifty 50 and Nifty Bank ? Kindly guide.

      V M 2 Replies Last reply Reply Quote 1
      • J
        Javajp last edited by

        Dont think they have it yet.

        1 Reply Last reply Reply Quote 0
        • V
          vivek101 last edited by

          Hi @Ashish,

          You can utilize an API that provides historical data for these indices to retrieve historical candle data for the Nifty 50 and Nifty Bank. You can take the following actions:

          1. Decide on a financial data supplier, such as Alpha Vantage, Yahoo Finance, or Quandl, that delivers historical candle data for the indexes you are interested in.

          2. Open an account with the data provider and, if necessary, get an API key.

          3. Make a request for historical index candle data using the API, indicating the date range, time interval, and any other necessary criteria.

          4. The historical candle data will be returned by the API in a format like CSV or JSON, which you may parse and examine in your application.

          5. You can carry out a variety of analyses using historical candle data, including technical analysis, charting, and backtesting.

          Thank you.

          1 Reply Last reply Reply Quote 0
          • V
            vivek101 @Ashish last edited by

            Hi @Ashish,

            I think @Javajp is right here.

            Thank you.

            1 Reply Last reply Reply Quote 0
            • M
              Moderator_2 @Ashish last edited by

              Hi @Ashish

              Apologies for delayed response.
              Indices of NSE and BSE of historical data can be provided by using exchange NSE and BSE. Tokens of specific stocks can be retrieved from search scrip api.

              Ref Doc:
              https://smartapi.angelbroking.com/docs/Instruments
              https://smartapi.angelbroking.com/docs/Historical

              Thanks & Regards,
              SmartAPI team

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