Skip to content

API Reference


API Reference / Constants / ExchangeSegment

Variable: ExchangeSegment ​

const ExchangeSegment: object

Defined in: src/constants.ts:6

Enumerations and helper lookups shared by the REST, WebSocket, risk, skill and agent layers. Mirrors DhanHQ::Constants in the Ruby gem.

Type Declaration ​

IDX_I ​

readonly IDX_I: "IDX_I" = "IDX_I"

NSE_EQ ​

readonly NSE_EQ: "NSE_EQ" = "NSE_EQ"

NSE_FNO ​

readonly NSE_FNO: "NSE_FNO" = "NSE_FNO"

NSE_CURRENCY ​

readonly NSE_CURRENCY: "NSE_CURRENCY" = "NSE_CURRENCY"

NSE_COMM ​

readonly NSE_COMM: "NSE_COMM" = "NSE_COMM"

BSE_EQ ​

readonly BSE_EQ: "BSE_EQ" = "BSE_EQ"

MCX_COMM ​

readonly MCX_COMM: "MCX_COMM" = "MCX_COMM"

BSE_CURRENCY ​

readonly BSE_CURRENCY: "BSE_CURRENCY" = "BSE_CURRENCY"

BSE_FNO ​

readonly BSE_FNO: "BSE_FNO" = "BSE_FNO"

INX_EQ ​

readonly INX_EQ: "INX_EQ" = "INX_EQ"

US / international equities, traded through the Global Stocks APIs (/v2/globalstocks/*). Deliberately excluded from ALL so it can never satisfy a domestic order contract.

Community project — not affiliated with Dhan. MIT License.