I see a difference in the option chain data in option chain api vs data from NSE website for NIFTY.
data = {
"symbol":"NSE:NIFTY50-INDEX",
"strikecount":"",
"timestamp": ""
}
response = fyers.optionchain(data=data);
options_data = response['data']['optionsChain']
columns = ['symbol', 'option_type','strike_price', 'ltp', 'oi', 'volume']
df = pd.DataFrame(options_data, columns=columns)
df
This will give me below list. Note the strike starts from 22900.
From NSE site :
It starts from 22400.
Why is it showing this difference ?