LSEG Data Library for Python

custom_instruments.events.Definition object

This object is for retrieving the historical events data from custom instrument.

Module

refinitiv.data.content.custom_instruments.events

Syntax

events.Definition(universe)

Parameters

Value Description Data type Optional Default value
universe The Id or Symbol of custom instrument to operate on. str No -
start The start date and timestamp of the query in ISO8601 with UTC only. str Yes -
end The end date and timestamp of the query in ISO8601 with UTC only. str Yes -
count The maximum number of data returned. Values range: 1 - 10000. Yes Yes -

Returned value

custom_instruments.events.Definition instance

Usage

The following example demonstrates how to create the definition to retrieve custom instrument events:

from refinitiv.data.content.custom_instruments import events

events_def = events.Definition("S)My.CustomInstrument")

None.

100 words (0:32 mins)