Historical Data for expired F&O tokens.

akhileshkaushik
akhileshkaushik edited February 2018 in API clients
I am facing couple of issues which i have listed down below -

I need to fetch historical data for NFO - [NIFTY18FEB10500CE - 14799874] -- which is now expired.

1.
I tried to fetch NIFTY18FEB10500CE historical data - minute level, but got the following error -

https://api.kite.trade/instruments/historical/14799874/minute?from=2018-01-01+09:30:00&to=2018-02-20+10:30:00&continuous=1
{
"status": "error",
"error_type": "InputException",
"message": "Invalid token or interval for continuous data"
}

2.
I tried to fetch NIFTY18FEB10500CE historical data - day level, but got the following error -

https://api.kite.trade/instruments/historical/14799874/day?from=2018-01-01+09:30:00&to=2018-02-20+10:30:00&continuous=1
{
"status": "error",
"error_type": "GeneralException",
"message": "Error occured while fetching continuous data"
}

3.
I need to fetch historical data for NFO - [NIFTY18MAR10500CE- 12614402] -- which is Active -
However, I am still not able to get feb token's historical data even after I set the continuous flag = true

Also I am not able to fetch minute level data.

Kindly suggest.
  • sujith
    We don't have historical data for expired option instruments. It is available for future instruments only.
Sign In or Register to comment.