Navigation

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

    Token Value for Indices

    General Discussion
    5
    15
    389
    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
      Abhishesh88 last edited by

      Hi, I am not able to find token for following Indices, I am not able to find from https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json,

      Please provide me Token Value for below Indices:-

      NSE
      NIFTY FIN SERVICE|Nifty CPSE|Nifty PSU Bank|Nifty Pharma|Nifty SML100 Free|Nifty MID100 Free|Nifty GS
      Compsite|Nifty GS 15YrPlus|Nifty GS 11 15Yr|Nifty GS 4 8Yr|Nifty GS 10Yr Cln|Nifty GS 10Yr|Nifty GS 8 13Yr|INDIA VIX|LIX
      15|CNX Media|Nifty PSE|Nifty FMCG|Nifty Auto|Nifty 50|Nifty50 USD|Nifty 500|Nifty Next 50|Nifty Midcap 100|Nifty
      IT|Nifty 200|Nifty 100|Nifty Bank

      BSE:
      |BSE-100|DOLLEX-30|SENSEX|BSE METAL|BSE IT|BSE HC|BSE FMCG|BSE CD|BSE CG|BSE BANKEX|BSE AUTO|BSE PSU|BSE
      TECk|BSESMLCAP|BSEMIDCAP|BSE-500|DOLLEX-200|BSE-200|DOLLEX-100|

      A 2 Replies Last reply Reply Quote 0
      • A
        Abhishesh88 @Abhishesh88 last edited by

        @admin Please Help me

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

          @admin Please help me ASAP

          1 Reply Last reply Reply Quote 0
          • Y
            yash12392 last edited by

            @Abhishesh88 if it's not available in that file then Angel does not provide data for that.

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

              HI @yash12392 You want to fetch historical data or live feeds.?

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

                @admin I want to get Token for Indices so that, i can pull data from socket for each token that is required to call socket API. Can you tell me how to find token for Indices name. I am sure it is available in your OpenAPIScriptMaster, but we are not able to find way to find token for above Indices.

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

                  HI @Abhishesh88 Pass task as "sfi" for subscribing index data.
                  please go through task feed in below doc:
                  https://smartapi.angelbroking.com/docs/WebSocketStreaming

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

                    @admin what should be token value for nifty50 and banknifty. In OpenAPIScriptMaster, I can find nifty50 but exch_seg:cds. Is this correct? Basically I want to get streaming data for nifty50 index and near month nifty 50 future contract. It will be of great help if you can share token for both.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Diljeet @fcoder last edited by

                      @fcoder
                      Nifty 50 and Bank nifty indices code are nse_cm|26000&nse_cm|26009 repsectively.
                      I found it in openAPIScriptMaster.

                      F 1 Reply Last reply Reply Quote 1
                      • F
                        fcoder @Diljeet last edited by

                        @mihirk Thanks Mihirk. However, when I try to stream for 26000, it only provide ltp,prev close,net chage, chang per. No high low value. For e.g. [{"cng":"75.05","e":"nse_cm","c":"15885.15","nc":"00.47","name":"sf","ltp":"15960.20","tk":"26000","ltt":"NA"}. Even ltt is NA. Do you have any idea how to get ohlc with timestamp for 26000.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          Diljeet @fcoder last edited by

                          @fcoder nope. I did not use those and hence, I did not check.

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

                            @admin what will be token for BSE SENSEX to get LTP using API

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

                              HI @Abhishesh88 You can get ltp for sensex you will get it through passing task as "sfi" in websocket.

                              1 Reply Last reply Reply Quote 0
                              • K
                                kishores last edited by

                                {"token":"99926037","symbol":"Nifty Fin Service","name":"NIFTY FIN SERVICE","expiry":"","strike":"0.000000","lotsize":"0","instrumenttype":"AMXIDX","exch_seg":"NSE","tick_size":"0.000000"}

                                1 Reply Last reply Reply Quote 0
                                • K
                                  kishores last edited by

                                  {"token":"99926037","symbol":"Nifty Fin Service","name":"NIFTY FIN SERVICE","expiry":"","strike":"0.000000","lotsize":"0","instrumenttype":"AMXIDX","exch_seg":"NSE","tick_size":"0.000000"}

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