-
problem with z spread extraction - code not working anymore
Hello people, I hope you are doing well. I am experimenting some issues with some zSpread extraction with the code i've always used. I am not able to extract the spreads anymore. Please find below my code: import refinitiv.dataplatform.eikon as ek str_date = "2024-12-31" ISIN = "XS0107203381" df_zSpread, err =…
-
Volatility Surfaces inputVolatilityType
Could someone please explain the difference between Implied and Quoted for inputVolatilityType on the surfaces API endpoint: https://api.edp.thomsonreuters.com/data/quantitative-analytics-curves-and-surfaces/v1/surfaces From API documentation page: inputVolatilityTypeenumThe enumerate specifies the type of volatility used…
-
Python APIs for Refinitiv, which one?
What is the difference between the following three Python APIs for Refinitiv? https://pypi.org/project/eikon/ https://pypi.org/project/refinitiv-data/ https://pypi.org/project/refinitiv-dataplatform/ Which one should I use? Are they all equivalent? Which one is the most updated?
-
If I have access to retrieve ownership info throught the refinitiv.data API. Trying to access: re...
...finitiv.data.content import ownership I want to check if I have access to retrieve ownership info throught the refinitiv.data API, trying to access: refinitiv.data.content import ownership and getting this error: Missing scopes: {'trapi.data.ownership.basic'} OR {'trapi.data.ownership.adv'} OR {'trapi.demo-access'}…
-
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', #…