-
Python refinitiv lib token expiration error
I'm using refinitiv lib in python like this: import refinitiv.data as rd rd.get_data(universe=self._stocks,fields=["TR.HIGHPrice","TR.OPENPrice", "TR.CLOSEPrice","TR.LOWPrice","TR.CLOSEPRICE.DATE","TR.ACCUMULATEDVOLUME", "TR.NUMBEROFBLOCKTRADES","TR.TSVWAP"], parameters={'SDate':self._start.strftime("%Y-%m-%d"),…
-
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…
-
Unable to retrieve TR.FiCountryName field with a platform session
Hi, I've run into an odd issue where I cannot run the following Python line below under a platform session. Time series values and other fields such as TR.InstrumentDescription work fine. Permissions team says permissions are correct. rd.get_data( [ 'US10YT=RR', 'CA10YT=RR', 'GB10YT=RR', 'DE10YT=RR', 'EU10YT=RR',…
-
Is it possible to create a composite chart from a list of symbols
I was able to do this on Eikon (see attached pdf) by typing in:…
-
Eikon Data API Usage Limits
Hi Team, I am new to the API and currently using the Eikon Data API to fetch news data through a Python script that runs every minute. However, at some point, the program crashed. To identify the issue, I ran the sample code from the codebook, but it returned an empty dataframe: I have a few questions regarding this: Did I…
-
lseg.data.get_data running for around an hour and returning error
When fetching daily prices for 200 bonds using ISIN identifier, usual time taken is around 40 seconds, but sometimes the request takes around an hour and returns either "Backend error. 400 Bad Request" or "Asynchronous Query library internal error". API Logs attached. Code used When same request is retried either it fails…
-
How to pull a list of all the RICs/instrument from Refinitiv?
I would like to know how I can get a list of all the RICs/Instruments used and saved in the lseg/refinitiv database? additional: I would like to know how I may retrieve historical data? example: GDP unemployment rate, interest rate, inflation rate, bonds, commodities. Will I be able to pull data dating back 10years? FYI, I…
-
Unable to use symbol_conversion module of Refinitiv Data Library for Python.
Good afternoon, Establishing connectivity with a Python script to our locally hosted RTDS servers, I am able to connect without issues and request RIC data as session with call such as: ricarray = "MSFT.O" result=rd.get_data( universe=ricarray,) print (result) Result: Instrument PROD_PERM RDNDISPLAY ... ODDTRN_UNS…
-
Why do i not see a plot when using the following code, arima model?
from statsmodels.tsa.stattools import adfuller from statsmodels.tsa.stattools import acf, pacf from statsmodels.tsa.holtwinters import ExponentialSmoothing from statsmodels.tsa.arima.model import ARIMA from statsmodels.tsa.seasonal import seasonal_decompose from datetime import timedelta, datetime import pandas as pd…
-
Bond and Counterparty ratings with Refinitiv Data (RD) library Python API
Hi, is there a way to retrieve Bond and Counterparty ratings with Refinitiv Data (RD) library Python API? There are ISINs for Bond ratings and ticker codes for Counterparty ratings. Do I have to find RICs for those ISINs and ticker codes and use those RICs in RD library to search for the ratings? OR is it possible to get…
-
LSEG Data Library for Python - extended documentation for valid parameter values
Where can i get full documentation of all the valid arguments that can be used with the LSEG Data library for python? For example, the get Fundamentals data function takes a dict for the parameters argument - where can i get a list of all the keys and definitions that are supported for this arg?…
-
How can we know which fields are available for returning time stamps using get_history?
I am trying to receive time stamps (more granular than daily) using get_history. I know there are different intervals that I can select, and I can return time stamps with certain items. I am curious if there is a way to identify which fields can be retrieved for time stamps using get_history. I understand get_data function…
-
API for News Headlines - date problem
Hi, I am trying to download headlines data with the ek.get_news_headlines function. Yet, I am running into the error: ValueError: Parser must be a string or character stream, not Timestamp when passing datetime values like below. Or running into "TypeError: datetime64 values must have a unit specified" when passing string…
-
Mining business development research
I am starting to conduct some mining business development research. Is using the excel add-in the most efficient tool for this? Is there a page or link where I can find some further information on how to make this research as efficient as possible? I essentially want a workbook breaking down the mining operations in…
-
Pulling snippet date VCHAIN data LSEG Workspace via Refinitiv API
I have question about the LSEG Workspace value chains data (VCHAIN). For some time we've been pulling the VCHAIN data via the Refinitiv API. This works like a charm for the following fields: TR.SCRelationship', 'TR.SCRelationship.ScorgIDOut', 'TR.SCRelationship.instrument', 'TR.SCRelationshipConfidenceScore',…