LSEG Data Library for Python

stream.close

Closes the streaming connection to the Pricing data.

Module

lseg.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()

None

24 words (0:08 mins)