Skip to content

API Reference


API Reference / Constants / SEGMENT_MAP

Variable: SEGMENT_MAP

const SEGMENT_MAP: Record<string, string>

Defined in: src/constants.ts:358

Maps a scrip-master (EXCH_ID, SEGMENT) pair to an exchange segment. Keyed as "EXCH_ID:SEGMENT" because tuples are not usable as object keys.

Community project — not affiliated with Dhan. MIT License.