The instrument list returns two entries for SENSEX one for the BSE and one for the NSE, with the same instrument token - 265 for both of these entries, how is this possible? (edited)
The segment NSE-INDICES was there for all Indices in the earlier version of Kite Connect because we were not supporting BSE indices. In the Kite Connect 3, we added SENSEX which is a non-NSE index, hence we made changes to instrument master but switching it overnight will break some client applications which were following old standards.
You need to ignore NSE-INDICES and use the INDICES segment row from now on.
shown below
-x-x-
'NSE:SENSEX', 265, '1', 'SENSEX', 'SENSEX', 0.0, None, 0.0, 0.0, 0, 'EQ', 'NSE-INDICES', 'NSE', 0, datetime.datetime(2018, 8, 20, 13, 12, 28, 998512), 462490),
('BSE:SENSEX', 265, '1', 'SENSEX', 'SENSEX', 0.0, None, 0.0, 0.0, 0, 'EQ', 'INDICES', 'BSE', 0, datetime.datetime(2018, 8, 20, 13, 12, 28, 998512), 497652)
In the Kite Connect 3, we added SENSEX which is a non-NSE index, hence we made changes to instrument master but switching it overnight will break some client applications which were following old standards.
You need to ignore NSE-INDICES and use the INDICES segment row from now on.