Refinitiv Data Library for Python

fundamental_and_reference.Definition object

This object defines the Fundamental and Reference data to retrieve.

Module

refinitiv.data.content.fundamental_and_reference

Syntax

fundamental_and_reference.Definition(
    universe, fields, parameters, row_headers, use_field_names_in_headers, extended_params
)

Parameters

Value Description Data type Optional Default value
universe Single instrument or list of instruments. str or list(str) No -
fields Single field or list of fields. str or list(str) No -
parameters Fields global parameters. dict Yes None
row_headers Output/layout parameters to add to the underlying request. Put headers to rows in the response. str or list(str) or RowHeaders.Date Yes None
use_field_names_in_headers Boolean that indicates whether or not to add field names in the headers. Bool Yes False
extended_params Specifies the parameters that will be merged with the request. dict Yes None

Returned value

fundamental_and_reference.Definition object

Usage

The following example demonstrates how to create a Fundamental And Reference object definition to get revenue for "IBM.N":

from refinitiv.data.content import fundamental_and_reference

definition = fundamental_and_reference.Definition(
    universe="IBM.N",
    fields=["TR.Revenue"]
)

RowHeaders