get_data
Sends a request to the Refinitiv Data Platform to retrieve the data described in the estimates.view_actuals.annual.Definition object.
Module
refinitiv.data.content.estimates.view_actuals.annual
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
Usage
The following example demonstrates how to retrieve the estimated actuals values for the reported annual periods for IBM.N using the basic package:
response = estimates.view_actuals.annual.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 | 2021-12-31 00:00:00 | FY2021 | FY0 | 15166000000 | 2022-01-24 16:08:00 | -18.00387 |
|
-15.23 | -16.812 | 8750000000 | 2022-01-24 16:08:00 | -7.4409 |
|
-20.258 | -24.115 | 7.93 | 2022-01-24 16:08:00 | -8.36646 | -9.64782 | -20.593 | -21.779 | 57350000000 | 2022-01-24 16:08:00 | -74.01024 | -17.30174 | -18.179 | -18.792 |
1 | IBM.N | 2020-12-31 00:00:00 | FY2020 | FY-1 | 15379000000 | 2021-01-21 16:16:00 | 11.96318 | 13.01738 | 3.304 | 3.332 | 8684000000 | 2021-01-21 16:16:00 | 1.42381 | 1.41022 | 2.807 | 2.843 | 8.67 | 2021-01-21 16:16:00 | 1.80057 | 1.61115 | 2.852 | 2.843 | 73620000000 | 2021-01-21 16:16:00 | -1.10211 | -1.05233 | -0.497 | -0.467 |
2 | IBM.N | NaT | FY2021 | FY0 |
|
NaT |
|
|
|
|
|
NaT |
|
|
|
|
|
NaT |
|
|
|
|
|
NaT |
|
|
|
|
Related links
None