LSEG Data Library for TypeScript

open

Allows you to open the streaming connection by sending corresponding requests for all requested instruments.

Syntax

stream.open()

Parameters

None.

Returned value

Promise<Delivery.OMMStream> a Promise with the current stream instance.`

Usage

The following example demonstrates how to create and open an OMM stream:

const stream = Delivery.OMMStream.Definition({
    name: 'EUR=',
    fields: ['DSPLY_NAME']
}).getStream();

await stream.open();

None.

35 words (0:11 mins)