This is what I am using but getting error for df_rating_lei J is something like: US22822RBD17 # ##Get the LEI (ISSUER) of each security # eikon_lei = pd.DataFrame() # for j in lei: # try: # df = rd.get_data( # universe = j, # fields = ['TR.LegalEntityIdentifier' # ] # ) # item = df['Legal Entity ID (LEI)'] # df_rating =…
Hi, I share code with my students. Obviously, I do not want to share appkey and password. I keep my lseg-data.config.json file outside the git repository and add a path to it. Until now, I delete the link to my credentials manually from the code to not pollute it. Is there a better way to keep credential safe when sharing…
Hello, I recently noticed a discrepancy in trading volume from Eikon Data API for Canadian stocks. In particular, when comparing the consolidated volume for a ticker (say, 'TD') using the RIC = 'TD.CCP' with the aggregated volume for the ticker across all trading venues, I found that before 2024 they are quite close to…
Hi, I would like to get all OTP Bank RICs existed after 2010, in pyhton. The following query only results in the currently existing bonds, how to get all the history, including the already matured ones? import refinitiv.data as rd rd.open_session() rics_df = rd.discovery.search( view =…
I am trying to extract daily OHLCV data for a list of instruments using the Refinitiv Data Library. Here is the code I am using: import refinitiv.data as rd import pandas as pd rd.open_session() instruments = [ "IWDA.L","VAVUAG.L","VWRP.L","VWRA.L","EEDS.L","ISACI.L","SWDA.L","EIMI.L",…
Hi! New(er) to using this API. I am trying to fetch basis data for the past month in order to model, using the geograin RICs. My dataframe was returning empty, See code chunk below. I'm a bit confused because DIB in workspace doesn't show any time series codes non-blank for the RIC, but I have a working excel formula (also…
Hello Team, I would like to check if there is any programmatic method or API capability that allows us to retrieve the public web link for a Reuters news article directly from the NewsML URN returned by the API. For example, for the following URN: urn:newsml:reuters.com:20260312:nL1N40006E I was able to manually search…
I am trying to stream tick level information about YTCc1 using the LSEG-data package in python. I can pull tick histories no worries, but i seem to be losing trades on the stream. I am only getting a small subset of trades in my stream. I have the require data permissions i believe, as i can see the tick stream in the…
I am trying to extract historical data for FID 9940 for several Q‑suffix RICs. I am using the lseg-data Python library and the get_history() method, but it does not return any data for this field on historical dates. From what I understand, FID 9940 may be a real‑time or snapshot-only field, but I need to confirm whether…
When I search for the price of EVs1 in the workspace, the closing price displayed on the page is inconsistent with the price obtained through the API. However, the Open, Low, and High prices are the same.
It looks like you're new here. Sign in or register to get started.