-
I am currently working on building a valuation dashboard for global equity markets using LSEG Worksp
I am currently working on building a valuation dashboard for global equity markets using LSEG Workspace / Eikon API (Python), and I would appreciate your guidance on how to properly access valuation metrics for equity indices. At this stage, I want to avoid assuming specific RICs or datasets, and instead understand the…
-
JSON error received during token refresh error message in LSEG-data for Phyton.
Reaching out on behalf of client a professor in a University. I have shared the steps to client in getting his APP KEY so he can access the Workspace API via Codebook. Client followed the steps and got an API key. Then, he installed LSEG-data for Python and attempted a platform session using OAuth v1 Password Grant with my…
-
Is the SDR FX Options from SDR View page available in API?
Client is looking at FX Option in SDR View and wants to incorporate this to API. He is is not looking for rates, but he is looking for FX Option in SDR View. Is this possible?
-
The error I'm getting is "LDError: Invalid port: THE_FIRST_4_LETTERS_OF_MY_PROXY_COD
import requests user = 'tXXXXXX' # your t-number id (see Who Is Who, for example) pwd = '********' # the password you created for non-standard internet access session = requests.session() session.proxies = {'http':'client proxy' % (user,pwd), 'https':'client proxy' % (user,pwd)} resp = session.get('https://api.github.com')…
-
An error occurred while requesting URL('http://localhost:9000/api/udfError
When using codebook, user tried below scripts. import lseg.data as ld import pandas as pd sss = ld.open_session() fields = ['TR.IndicatorName','TR.IndicatorType','TR.IndicatorSource' ,'ECI_ACT_DT' # GMT Date ,'ACT_VAL_NS' # Time ,'FCAST_PRD' # Period ,'ECON_ACT' # Actual ,'RTR_POLL' # Reuters Poll ,'ECON_PRIOR' # Prior…
-
Historical Leavers and Joiners of .SPX
I need a list of Leavers and Joiners at the beginning let say at 01-01-1990 and then have the in and out for the following years in Phyton API. So this need to be done in 2 times : First having the list at special date let’s say 01/01/1990 Second the IN and Out the following years. For sample RIC : .GDAXI To have a…
-
IBOR Cash Fallbacks
I'm looking to capture daily “IBOR Cash Fallbacks” and hoping that I could use python to do so. If so do you have any instructions for setting this up?
-
Extraction of fixed income data via Eikon API
I am writing a Python script that should take the ISINs of bonds from a CSV file located in the same directory. The task is to load X bonds and plot their YTMs as points on a graph. Bonds with YTMs below certain criteria should be highlighted with a different color. However, the program throws an error because it cannot…
-
Phyton API - ScopeError: Insufficient scope for key
I am doing PhD at ESCP Paris. I want to retrieve ownership data for one of my research. I am using the LSEG data library for Python, following the tutorial on GitHub () However, when running the get_data() method, I got the error message: ScopeError: Insufficient scope for…
-
price index/PUTCAL_RTO for instrument TRRTOEU
Can you please check why I’m unable to pull price index/PUTCAL_RTO in Code Creator or Phyton? This field is working in Datastream Excel and in Workspace Eikon but not in Phyton/CodeBook. import refinitiv.data as rdrd.open_session()df =…
-
Inconsitent retrieval
Hi all, i am trying to retrieve a list of fields for a set of bond cusip codes, however i am getting an inconsistent output. First when i retrieve i see that the dates/indexes instead of going from 2010-01-31 to 2024-12-31 it starts in 1968 and goes until 2024. Additionally i have lots of missing values that should be…
-
FINRA bonds data
Hi all, I am attempting to retrieve bond data from the TRACE provider, but I’ve encountered issues with the current code. Some fields return empty cells, even though the data exists when checked manually. For instance, volume data is one such example. Additionally, the code is not outputting dates. Best
-
'NoneType' object has no attribute 'get' error for API data
Hello all, I am trying to download a list of index constituents using the eikon data API, however, i am getting a 'NoneType' object has no attribute 'get' error for this code : import eikon as ek import pandas as pd from tqdm import tqdm # Import tqdm for progress tracking Your Datastream API keyapi_key = 'kEY ' Initialize…