Instrument metadata syncs when index settings are created or updated.

Generation entry points

What gets populated

Options

  • optionChainByExpiry — strikes, CE/PE tradingsymbols, tokens, lot sizes
  • baseDiff per expiry
  • optionExpiriesByFuturesExpiry when using futures underlying

Futures

  • futuresChainByExpiry — contract symbols per expiry date
  • instrumentToken, lotSize, contractFormat

Cash

  • tradingsymbol, instrumentToken, lotSize from instrument master

Kite instruments

GET /zerodha/instruments exposes cached instrument dump for debugging. Generation uses Kite Connect getInstruments() internally during setting save.

Runtime refresh

When indexSettingUpdated fires:
  1. Event processor reloads active settings
  2. Clears cached strikes for affected index
  3. Resubscribes base and option tokens on Kite Ticker