powered by
Check if index symbol is valid.
nse_index_valid(index_code)
Symbol of the index.
if (FALSE) { nse_index_valid("nifty auto") nse_index_valid("nifty cps") }
Run the code above in your browser using DataLab