Option Tickers not available
-
@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 -
This post is deleted! -
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"
} -
@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 npurlk = "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.jsonthanks
sukhwant -
i checked on teh link manually
https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json
BAJFINANCE30SEP218000CE is not found
thanks
Sukhwant -
@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 -
Hi @Sukhwant280 Please find the below token from the same instrument dump file:
{
"exchange": "NFO",
"tradingsymbol": "BAJFINANCE30SEP218000CE",
"symboltoken": "66340"
} -
@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
-
This post is deleted! -
HI @Sukhwant280 We will update you on this.
-
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 -
@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 -
HI @Sukhwant280 We only provide data for the tickers which are available in instrument dump file.
-
@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