Navigation

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

    Option Tickers not available

    Python SDK
    3
    16
    73
    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.
    • S
      Sukhwant280 @admin last edited by

      @admin here you go

      import pandas as pd
      import requests
      import numpy as np

      -----------------------------------Get the list of Options tickers as per expiry date

      urlk = "https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json"
      resp = requests.get(urlk)
      data1 = resp.json()
      tickerlist = pd.json_normalize(data1,errors='ignore')

      here i cant get BajFinance option tickers beyond 7700 strike price. and sam efor other tickers as well

      please advise

      thanks in advance
      Sukhwant

      S A 2 Replies Last reply Reply Quote 0
      • S
        Surya 1 @Sukhwant280 last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • A
          admin @Sukhwant280 last edited by

          HI @Sukhwant280 You need to debug your code we are getting the above list of strike prices we have posted few of them below:

          {
          "exchange": "NFO",
          "tradingsymbol": "BAJFINANCE30SEP218200PE",
          "symboltoken": "66361"
          },
          {
          "exchange": "NFO",
          "tradingsymbol": "BAJFINANCE30SEP218300CE",
          "symboltoken": "66362"
          },
          {
          "exchange": "NFO",
          "tradingsymbol": "BAJFINANCE30SEP218300PE",
          "symboltoken": "66363"
          },
          {
          "exchange": "NFO",
          "tradingsymbol": "BAJFINANCE30SEP21FUT",
          "symboltoken": "48815"
          }

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

            @admin hi ,

            i double checked at my end. please run the below code at your end:

            import pandas as pd
            import requests
            import numpy as np

            urlk = "https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json"
            resp = requests.get(urlk)
            data1 = resp.json()
            tickerlist = pd.json_normalize(data1,errors='ignore')

            check "tickerlist" dataframe and u will not find bajfinance with strike rate beyond 7700.

            please advise .. i assume below link should give all the tickers?
            https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

            thanks
            sukhwant

            S 2 Replies Last reply Reply Quote 0
            • S
              Sukhwant280 @Sukhwant280 last edited by

              @admin

              i checked on teh link manually

              https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

              BAJFINANCE30SEP218000CE is not found

              thanks
              Sukhwant

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

                @admin - please any update on this. were you able to click the link and search for the ticker mentioned and you will see the ticker is not there of BAJFIANACE30SEP218000CE

                thanks
                sukhwant

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

                  Hi @Sukhwant280 Please find the below token from the same instrument dump file:
                  {
                  "exchange": "NFO",
                  "tradingsymbol": "BAJFINANCE30SEP218000CE",
                  "symboltoken": "66340"
                  }

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

                    @admin my friend, please understand i need the whole universe. this token was an example.

                    what is your code to fetch this token?

                    did you used the below link to get the token:
                    "https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json"

                    please advise

                    A S 2 Replies Last reply Reply Quote 0
                    • A
                      admin last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • A
                        admin @Sukhwant280 last edited by

                        HI @Sukhwant280 We will update you on this.

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

                          hi @admin,
                          i want all the NFO and NSE tickers available in the market. for that i was using below link to fetch the data:
                          "https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json"

                          if you will click on the link and check for option tickers like "BAJFINANCE30SEP218000CE" this is just an example, you will not find.

                          Please share with me a running code to fetch whole population of Tickers in NSE and NFO segment

                          thanks in advance
                          Sukhwant

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

                            @admin hi,

                            i am still awaiting a json link which can fetch me all option tickers for NFO segment.

                            please advise, this is open from last 5 days

                            thanks
                            Sukhwant

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

                              HI @Sukhwant280 We only provide data for the tickers which are available in instrument dump file.

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

                                @admin https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

                                i know see you have updated the tickers on this json from your instrument dump file which was notthe case last week,

                                thanks
                                Sukhwant

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