Skip to content

API Reference


API Reference / Constants / FeedResponse

Variable: FeedResponse

const FeedResponse: object

Defined in: src/constants.ts:231

Response codes on the Live Market Feed WebSocket.

Type Declaration

INDEX_PACKET

readonly INDEX_PACKET: 1 = 1

TICKER_PACKET

readonly TICKER_PACKET: 2 = 2

QUOTE_PACKET

readonly QUOTE_PACKET: 4 = 4

OI_PACKET

readonly OI_PACKET: 5 = 5

PREV_CLOSE_PACKET

readonly PREV_CLOSE_PACKET: 6 = 6

MARKET_STATUS_PACKET

readonly MARKET_STATUS_PACKET: 7 = 7

FULL_PACKET

readonly FULL_PACKET: 8 = 8

FEED_DISCONNECT

readonly FEED_DISCONNECT: 50 = 50

Community project — not affiliated with Dhan. MIT License.