LSEG Data Library for Python

pricing.chain.Definition object

This object creates a definition of information about the specified chains to request and decode them dynamically.

Module

lseg.data.content.pricing.chain

Syntax

pricing.chain.Definition(
    name,
    service,
    override_summary_links,
    skip_summary_links,
    skip_empty,
    extended_params,
)

Parameters

Value Description Data type Optional Default value
name Single instrument chain name. str No -
service Streaming service name. str Yes None
override_summary_links Number of summary links that can be overridden. int Yes None
skip_summary_links If True - summary links will be skipped. bool Yes True
skip_empty If True - empty data items will be skipped. bool Yes True
extended_params Specifies the parameters that will be merged with the request. dict Yes None

Returned value

pricing.chain.Definition object

Usage

The following example demonstrates how to create the pricing chain definition for 0#.FTSE.

from lseg.data.content.pricing import chain


definition_chain = chain.Definition("0#.FTSE")

None

107 words (0:34 mins)