Refinitiv Data Library for Python

stream.close

Closes the streaming connection to the Pricing data.

Module

refinitiv.data.content.pricing

Syntax

stream.close()

Parameters

None

Returned value

None

Usage

The following example demonstrates how to close previously opened pricing stream for the EUR= instrument:

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

stream.close()