Initially, if i recollect well, the indices had the instrument_type of 'IN', where as now it's instrument_type has been changed to 'EQ' which is same as that of equity, and segment = INDICES. For other instruments, the instrument_type uniquely identifies the type of instrument e.g. CE, PE, FUT, EQ, but for indices one has to check 2 fields together i.e. instrument_type & segment. Isn't this change in instrument_type for Indices inconsistent with other types of instruments (where only instrument_type could uniquely identify type) & wouldn't it be simpler if the instrument_type itself could identify the Index type? Such a change also makes filtering or checking for instrument type complex as now a custom check needs to be added just for index type (that also checks for segment value)!
AFAIK going back to a few years, for indices the instrument type was always 'EQ' and segment was 'INDICES'. And if I wanted to parse the instrument list for indices I always used the filter segment='INDICES'. So there has been no recent change.
the indices had the instrument_type of 'IN', where as now it's instrument_type has been changed to 'EQ' which is same as that of equity, and segment = INDICES.
Yes, as @MAG highlighted. There has been no change in the instrument list fields including INDICES. INDICES always has the exchange name it belong, and segment as `INDICES`.
And if I wanted to parse the instrument list for indices I always used the filter segment='INDICES'.
So there has been no recent change.
Just checked this on all instrumentlists since about 2020 for 'NIFTY BANK'. Thats last 5 years
./instrumentslist_20200516.csv:line:name,instrument_token,exchange_token,last_price,exchange,tradingsymbol,tick_size,strike,instrument_type,segment,expiry,lot_size
./instrumentslist_20200516.csv:16480:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200517.csv:16479:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200525.csv:16459:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200526.csv:16475:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200527.csv:16401:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200528.csv:16125:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200529.csv:16157:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200601.csv:16142:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200603.csv:16124:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200604.csv:16139:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200605.csv:16144:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200611.csv:16194:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200612.csv:16173:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200617.csv:16162:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200618.csv:16161:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200619.csv:16157:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200620.csv:16157:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200621.csv:16217:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200622.csv:16217:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200623.csv:16737:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200624.csv:16737:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200625.csv:16727:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200626.csv:16815:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200627.csv:16815:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200628.csv:16913:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200629.csv:16522:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200728.csv:16449:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200729.csv:16453:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200731.csv:16292:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200801.csv:16395:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200803.csv:16395:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200804.csv:13032:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200805.csv:16322:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200807.csv:16338:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200808.csv:16355:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200810.csv:16355:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200811.csv:16311:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200812.csv:16308:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200813.csv:16313:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200814.csv:16314:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200815.csv:16301:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20200816.csv:16300:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
...
...
...
...
...
./instrumentslist_20240613.csv:32301:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240614.csv:32668:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240615.csv:32352:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240616.csv:32352:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240617.csv:32352:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240618.csv:32352:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240619.csv:32348:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240620.csv:32667:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240621.csv:33157:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240622.csv:32885:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240623.csv:32885:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240624.csv:32885:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240625.csv:32836:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240626.csv:33606:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240627.csv:33091:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240628.csv:33091:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240629.csv:32985:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240630.csv:32876:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240701.csv:32876:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240702.csv:32538:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240703.csv:32569:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240704.csv:32806:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240705.csv:33169:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240706.csv:32779:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240707.csv:32779:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240708.csv:32779:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240709.csv:32391:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0
./instrumentslist_20240710.csv:32500:NIFTY BANK,260105,1016,0.0,NSE,NIFTY BANK,0.0,0.0,EQ,INDICES,,0