Source: src/types/indexSetting.ts

Core enums

Main interface — IndexSetting

Top-level document fields:

Nested segment settings

ICashSettingscash

Instrument token, tradingsymbol, recurring buy fields, order types, market protection.

IFuturesSettingsfutures

Expiry chain (futuresChainByExpiry), active contract, recurring buy, lot size.

IOptionsSettingsoptions

CALL/PUT quantities, durations, limits, strike differences, optionChainByExpiry with CE/PE tradingsymbols per strike.

Option chain structure

Usage in UI

  • FormindexSettingForm.tsx binds to nested objects
  • Order pages — read segment-specific nested config
  • Dashboard — legacy flat fields still supported on some code paths during migration