-
How do I solver error "LDError: Insufficient scope for key" in LSEG Data Package?
Using the following script: import lseg.data as ld from datetime import datetime import pytz import pandas as pd ld.open_session() # Define the EST and UTC timezones est = pytz.timezone('US/Eastern') utc = pytz.utc # Create a datetime object in EST est_time = est.localize(datetime(2025, 11, 5, 16, 50, 0)) # Year, Month,…
-
Error 429 and AttributeError when downloading the data through APP key in python
Hi Dev team good morning. May I ask for your assistance. Error 429 and AttributeError import asyncio import tkinter import pandas as pd import lseg.data as ld from lseg.data.content import fundamental_and_reference bonds = pd.read_csv('isin_list.csv')['ISIN'].to_list() tkinter.Tk().withdraw() print('Enter your Refinitiv…
-
fields error using ld.get_history with LSEG workspace version desktop1.26.412
I was using python3.13, it returned the following error. But when checking DIB for bond futures and interest rate futures, there exists 'CF_BID','CF_ASK','CF_LAST','CF_HIGH'. How can I solve the problem? ld.get_history( universe='TYU2^2', fields=['CF_BID','CF_ASK','CF_LAST','CF_HIGH'], interval="hourly",…
-
CURVB via python
Hi, is it possible to download (or replicate) the information from the CURVB app into Python? Specifically, I am looking to generate the information screenshoted from the CURVB app directly in Python.
-
Accessing Ownership Data via WS Codebook - LSEG Data Library
Client Name: Federico Vicentini | Case 15406907 Account: Graduate Institute of International Development and Studies Product: WS For Students Query: I am trying to use the Codebook App to utilize the LSEG Data Library to access Ownership data (to which I have access through Workspace). Unfortunately, I receive a 403 error…
-
Certificate Validation Issue Connecting to api.refinitiv.com
We are trying to connect to the api.refinitiv.com host using curl or powershell and the connection is only successful if we make an insecure connection, ex. curl -k <params>. Curl returns the following error and we similar issue for powershell. curl: (35) schannel: next InitializeSecurityContext failed:…
-
Could you please create a formula in phyton?
https://us.v-cdn.net/6038239/uploads/CACNVV9PE3ZC/lseg-series-281-29.xlsx I have a data series for 'iBoxx EUR Banks Senior United Kingdom - Optional Adj Sprd - iBoxx EUR Banks Senior United Kingdom - Optional Adj Sprd' which I currently pull through into a spreadsheet with the IBEBSUK ticker. Would you have some sort of…
-
Using EOD report template to retrieve historic prices?
Is it possible to use EOD report template to retrieve historic prices? (must avoid using TimeSeries templates). This is in xml format via sftp requests to Datascope Select Is it possible, any hints?
-
Add a parameter internal proxy information in the LSEG Data Platform Python library
Hello, What is the correct and most reliable way to configure proxy settings for a "Platform" session in the lseg-data library? An example using the proxies parameter would be appreciated. Many thanks
-
Price target data
Hello, How can I use Python to extract the underlying data for something I see on the terminal? For example, recommendations and target price trends.
-
Getting Fund's Constituents is not working
Hi, I am currently using the funds\v1\assets endpoint of the RDP API to retrieve all constituents of a fund via the “Holdings” property. However, I keep getting an empty result, as shown below: { "assets": [], "totalRecords": 0, "fromIndex": 0, "toIndex": 0, "pageNumber": 0} Does anyone know if I am using the correct…
-
Sample code not returning data
I am testing this sample code in order to get data, but the dataframe returned is empty My college is getting data with this same code, so Im assuming its something related to configuration
-
Workspace desktop to API news timestamps out of sync
In the Workspace desktop front-end we see that the Reuters article on Qualcomm’s earnings yesterday came out at CET 22:02:26 (that makes sense, post market US market close in CET), but the same article gets a Timestamp of 21:02:26 in API, exactly one hour earlier It is as if the Timestamps don’t take into account the fact…
-
Need assistance on the client's query below:
Analyzing the loaded data for the last 10 to 15 financial years, I found multiple cases of misaligned or otherwise incorrect data. Parameters for SDATE and EDATE are the following: today = datetime.now() EDATE = today.strftime("%Y-%m-%d") # Today's date in YYYY-MM-DD format SDATE = (today.replace(year=today.year - 10,…
-
I would like to ask info about the timestamp of EURHUF data from the Refinitiv python package.
Raising it on client behalf I would like to ask info about the timestamp of EURHUF data from the Refinitiv python package. How do I know if it is my time (Budapest, right now UCT+1). Please explain how to get the data to match my perception, I can't fix my mismatch 388.4 2025-10-28 12:35:43 EURHUF= BID ASK Timestamp…
-
How to increase the timeout of the ema config
Hello team I am getting below error while publishing the instruments Exception occurred while doing the publishing ::::::dictionary retrieval failed ( timed out after waiting 45000 milliseconds) for 8.***.0.***:14002) Can you please help me out to increase the timeout for the same the ema version I am using is 3.8.2.0 and…
-
Login Denied:Failed to validate sso token
Hi, Recently in my OMMConsumer application (EMA C++ (ema3.7.3.L1)) in pre-production received following 'Status Message' from RTO }FtGroupId [100] SessionId [1] IsActiveSession [TRUE]{Output: Timestamp: 20251028-07:31:31.957967 StatusMsg streamId="1" domain="Login Domain" state="Closed / Suspect / Internal error from…
-
Infrastructure 360
(I apologise in advance to those to whom this question may sound stupid.) I have just started using the LSEG data. I would really like to connect the "Infrastructure 360" app in Python, but I cannot seem to find a way to get the data through the API. It would be extremely useful to obtain the geolocations of the projects,…
-
How to use LSEG Data Library for Python in a docker container?
How to run use the lseg data library inside of the Docker container and connect to the LSEG Workspace session that is running outside of that container? I try to use those function in lseg data library in the docker container, while it keep saying session not open while in my code already included the `…
-
Workspace data API Errors: Error Code -1|'headers'
Hello Data API team, I'm raising this issue on behalf of my client Workspace users. The issues are discribed below: When I using Workspace data API, I frequently get the Errors refinitiv.data._errors.RDError: Error code -1| 'headers'. Please kindly find the screenshot attached with the error message. I can confirm all the…