-
rd.news.get_story('urn:newsml:newswire.refinitiv.com:20171029:nTOPNEWS:552851')
I currently use the following and understand it is being retired. What is my best option to pull news in python that also links to articles? rd.news.get_story('urn:newsml:newswire.refinitiv.com:20171029:nTOPNEWS:552851')
-
LSEG api is constantly failing
Recently data retrieved from the lseg python api is constantly failing. I have been getting various errors: 1. ld.open_session() : is not connecting (happens sometimes) 2. ld.get_data(): data retrieval is SLOW. tasks that took less that 1 second is now taking >1 min. sometimes does not retrieve all the requested fields or…
-
Prices Data Quality Issue
Hello, We have identified what appears to be incorrect historical price data for several RICs. For example, we are retrieving historical data using the following code: current_rics = ['AAL.L'] start_period = datetime(2000, 5, 20) end_period = datetime(2026, 7, 30) with ld.open_session(config_name=LSEG_CONFIG_PATH): df =…
-
How to get API to open for ownership fields
It works for ESG but I am unable to get the following: TR.CloselyHeldSharesPct, TR.ShareClassType, TR.IndependentDirectorsPct, TR.ChairmanCEODuality, TR.OfficerDirectorBiographies Attached is the content of the Jupyter Notebook I used in WS Codebook. Many thanks.
-
Reuters API question
I understand that the fields parameter can return historical data fields such as TIMESTAMP, VALUE, VOLUME, HIGH, LOW, OPEN, CLOSE, and COUNT. Currently, I am using the following parameters: start_date: Previous day end_date: Current day interval: daily fields: CLOSE I have two questions: If I would like to retrieve the…
-
Commodity Index
I am trying to extract the futures contracts that compose commodity indices such as BCOM using the Refinitiv/LSEG Python API. My goal is to retrieve, for each index component: the current futures contract used by the index; the next futures contract used for the roll; the settlement or close price for both contracts; I…
-
Workspace API news retrieval by free text
I am trying to pull news headline by fee text, but it does not return relevant headlines. Example code is: df = ld.news.get_headlines("Private Credit" and "LEN", start="22.06.2026", end=timedelta(days=-1),count=10) display(df) Please advise if free text is possible?
-
Historical Chain Constituents for =DLV basket
Hi Team, Can you please advise how to retrieve historical chain constituents specifically for Delivery Baskets (i.e. DLV). from lseg.data.discovery import Chain fchi = Chain(name="0#TYc1=DLV") print(fchi.constituents)
-
ld.discovery.search for multiple instruments
Is it possible to use `ld.discovery.search` for multiple instruments? When I try: ``` ld.discovery.search( # view="EquityInstruments", query=["PA1436583006", "US5128071082"], select='ExchangeCode') ``` I get: `LDError: Error code 400 | Validation error: json.Query in body must be of type string: "array"` even though ```…
-
No data for 2026-06-01. I am running this as a standalone python file.
-
Intermittent Error in Jupyter Notebook – get_history Script
Hi DevPortal Team, I hope all is well. Our client is currently using a Jupyter Notebook and has observed that the script below sometimes runs successfully, but at other times returns an error. Could you please help review and advise on the possible cause of this intermittent behavior? Script used: df = ld.get_history(…
-
Symbol conversion using lseg.data
I wanted to convert between security identifiers depending on the identifier type I may have. I have checked the symbol conversion module and the fundamental reference module, both under content layer. There are some differences in their behaviors. Below is an example based on CUSIP to ISIN/RIC mapping. Symbol Conversion…
-
LSEG Data API for Python to pull historical options data for ICE Brent Crude (e.g. the chain: 0#LCO+
Raising a question on behalf of a client I'm trying to use LSEG Data API for Python to pull historical options data for ICE Brent Crude (e.g. the chain: 0#LCO+). I know how to construct expired option RICs e.g. LCO7000A5^A25, LCO7000A4^A24. I generate an extensive list of potential RICs that have expired, with strikes from…
-
How to retrieve the constituents of an option chain for a specific date?
I would like to find the constituents of an option chain for a specific date. For instance, I am working woth 0#MAL+ option chain but I am only able to get the current constituents using the following request: response = ld.get_data(universe = '0#MAL+', fields = 'DSPLY_NAME', parameters = {'SDate':'2005-01-01'}) The SDate…
-
Workspace API endpoint question
Please advise endpoint (i.e. URL) when access using Workspace desktop session provided by LSEG Data Library.