Refinitiv Data Library for Python

get_data

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

Module

refinitiv.data.content.estimates.view_summary.historical_snapshots_recommendations

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 the estimates monthly historical snapshot value for recommendations for the last 12 months for all interim period estimates measures for BNPP.PA using the basic package:

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

print(response.data.df.to_markdown())
Response
Instrument Recommendation - Current Recommendation - 1 Week Ago Recommendation - 1 Month Ago Recommendation - 2 Months Ago Recommendation - 3 Months Ago Recommendation - 4 Months Ago Recommendation - 5 Months Ago Recommendation - 6 Months Ago Recommendation - 7 Months Ago Recommendation - 8 Months Ago Recommendation - 9 Months Ago Recommendation - 10 Months Ago Recommendation - 11 Months Ago Recommendation - 12 Months Ago
0 BNPP.PA 2.04167 2.04167 2 2 2 2 1.92 1.92 1.96 1.92 1.96 1.96154 1.96154 2

None.