Today I am unable to get correct trading symbol for nifty option expiring on June 30, data fetched trough kite.instruments(), for expiry 30-06-26 getting different dated trading symbol of past date
The instrument dump is working as expected. For monthly NIFTY expiry contracts, the tradingsymbol follows the format NIFTY26JUN23800CE, where the month name is encoded rather than the exact expiry date. Please use the expiry field (2026-06-30) from the instrument dump file for the contract expiry. You may refer to the similar discussion here.
0 20406018 NIFTY26JUN23800CE 23800.0 CE 2026-06-30
1 20406274 NIFTY26JUN23800PE 23800.0 PE 2026-06-30
2 20406530 NIFTY26JUN23850CE 23850.0 CE 2026-06-30
3 20406786 NIFTY26JUN23850PE 23850.0 PE 2026-06-30
4 20405506 NIFTY26JUN23750CE 23750.0 CE 2026-06-30
... ... ... ... ... ...
288 12914690 NIFTY26JUN15000PE 15000.0 PE 2026-06-30
289 12913666 NIFTY26JUN14000PE 14000.0 PE 2026-06-30
290 9677314 NIFTY26JUN13000PE 13000.0 PE 2026-06-30
291 15007746 NIFTY26JUN12000CE 12000.0 CE 2026-06-30
292 15008002 NIFTY26JUN12000PE 12000.0 PE 2026-06-30