Refinitiv Data Library for Python

pricing.Definition object

This object creates a definition of information about the specific Pricing data.

Module

refinitiv.data.content.pricing

Syntax

pricing.Definition(universe, fields, service, api, extended_params)

Parameters

Value Description Data type Optional Default value
universe Single instrument or list of instruments. str, list[str] No -
fields Single field or list of fields to return. str, list[str] Yes None
service Name of the streaming service publishing the instruments. str Yes None
api Specifies the data source for the further retrieval of data. str Yes None
extended_params Additional parameters to apply to the request. dict Yes None

Returned value

pricing.Definition object

Usage

The following example demonstrates how to create a pricing definition object for BID and ASK fields for EUR= and USD= instruments.

from refinitiv.data.content import pricing


definition = pricing.Definition(
    universe=['EUR=', 'USD='],
    fields=['BID', 'ASK']
)

None