LSEG Data Library for Python

get_data

Sends a request to the Delivery Platform (formerly Refinitiv Data Platform) to retrieve the data described in the estimates.view_summary.historical_snapshots_periodic_measures_interim.Definition object.

Module

lseg.data.content.estimates.view_summary.historical_snapshots_periodic_measures_interim

Syntax

get_data(session)

Parameters

Value Description Data type Optional Default value
session Session object. If session parameters are not defined, the default session will be used. Session object Yes None

Returned value

Response

Usage

The following example demonstrates how to retrieve the estimates monthly historical snapshot value for last 12 months for all interim period estimates measures for BNPP.PA using basic package.

response = estimates.view_summary.historical_snapshots_periodic_measures_interim.Definition(
    universe="BNPP.PA",
    package=estimates.Package.BASIC
).get_data()

print(response.data.df.to_string())
Response
Instrument Period End Date Financial Period Relative Financial Period Absolute Earnings Per Share - Current Earnings Per Share - 1 Week Ago Earnings Per Share - 1 Month Ago Earnings Per Share - 2 Months Ago Earnings Per Share - 3 Months Ago Earnings Per Share - 4 Months Ago Earnings Per Share - 5 Months Ago Earnings Per Share - 6 Months Ago Earnings Per Share - 7 Months Ago Earnings Per Share - 8 Months Ago Revenue -Current Revenue - 1 Week Ago Revenue - 1 Month Ago Revenue - 2 Months Ago Revenue - 3 Months Ago Revenue - 4 Months Ago Revenue - 5 Months Ago Revenue - 6 Months Ago
0 BNPP.PA 2022-12-31 00:00:00 FQ2 FY2022Q4 1.46025 1.8922 1.8802 1.9198 2.15225 1.60725 1.95933 1.94933 1.665 1.71 12025667500 12025667500 12017812500 11817555500 11947694000 11947694000 11995161000 11995161000
1 BNPP.PA 2022-09-30 00:00:00 FQ1 FY2022Q3 2.2485 2.2435 2.2422 2.2072 2.3145 2.3145 1.75433 1.75433 1.89 1.89 12266684000 12266684000 12190188500 11982300500 12076942500 12076942500 11606759000 11606759000

None

240 words (1:16 mins)