-
Bond issuers income statement data download
Hello everyone, I am trying to download financial information regarding bond issuers, starting from a series of bond ISIN codes. The query I am using is the following: rd.get_data( universe = ISIN_list, fields = [ 'TR.RIC','TR.NACEClassification', "TR.DTSubjectName", "TR.FIIssuerName", 'TR.FiOrgID', "TR.F.TotRevenue",…
-
Python command discovery.convert_symbols fails for matured bonds
In Codebook, the Python commands: import refinitiv.data as dl dl.open_session() ISINs=['DE000A11QTD2'] RICs=dl.discovery.convert_symbols(ISINs).loc[:,'RIC'] produce an error when an ISIN of an expired bond (e.g. DE000A11QTD2) is specified. However, it works for not expired bonds. What can be done so that the command works…
-
Workspace Add Analysis>EMA display different numbers than pd.ewm using Python
Using the following snippet as in a former question [Is it possible to pull Exponential Moving Average data using the RD Library?](https://community.developers.refinitiv.com/discussion/112022/is-it-possible-to-pull-exponential-moving-average-data-using-the-rd-library/p1?tab=accepted) for `TSLA.O` will give an EMA endpoint…
-
Workspace Screener in Codebook returns error code 800
When running a screener in Python (Codebook), error code 800 is returned (see screenshot). What can be done to remedy this?
-
Workspace Codebook space size
I'm using Codebook in Workspace for quantative trading. Based on my workflow, I need to download the market data and test my trading signals. The reason why I'm using Codebook is due to limitation of runing python in my own deskop. So Codebook is the only way I can test my script. Considering the time for data retrieving,…
-
Unable to pull intra-day bid/ask price historical data at 1min frequency
The following code returns bid/ask price data at daily frequency despite mentioning 'minute' in the interval option. Could anyone please help in resolving this? Code: import refinitiv.data as rd import datetime start_date = datetime.datetime(2005, 1, 1) end_date = datetime.datetime(2005, 3, 2) rd.open_session() df =…
-
How to connect to ATS and Contribute with Codebook
Is there any example?
-
Multiple Periods in Codebook
Client has a list of companies and one of which is 2382.HK. He wants to get the quarterly data but this specific RIC has no quarterly data. Now, client wants to know how he can write it to get the quarterly and semi annual data in 1 request? Product is API/Codebook. Thank you!
-
Using Python API, will it allow me to get more than 5K rows worth of records from the screener?
-
Getting error code 403 when trying to get all of the emissions data from the ESG universe
Getting error code 403 when trying to get all of the emissions data from the ESG universe Error code 403 | access denied. Scopes required to access the resource: [trapi.data.esg.universe.read]. Missing scopes: [trapi.data.esg.universe.read]. Contact Refinitiv to check your permissions.
-
How to automate Download for prospectus for Green and Sustainability bonds
I am trying to automatize the download of prospectus for Green and Sustainability bonds. Is it possible to use the python API or the Codebook App to program a code that download these pdf?
-
How to get percent change between two intraday values?
Hello Team, I have syntax below that gets data at exactly 6PM (df) and latest tick of EUR= (df2) I'd like to get the percentage between the two output. I tried df3 =((df2-df)/df*100) but it is not working. Also, how can I set a specific timezone? import refinitiv.data as rd rd.open_session() df = rd.get_history( universe =…
-
Parameters format does not work
I am raising this on behalf of client. Why does this script/parameter format does not work? import refinitiv.data as rd rd.open_session() df = rd.get_data( universe = ['AAPL.O'], fields = ['TR.F.TotRevenue'], parameters={'ReportingState': 'Orig'}, ) Kindly note that I have given this below script (codebook) to the client…
-
Use dscode to retrieve data
How can I use a list of dscode values to retrieve cross-sectional data on close price, volume, ask price, and bid price from the Refinitive API?
-
Can I pull the stories from News Alerts in Codebook?
Hi, this question is regarding the Codebook (Python 3 console). Using the news.get_story function, is there a way to pull specific headlines from my News Alerts, without the need for manually inputting the topics, sources, and filters into the parameters of said code?