Refinitiv Data Library for Python

stream.open

Opens the streaming connection to the Pricing data, and sends corresponding requests for all requested instruments.

Module

refinitiv.data.content.pricing

Syntax

stream.open(with_updates=True)

Parameters

Value Description Data type Optional Default value
with_updates Boolean indicator of how to work with the stream. If True - all data will be received continuously. If False - only the data snapshot will be received bool Yes True

Returned value

None

Usage

The following example demonstrates how to open the pricing stream for the EUR= instrument:

stream = pricing.Definition(universe=['EUR=']).get_stream()
stream.open()