NSE INDICES with Kite instruments

Bharathi352
Hi

is there a way to get all indices data in kite
like for NFO we use "instruments = kite.instruments("NFO")" to get all options data

I tried using "ins_NSE = kite.instruments("NSE:INDICES") " and failed

Please help
Bharathi
  • SRIJAN
    SRIJAN edited July 2022
    You have to fetch with exchange as 'NSE'. And sort with segment as 'INDICES',to get all the indices data.

    Also, fetching NFO instruments returns all futures and options instruments,not just options.
  • Bharathi352
    so can I restrict the fecth to only Option ? only filter can fliter options after fectch
  • SRIJAN
    SRIJAN edited July 2022
    After downloading NFO instruments,you can use segment filter as 'NFO-FUT' or 'NFO-OPT' to get data for all futures and options respectively.
This discussion has been closed.