Navigation

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

    How do I get historical Index Data for NIFTY/SENSEX?

    General Discussion
    4
    22
    540
    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
      admin @yash12392 last edited by admin

      hi @yash12392 you can fin d all token details on https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json.
      Also please check the parameters you have passed for 1 day data.

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

        Hi @yash12392 currently we do not provide Indexes data.

        N 1 Reply Last reply Reply Quote 0
        • S
          satasiyavivek last edited by

          @admin Do you have any timeline for release of indices data in the historical API?

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

            Hi, @satasiyavivek @yash12392 we are currently evaluating the options to offer indices historical data.. it may take longer than expected. We will let you know once we have a definitive timeline.

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

              @admin It would be helpful to create a list of features that are coming soon (like this historical data for index)
              It can be easiy done by listing features with a separate label (as issues in github). This has to be done on a separate project maintained by angel, as public reporting of issues might thorw everything in the air !

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

                Hi @ananya said in How do I get historical Index Data for NIFTY/SENSEX?:

                @admin It would be helpful to create a list of features that are coming soon (like this historical data for index)
                It can be easiy done by listing features with a separate label (as issues in github). This has to be done on a separate project maintained by angel, as public reporting of issues might thorw everything in the air !
                your feedback has been reported.

                D 1 Reply Last reply Reply Quote 0
                • D
                  dstelangre @admin last edited by

                  @admin Any update on index historical data ?

                  Mnagesh F 2 Replies Last reply Reply Quote 0
                  • Mnagesh
                    Mnagesh @dstelangre last edited by

                    @dstelangre I use manual reading of index data on TV channel and feed to my program

                    Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

                    1 Reply Last reply Reply Quote 0
                    • F
                      floydpriaure @dstelangre last edited by

                      @dstelangre backrooms game
                      Don't offer Indexes data right now.

                      1 Reply Last reply Reply Quote 0
                      • N
                        namit @admin last edited by

                        @admin Hello admin, why angel is not offering the index historical data? For options trading specifically for Nifty and Banknifty, their historical data is very very important for algo traders. However you are providing the future data of index then why not of the index directly?

                        S 1 Reply Last reply Reply Quote 1
                        • S
                          Shrinivas1000 @namit last edited by

                          @namit Even I am waiting.

                          Smartapi is very poor in updates and punctuality.

                          Too poor.

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

                            Hi all,

                            Apologies for delayed response.
                            We have recently started providing the index data.
                            Kindly reverify for the same if the issue still persists

                            Thanks & Regards,
                            SmartAPI team

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              coolankurmahe @Moderator_2 last edited by

                              @Moderator_2 : Hi historical api for nifty50 doesn't work.
                              Please let me know which token should be used ? or the api is down?
                              i tried 2 and 26000 both , but doesn't work.
                              I will have to shift to another platform for algo trading if it doesn't work, since it is super important for me for options backtesting

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

                                Hi @coolankurmahe

                                Nifty 50 token is 99926000. Kindly reverify on the Historical API with the proper token.
                                Please refer our instrument json file for the same.
                                https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

                                {"token":"99926000","symbol":"Nifty 50","name":"NIFTY","expiry":"","strike":"0.000000","lotsize":"1","instrumenttype":"AMXIDX","exch_seg":"NSE","tick_size":"0.000000"}

                                Regards,
                                SmartAPI Team

                                L 1 Reply Last reply Reply Quote 0
                                • C
                                  coolankurmahe last edited by

                                  @Moderator_2 Hi Thanks for reply. It worked to fetch Nifty50 data.
                                  Can you also write the token for Bank Nifty and other Nifties since it quite hard to find in file.
                                  Also, please tell if we can get the historical data for expired options for Nifty.
                                  example:If I have backtest Nifty50 along with its derivatives i.e Options for last 1 year, I will need historical Nifty Option data for last 1 year. Is it possible ?
                                  If yes, how to get symbol tokens for expired contracts ?

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

                                    hi @coolankurmahe

                                    Apologies for the delayed response
                                    Please save and refresh the everyday file with below curl. The symbols of indices can be fetched by searching as start of 999. [Instance: Banknifty - 99926009]
                                    curl -X GET "https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json" > symbol1.txt
                                    Also Kindly note, Currently we are not providing data for expired contracts.

                                    Regards,
                                    SmartAPI team

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      Linux Smiths @Moderator_2 last edited by

                                      @Moderator_2 I'm able to fetch historical data for NIFTY50 and other indices, but the volume comes as 0. Is this something you are fixing?

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        Moderator_1 @Linux Smiths last edited by

                                        Hello @Linux-Smiths,

                                        We provide volume data for individual scrips. But in the case of NIFTY/ SENSEX, i.e. indices, it is not available as Indices are not traded on NSE/BSE. If you check for specific contracts with strike prices and expiry dates, you'll be able to get it.

                                        Please let us know if you need help with anything else.

                                        Thank you.

                                        Regards
                                        SmartAPI Team

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          Linux Smiths @Moderator_1 last edited by

                                          @Moderator_1 thanks, I understand your point, but I guess what I am looking for is "shares traded" as shown by NSE (https://www.nseindia.com/reports-indices-historical-index-data) for the indices. I think that'd be a more useful value for volume than 0.
                                          Thanks btw, rest of the APIs work great!

                                          1 Reply Last reply Reply Quote 0
                                          • N
                                            Nelsonfahey last edited by

                                            I was searching for ways to get historical index data for Nifty and Sensex when I stumbled upon this gem of an article! Thanks for the clear guide. By the way, if you're up for another kind of data challenge, check out the online game Slope. It's like navigating through market trends—fast, unpredictable, and incredibly addictive!

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