get_data
Sends a request to the Refinitiv Data Platform to retrieve the data described in the estimates.view_summary.historical_snapshots_non_periodic_measures.Definition object.
Module
refinitiv.data.content.estimates.view_summary.historical_snapshots_non_periodic_measures
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 last 12 months for all interim period estimates measures for BNPP.PA using the basic package:
response = estimates.view_summary.historical_snapshots_non_periodic_measures.Definition(
universe="BNPP.PA",
package=estimates.Package.BASIC
).get_data()
print(response.data.df.to_markdown())
Response
Instrument | Price Target - Current | Price Target - 1 Week Ago | Price Target - 1 Month Ago | Price Target - 2 Months Ago | Price Target - 3 Months Ago | Price Target - 4 Months Ago | Price Target - 5 Months Ago | Price Target - 6 Months Ago | Price Target - 7 Months Ago | Price Target - 8 Months Ago | Price Target - 9 Months Ago | Price Target - 10 Months Ago | Price Target - 11 Months Ago | Price Target - 12 Months Ago | Long Term Growth - Current | Long Term Growth - 1 Week Ago | Long Term Growth - 1 Month Ago | Long Term Growth - 2 Months Ago | Long Term Growth - 3 Months Ago | Long Term Growth - 4 Months Ago | Long Term Growth - 5 Months Ago | Long Term Growth - 6 Months Ago | Long Term Growth - 7 Months Ago | Long Term Growth - 8 Months Ago | Long Term Growth - 9 Months Ago | Long Term Growth - 10 Months Ago | Long Term Growth - 11 Months Ago | Long Term Growth - 12 Months Ago | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | BNPP.PA | 66.1089 | 66.2095 | 67.6915 | 67.7015 | 67.581 | 67.581 | 68.006 | 69.9581 | 73.0381 | 69.5982 | 65.9016 | 65.0634 | 63.6825 | 62.195 | 8.822 | 8.822 | 8.108 | 7.67467 | 6.91225 | 6.91225 | 7.384 | 8.63075 | 8.65575 | 12.4953 | 12.2728 | 12.2637 | 11.478 | 11.3373 |
Related links
None.