-
Mutual fund past portfolio holdings via Eikon API
Hello, as a follow up to my recent question here, which was wonderfully answered, I was wondering if it is possible to get the historical/past portfolio holdings of a mutual fund via the Eikon API? In Eikon, this data is available when viewing a specific fund, then going holdings => derived holdings. A screenshot of that…
-
Historical data for bid/ask spread for stocks
Hello, I would like to retrieve bid/ask spread for a list of stocks on a specific date historically. But I found it is not possible to directly retrieve in the desktop. Therefore I am considering using Python. Could anyone help me with this? Thanks a lot in advance!
-
Currency of sovereign CDS
I found there are different currencies options for a sovereign CDS when downloading via Eikon. For instance, the US government 5Y CDS, i.e., USGV5Y**AC=R with ** stand for the currency. This CDS can be quoted by USD, GBP or EUR. But what does it mean with quoted by different currencies, and what are exactly the difference…
-
Is it possible to find the RIC of certain company with Eikon Data API if I only have company name...
Is it possible to find the RIC of certain company with Eikon Data API if I only have company name in hand?
-
How to obtain fiscal quarter period name, earnings release as well as period start and end dates
I am looking to obtain the fiscal period name, start and end date as well as earnings release date for a set of tickers. I can obtain the earnings release date and period end date using the code below, but I am unsure how to get the actual fiscal quarter/period (i.e. FY19 Q1)…
-
Getting Module Error
How to fix this issue
-
Issue with Inconsistent Data Retrieval. How do everyone get data steadily?
Hi everyone, I'm encountering a strange issue as I use RIC and PermID to get_data and then get different return, Please refer to the screenshot: as you can see the df2 is empty, it should be return as df1 since '4295884869' is the PermID of 'ASML.OQ' I tried several times and the PermID kept returning empty dataframe, does…
-
The way to get news with the query it shows
Hi, I followed Eikon Python api, but it gave me different data. please help me. I would like to get these news, so i put that query in my python code, but it gives me the latest news, not what i wanted. Here is what i did: and Here is what it provided. please let me know, what is wrong..
-
Getting a "ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by t...
...he remote host" error while using the dataplatform API in python. While running the get_timeseries function in a loop, i get this error in every subsequent call.
-
ReadError: [WinError 10054] An existing connection was forcibly closed by the remote host
Below is the code I am using. Anyone can help? Thank you. ********************************* import refinitiv.data as rd from refinitiv.data.content import search rd.open_session() response = search.Definition("AU000000BHP4 Berlin",top=1).get_data() response.data.df.iloc[0][4] rd.close_session()…
-
How can I add date to get_data() when I want to to pull NumEstRevisingUp and NumEstRevisingDown
Here is the code I did to pull but there is only one date: import refinitiv.data as rd rd.open_session() df = rd.get_data( universe = ['ABI.BR'], fields = [ 'TR.NumEstRevisingUp', 'TR.NumEstRevisingDown', 'TR.PriceClose.date' ], parameters={ # 'Curn': 'CAD', # 'Frq': "1D" 'SDate': '-5', # "2023-11-01", 'EDate': '0', #…
-
Is Eikon API down?
<module> df_chain1 = ek.get_data(chain_id, fields=field2, parameters={"SDate":date_end2, "EDate":date_start2, "Frq":"D"}) "C:\Program Files\Anaconda3\lib\site-packages\eikon\data_grid.py", line 141, in get_data result = eikon.json_requests.send_json_request(DataGrid_UDF_endpoint, payload, debug=debug) File "C:\Program…
-
Unable to resolve identifier when requesting data through refinitiv data api
import refinitiv.data as rd index_ric = '0#.KS200' summary = rd.get_history( universe = index_ric, fields = [ "TR.CompanyMarketCap", # "TR.GICSSector", ], start = "2024-06-01", end = "2024-06-30" ) summary When running the above I get the following error RDError: Error code -1 | Unable to resolve all requested identifiers…
-
How to get all bonds issued by companies in an index, e.g. 0#.GDAXHI using python?
How to get all bonds issued by companies in an index, e.g. 0#.GDAXHI using python? Is there a way we can list down all constituent RICs under 0#.GDAXHI, then use the result in rd.discovery.search > rd.discovery.Views.GOV_CORP_INSTRUMENTS to retrieve all the bonds issued?
-
eikon functionality in LSEG API
Hi, I'm quite comfortable with the Eikon API and I'm making an effort to embrace the newer LSEG API. I know that with the RDP API it was possible to do: from refinitiv.data import eikon as ek However, I don't seem to be able to do that with lseg.data. Is it possible to import eikon from lseg.data, and if so, how?…