Refinitiv Data Library for Python

get_data

Sends a request to the Refinitiv Data Platform to retrieve the data described in the estimates.view_actuals.interim.Definition object.

Module

refinitiv.data.content.estimates.view_actuals.interim

Syntax

get_data(session, on_response)

Parameters

Value Description Data type Optional Default value
session Session object. If it's not passed the default session will be used. Session object Yes None
on_response Callable function to process the retrieved data. Callable Yes None

Returned value

Response

Usage

The following example demonstrates how to retrieve estimates actuals values for reported interim periods for IBM.N using basic package:

response = estimates.view_actuals.interim.Definition(
    universe="IBM.N",
    package=estimates.Package.BASIC
).get_data()

print(response.data.df.to_markdown())
Response
Instrument Period End Date Financial Period Absolute Financial Period Relative EBITDA - Actual Value EBITDA - Actual Reported Date EBITDA - Actual Standard Unexpected Earnings EBITDA - Actual Standard Unexpected Earnings 60Days EBITDA - Actual Surprise EBITDA - Actual Surprise 60Days EBIT - Actual Value EBIT - Actual Reported Date EBIT - Actual Standard Unexpected Earnings EBIT - Actual Standard Unexpected Earnings 60Days EBIT - Actual Surprise EBIT - Actual Surprise 60Days EPS - Actual Value EPS - Actual Reported Date EPS - Actual Standard Unexpected Earnings EPS - Actual Standard Unexpected Earnings 60Days EPS - Actual Surprise EPS - Actual Surprise 60Days Revenue - Actual Value Revenue - Actual Reported Date Revenue - Actual Standard Unexpected Earnings Revenue - Actual Standard Unexpected Earnings 60Days Revenue - Actual Surprise Revenue - Actual Surprise 60Days
0 IBM.N 2022-06-30 00:00:00 FY2022Q2 FQ0 3642000000 2022-07-18 16:08:00 -1.00207 -1.13129 -5.378 -5.634 2397000000 2022-07-18 16:08:00 -1.85071 -1.93444 -9.925 -10.175 2.31 2022-07-18 16:08:00 0.61833 0.14345 1.642 0.635 15535000000 2022-07-18 16:08:00 3.23301 2.87477 2.348 1.868
1 IBM.N 2022-03-31 00:00:00 FY2022Q1 FQ-1 2904000000 2022-04-19 16:08:00 -0.17674 -0.26979 -0.715 -1.187 1647000000 2022-04-19 16:08:00 -0.54954 -0.65713 -3.212 -3.969 1.4 2022-04-19 16:08:00 0.21 0.1819 1.276 1.112 14197000000 2022-04-19 16:08:00 2.17483 2.26169 2.503 2.326

None