Hi all, I’m using the latest lseg-data Python library (v1.x) with a Desktop session.For equities like SPY.P the usual Level-1 fields (TR.CLOSE, BID, ASK, etc.) work fine, but I can’t figure out the correct identifier / field for the Cboe Put/Call Ratio. I’ve tried several combinations without success:…
For the economic indicators, with RIC='aXZBISNXBR', which is shown below There is monthly data in the chart. But when I was looking for the field to get this data, I checked for the DIB, but I could not find the right Item Code for the indicator. I think it should be 'ECON_ACT'. But no data was shown when I checked for…
I am downloading basic company fundamental information, but having problems with FundUpdType (this returns if the financial statements are Original, Restated, ect. For the example I am using IBM.N and M.N because M.N — ie Macys, restated their last 3 years in March 2025) Anyway, during the weekdays the following code (i…
I would like to download all analyst recommendations released between 2000 and 2024 (not just the latest, but the full historical data). Specifically, I want to retrieve the following information: The date the recommendation was announced The date it was activated in Refinitiv (i.e., when it became available in the system)…
Hi, I'm working with the pricing stream API and I've encountered an issue specifically with subscribing to economic data. I am able to successfully create a stream for bid and ask of EUR=. The stream opens correctly, the status changes to 'Live', and I receive updates as expected. However, when I try to subscribe to…
Sample instrument: DE000A1MLRP0 I downloaded the field "RCSCoveredBondGenealogy" and it is populated by codes, such as "A:3X\\A:NW". How do I interpret those field? Is there a glossary or a guide to decrypt them? this is my query: response = search.Definition(view = search.Views.GOV_CORP_INSTRUMENTS,top = 10000,filter =…
Question 3 – In our code we aim to capture all future dividends using the future dividend cashflows and dividends that have gone XD in the current month up to the current date. Intermediate Capital Group (SEDOL = BYT1DJ1) has no future dividend expectations however is going XD-Div on the 12-June based on the bottom rows.…
I'm trying to retrieve the most recent bond ratings from Moody's, S&P, and Fitch from a list of tickers. I convert the list of tickers to both ISIN and RICs with this code that seems to work: I tried throwing the whole list of codes as either RICa rics = codes['RIC'].tolist() or ISIN as isin = codes['IssueISIN'].tolist()…
It seems to work below code but is there more efficiently codes like historical_function in workspace API? ### import refinitiv.data as rd import refinitiv.data.content.ipa.financial_contracts as rdf from refinitiv.data.content.ipa.financial_contracts import bond rd.open_session() import pandas as pd from datetime import…
I'm using the Refinitiv Python API (refinitiv-data) to pull ESG data (2013–2024) for multiple companies. I want a wide format like this: I use the rd.get_history command (see screenshot below), and get a very large dataset with date in column 1, and instrument + variable for each column filled with many N/A values as the…
It looks like you're new here. Sign in or register to get started.