-
Why is the fperiod not properly aligned with the values?
I'm having problem when downloading financial income data. For this example in the code below, the "Financial Period Absolute" (fperiod) is not properly aligned with the true financial data. We can see that on "TR.F.OperProflnOpCASR | XEBT", there are 2 values on FY2024Q4, but it should be one value for FY2024Q4 and…
-
Error with LSEG-data Python API
I am getting this error when calling ld.news.get_headline lseg.data._errors.LDError: Error code 429 | Too many requests, please try again later. although this was working fine up until yesterday. I have already been waiting for about a day. Could you kindly help me understand what's going on?
-
inconsistency with get_history lseg api endpoint
I'm currently migrating a workflow from the legacy Eikon Python API to the new LSEG Data (RD) API, and I’ve encountered a couple of points that require clarification. In the Eikon API, I was using the get_timeseries() function with fields='CLOSE' to retrieve historical Euribor data for the following instruments:…
-
Multiple values returned from get_data
Hi, I've inherited some Python code that downloads debt seniority data. I'm running a test on a single security: df_pull_isin, error = ek.get_data(instruments = 'US404280EN53', fields = [ 'TR.NISeniorSubordinatedDebtIndicator.date','TR.NISeniorSubordinatedDebtIndicator.value']) returns output of the form 4414 US404280EN53…
-
Issue with rd.get_data - Server Connection Problem
Dear Support Team, I am experiencing issues with server connectivity when using rd.get_data in Python to retrieve data via API. Recently, I switched the library from Eikon to Refinitiv. While using rd.get_data, sometimes the function returns data immediately, but other times it takes a long time to respond and eventually…
-
We are getting a problem when we request data with the TR.FundYeartoYesterday Field in LSEG_DATA
Its is returning a datevalue. Here is the code to replicate error: """ import pandas as pd import numpy as np import lseg.data as ek ek.open_session() Fields= ['TR.FundYeartoYesterday'] Fundamentals= ek.get_data('LP68102841', Fields) ek.close_session() """ This is being replicated across all other instruments. Other fields…
-
Reproducibility issues when applying screener app in Eikon API (filters = country of HQ + total rev)
Hello, I am using the eikon API with python in a jupyter notebook. Within this, I am having reproducibility issues with the screener function when I screen for US companies with a 250M USD minimum total revenue. I want to compare revenue values as a function of timepoint (to help me better understand the timepoint…
-
Will Migration from Eikon to Workspace Affect Eikon Data API for Python Code/Formulas?
Raising this on behalf of client as they are planning to migrate from Eikon to Workspace and currently uses the Eikon data API for Python (). The functions they rely on include the following: get_data(), get_news_headlines(), and get_symbology(). They would like to confirm whether it is possible to migrate their existing…
-
Downloading Analyst Reports using Eikon Data API in Python
Hi everyone, I am trying to download analyst reports using the Eikon Data API in Python, but I am running into issues with both approaches I have tried. Hoping someone here can help! Issue 1: 500 Internal Server Error for Document Download The first method I tried was getting the document ID and then using the…
-
Why am I getting different outputs when using CUSIP vs RIC?
In the code below, the volume data which we get is different, when I use the CUSIP vs when I use the ticker. Can you help me in getting the correct information? I want to use CUSIP, but want to get the information which is returned when I use the Ticker as the universe. import refinitiv.data as rd rd.open_session() df =…
-
Gross vs Net Price Data
I am using the following formula to pull historical prices for a large number of ISINs: df_int, err = ek.get_data(instruments = isins ,fields = ['TR.CLOSEPRICE','TR.CLOSEPRICE.date'], parameters = {'Frq' : 'D,','SDate': '2012-01-01', 'EDate' : '2023-12-31','CH' : 'Fd','RH' : 'IN'}) This successfully pulls a price each day…
-
Do we have an option to retrieve SDC New issues data in API?
Client provided code: import eikon as ek import pandas as pd import logging import time # Configure logging logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') # Set your Eikon API key API_KEY = '' ek.set_app_key(API_KEY) # Define fields to query fields = [ 'TR.NIBPSToBenchmark',…
-
Is there a tutorial on converting the Python Eikon API to Workspace API?
Once again, I'm getting the following error: EikonError: Error code 400 | Backend error. 400 Bad Request I'm hoping that moving from the Eikon API to Workspace API (or whatever the new API is called) will help prevent such errors in the future. I'm unsure of the Workspace package name that needs to be installed using: pip…
-
Evariste NYOUKI
Hello I want to retrieve open interest data on some futures contracts. With ek.get_data, I can indeed retrieve the last data. But what I want is the price series. And with ek.get_timeseries, it doesn't work: I get NA values. Does anyone have a solution?
-
Eikon API script doesnt work with Workspace.
Hi, can you please help on below - this is my script to grab a rolling basis of 5 days VWAP data for an underlying daily into a dataframe but it doesnt seem to work anymore. I changed it from Eikon to lseg.data import pandas as pd import win32com.client import subprocess import json import requests import re import eikon…