Skip to content

StreamOptions ​

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:419)

Properties ​

aliases? ​

optional aliases?: Record<string, string>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:435)

Upstream topic -> consumer label (used by rows, status, tickers and remove).


allFields? ​

optional allFields?: boolean

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:432)


conflate? ​

optional conflate?: boolean

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:423)


delivery? ​

optional delivery?: "state" | "deltas"

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:421)

Strict deltas by default; state coalesces dirty topics into current-state batches.


fields? ​

optional fields?: readonly string[]

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:433)


flushThreshold? ​

optional flushThreshold?: number

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:429)

Maximum number of already-queued updates (or dirty state topics) combined into one read batch. Default: the engine's subscriptionFlushThreshold (16). Reads never wait for a batch to fill.


isolated? ​

optional isolated?: boolean

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:439)

Opt out of engine-local market-data feed sharing. Default false.


onDelayed? ​

optional onDelayed?: "warn" | "raise" | "ignore"

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:437)

Warn once per topic (default), reject delayed topics, or only record the flag.


onFieldError? ​

optional onFieldError?: "warn" | "raise" | "ignore"

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:443)

Rejected explicit fields: warn (default), fail the topic, or only record errors.


options? ​

optional options?: readonly string[]

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:422)


overflowPolicy? ​

optional overflowPolicy?: "block" | "drop_newest" | "drop_oldest"

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:430)


rows? ​

optional rows?: boolean

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:441)

Keep a materialized image without queuing rows. Default true.


streamCapacity? ​

optional streamCapacity?: number

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:431)


zeroAsNull? ​

optional zeroAsNull?: readonly string[]

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:445)

Numeric zero sentinels to materialize as null in latest() and state deliveries.

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.