Hello, I have tried this script in Codebook but get an error. Can you help me adjust the code to work? end goal: dataset for all public companies (~68k companies) with columns Country | Industry | Actual Revenue Q1'25 We would love to also have more quarters of historical data as well. Here is the current code import…
ld.get_data(universe=spx_list, fields=["TRNOVR_UNS", "TRBC_INDUSTRY", "TRBC_ACTIVITY"],parameters={'SDate': '-20D', 'EDate': '0D','Frq':'D'}) attempt to a list of RIC info with relative start date and end date with Frq . the return result is not in wanted frequency let say i want a 20 day data with daily or minutely frq,…
Help! Is it possible to access alternative close prices from the python API? For example BRTDTDMc1 has 2 close prices. ASIA_CLOSE, EU_CLOSE, US_CLOSE, I want to access the ASIA close price as I am trying to find a common timestamp for the below list of prices. Reuters Code' : ['DUBSGSWMc2', 'MRBN1MMASc1', 'OQc1',…
Hi team, I am posting on behalf of an external client for the query below, please help and prioritize: Please can you explain why there is a lag on receiving EIA stats data via a script i have written using the appkey? from lseg.data.content import historical_pricing as hp from datetime import date import os 1. Correct RIC…
I am getting this error. I've tried using a new API key but it isn't being resolved: 2025-08-05 11:51:37,203 P[50440] [MainThread 14636] Error on handshake url http://127.0.0.1:9000/api/handshake : EikonError(1, 'Status code 400: App key is incorrect')
I tried to get the Holiday List using Eikon API in Python but no help, can we get in Python pandas dataframe so that we can use it and play with it ? Please see attached my query in python script.
Running this scripts import refinitiv.data as rd rd.open_session() rd.get_history(universe=["pUSCPNY=E","pUSCPNY=M","pUSCPNY=L","pUSCPNY=H"],interval="quarterly",start="2022-01-31",end="2025-12-31") But I am looking for The poll_date for the economic indicator forecasts, which is not displayed below after running the code.…
I'm not able to download date using this code. This was possible a couple of months ago. importrefinitiv.data as rd rd.open_session() st="JPUSTOSR21M=TTKL" dt1="2025-07-06" dt2="2025-07-09" start_dt = dt1 +"T00:00:00" end_dt = dt2 +"T20:59:59" df =rd.get_history(st, fields=['BID','ASK'], interval="tick", start =start_dt,…
How far back in time is it possible to get news stories with an API using Python in Refinitiv workspace? Even though I set a 3 month period, the retrieved news barely cover one month? Do I need to change anything in the settings? I use this Python function: import_news = ld.news.get_headlines('ECB AND Language:LEN AND…
Hello, I'm working with the Eikon API via Python and am trying to obtain the associated list of the top 20 countries that are associated with the 20 countries returned by the "Country of Risk Revenue Fraction" data item. The code below gives me the list of revenue fractions, but not the countries themselves to compare with…
It looks like you're new here. Sign in or register to get started.