Skip to content

API Reference


API Reference / IntradayChartsInput

Interface: IntradayChartsInput

Defined in: src/resources/Charts.ts:23

Plain string-literal request shapes for Charts — the generated IntradayChartsRequest/HistoricalChartsRequest/OptionChartRequest types use TS enums for exchangeSegment/instrument/interval (and, for option charts, expiryFlag/drvOptionType/requiredData), so exchangeSegment: "NSE_EQ" doesn't type-check against them directly. Deriving the literal unions from the enums via ${Enum} keeps them in sync with npm run generate.

Extended by

Properties

securityId?

optional securityId?: string

Defined in: src/resources/Charts.ts:24


exchangeSegment?

optional exchangeSegment?: "IDX_I" | "NSE_EQ" | "NSE_FNO" | "BSE_EQ" | "MCX_COMM" | "BSE_FNO"

Defined in: src/resources/Charts.ts:25


instrument?

optional instrument?: "INDEX" | "FUTIDX" | "OPTIDX" | "EQUITY" | "FUTSTK" | "OPTSTK" | "FUTCOM" | "OPTFUT"

Defined in: src/resources/Charts.ts:26


interval?

optional interval?: "1" | "5" | "15" | "25" | "60"

Defined in: src/resources/Charts.ts:27


oi?

optional oi?: boolean

Defined in: src/resources/Charts.ts:28


fromDate?

optional fromDate?: string

Defined in: src/resources/Charts.ts:29


toDate?

optional toDate?: string

Defined in: src/resources/Charts.ts:30

Community project — not affiliated with Dhan. MIT License.