This is what i do: 1) I call /instruments/ as i need instrumentToken for all the NSE futures contracts of the current month 2) The instrumentToken is used to make historical api call. Example: for current month infosys futures, the token is 213214469. So the URL will be https://api.kite.trade/instruments/historical/213214469/day?api_key=xx&access_token=yy&from=2016-07-01&to=2016-07-29 3) This works for all NSE derivatives except: BEML,BHEL,GAIL,IDEA,IDFC,INFY,KPIT,NIITTECH,ONGC,ZEEL 4) This is making data inaccessible both on historical api as well as websocket. 5) Somehow, these few entires got classified under BFO-FUT segment, they do not have alternate entries under NFO-FUT, this is causing loss of data. 6) If these were illiquid futures contracts or just introduced one, i wouldn't mind, However, loss of data for well traded contracts like INFY,BHEL,GAIL,IDEA,ONGC,ZEEL is increasing the frustration.
I got this token from the /instruments api, i had run it few weeks back, i was under the impression that the token does not change across months for same tradingSymbol, when i run the /instruments api again, i am able to see 11238402.
{"status": "error", "error_type": "InputException", "message": "Invalid segment in instrument token"}
However, BFO support on WebSockets and Historical APIs aren't functional yet.
This is what i do:
1) I call /instruments/ as i need instrumentToken for all the NSE futures contracts of the current month
2) The instrumentToken is used to make historical api call. Example: for current month infosys futures, the token is 213214469. So the URL will be https://api.kite.trade/instruments/historical/213214469/day?api_key=xx&access_token=yy&from=2016-07-01&to=2016-07-29
3) This works for all NSE derivatives except: BEML,BHEL,GAIL,IDEA,IDFC,INFY,KPIT,NIITTECH,ONGC,ZEEL
4) This is making data inaccessible both on historical api as well as websocket.
5) Somehow, these few entires got classified under BFO-FUT segment, they do not have alternate entries under NFO-FUT, this is causing loss of data.
6) If these were illiquid futures contracts or just introduced one, i wouldn't mind, However, loss of data for well traded contracts like INFY,BHEL,GAIL,IDEA,ONGC,ZEEL is increasing the frustration.