Skip to main content

Constituents Channel

CHANNEL

constituents

The constituents channel provides real-time values and weights of constituents for basket and NASDAQ indices.

Subscribe Request

MESSAGE BODY

type string required
Value: subscribe
stream string required
Value: constituents
id string required
stream ID

Responses

No ack response if successful. The most recent value will be sent, and subsequent values until the unsubscribe command is sent.

MESSAGE BODY

type string
Value: constituents
id string
Stream ID
time string
Calculation time of value in milliseconds since Unix epoch
value string
Index value
divisor string conditional
Condition: Only sent for Nasdaq indices
Index divisor
constituents object
constituent string
Constituent name
value string
Constituent value
weightPercent string
Constituent weight percentage
exchanges array [ conditional
Condition: Only sent for Nasdaq indices
[many] exchange weight object
exchange string
Exchange name
weightPercent string
Exchange weight percentage
]

Unsubscribe Request

No direct response if successful. Messages for the subscription will cease.

MESSAGE BODY

type string required
Value: unsubscribe
stream string required
Value: constituents
id string required
stream ID