get_data
Sends a request to the Refinitiv Data Platform to retrieve the data described in the estimates.view_summary.historical_snapshots_periodic_measures_annual.Definition object.
Module
refinitiv.data.content.estimates.view_summary.historical_snapshots_periodic_measures_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 estimates monthly historical snapshot value for the last 12 months for all annual period estimates measures for BNPP.PA using the basic package:
response = estimates.view_summary.historical_snapshots_periodic_measures_annual.Definition(
universe="BNPP.PA",
package=estimates.Package.BASIC
).get_data()
print(response.data.df.to_markdown())
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 | Earnings Per Share - 9 Months Ago | Earnings Per Share - 10 Months Ago | Earnings Per Share - 11 Months Ago | Earnings Per Share - 12 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 | Revenue - 7 Months Ago | Revenue - 8 Months Ago | Revenue - 9 Months Ago | Revenue - 10 Months Ago | Revenue - 11 Months Ago | Revenue - 12 Months Ago | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | BNPP.PA | 2023-12-31 00:00:00 | FY2 | FY2023 | 7.5454 | 7.5409 | 7.39673 | 7.40027 | 7.31296 | 7.27723 | 7.1949 | 7.18636 | 7.62327 | 7.55157 | 7.36235 | 7.30215 | 7.1042 | 7.05953 | 48546690060 | 48557278190 | 47935876610 | 47243024530 | 46942723740 | 46843769680 | 45862737530 | 45910090710 | 46417926770 | 46708688500 | 47596680770 | 47974433650 | 47656472180 | 47593916110 |
1 | BNPP.PA | 2022-12-31 00:00:00 | FY1 | FY2022 | 8.67664 | 8.59164 | 8.54381 | 8.60706 | 8.08737 | 7.95991 | 7.2109 | 7.07675 | 7.29061 | 7.38617 | 7.05948 | 6.832 | 6.66661 | 6.53391 | 49989968400 | 49999925070 | 49112573780 | 48414815280 | 47972759280 | 47871745720 | 46001342440 | 46016864270 | 46535788220 | 46439579740 | 46553732280 | 46783230940 | 46547335720 | 46491242580 |
Related links
None