FundamentalAndReference.Definition object
This object defines the Fundamental and Reference data to retrieve.
Syntax
FundamentalAndReference.Definition(params: FundamentalAndReference.Params)
Parameters
Value | Description | Data type | Optional | Default value |
---|---|---|---|---|
params | An object literal of type FundamentalAndReference.Params | object | No | - |
FundamentalAndReference.Params properties:
Value | Description | Data type | Optional | Default value |
---|---|---|---|---|
universe | Single instrument or list of instruments | string or string[] | No | - |
fields | Single field or list of fields | string or string[] | No | - |
parameters | Fields global parameters | object | Yes | - |
rowHeaders | Output/layout parameters to add to the underlying request. Puts headers to rows in the response | RowHeaders | Yes | RowHeaders.None |
extendedParams | Additional parameters to apply to the request. | object | Yes | - |
Returned value
ContentDefinition
object.
Usage
The following example demonstrates how to create a Fundamental And Reference object definition to get revenue for "IBM.N"
import { FundametalAndReference } from '@refinitiv-data/data';
const definition = FundamentalAndReference.Definition({
universe: 'IBM.N',
fields: ['TR.Revenue'],
});
`