Skip to content

API Reference


API Reference / OptionChartInput

Interface: OptionChartInput

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

Properties

exchangeSegment?

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

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


interval?

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

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


securityId?

optional securityId?: number

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


instrument?

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

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


expiryFlag?

optional expiryFlag?: "MONTH" | "WEEK"

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


expiryCode?

optional expiryCode?: number

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


strike?

optional strike?: string

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


drvOptionType?

optional drvOptionType?: "CALL" | "PUT"

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


requiredData?

optional requiredData?: "open" | "high" | "low" | "close" | "volume" | "iv" | "strike" | "oi" | "spot"

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


fromDate?

optional fromDate?: string

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


toDate?

optional toDate?: string

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

Community project — not affiliated with Dhan. MIT License.