-
How to search by news headlines text
My code is as follows : import eikon as ek headlines = ek.get_news_headlines(query='IBM.N', count=1, date_from=None, date_to=None, raw_output=True, debug=False) print(headlines) Running result is as follows : {'headlines': [{'displayDirection': 'LeftToRight', 'documentType': 'Story', 'firstCreated':…
-
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?
-
get_news_headline and quotation marks
hi there! im trying to use the get_news_headlines function to pull out headlines for a list of entities. The list if entities are saved on to a txt. file saved locally on my computer. As an example, my txt file contains the name "SINGAPORE AEROSPACE MANUFACTURING PTE LTD". While running the get_news_headlines function, I…
-
How to Retrieve and Parse Metadata More Efficiently in the News service on RDP API?
Is there a more organized way to retrieve metadata information within the News service? The current script, rd.content.news.story.Definition("urn:newsml:reuters.com:20240508:nL4N3HB510:3").get_data(), outputs metadata in a format that is difficult to parse.
-
Get news from company by PermId
Hi all, I'm looking to leverage the refinitiv.data API (the .content.news package) to fetch latest news for a specific company. I would like to usethe company's PermID to filter the data, any idea how that query would look like ? Also i can't find a good documentation for the refintiv.data.content.news package, any…
-
Eikon API - News Monitor Headlines vs Headline & Story Test
Hi I'm trying to replicate a search I complete using the Eikon News Monitor. Below is the code I use in the search bar when completing the search. Topic:GB AND "restatement" The issue I am having is that in the News Monitor, I change the Search Mode from 'Headlines' to 'Headline & Story Text' which I am unsure how to do…
-
News providers' codes
I would like to filter the search by particular news providers. Instead of searching for codes manually in the news monitor app, I would like to access a dictionary with mapped codes to newspaper names, e.g Business Insider: BUSINT. Is there a dictionary of codes for all news publishers? Otherwise, is there a list of all…
-
Using Multiple eikon Api key
I am using multiple API key (which were generated by API key Generator in the refinitv eikon Desktop) . I have Suppose four API keys each API key associated with different account and each account logged on different PC. I am trying to use all the four API keys to get the data from eikon data API but on single PC . So as…
-
getting different results from New Monitor while using API
Hi! I am not getting the same result while on monitor i am using these and same query i am using on jupyter notebook both are giving different results. The query i am using in jupyter notebook: ek.get_news_headlines(query = "AA AND Language:LEN AND ( Topic:NEWS1 OR Topic:FED OR Topic:ECB OR Topic:BOE OR Topic:BOC OR…
-
Python API Eikon Refinitiv does not bring the latest new id
Hello Team, I am using the following code to get news from eikon refenitiv, but it is retrieving just the old news. df_news = ek.get_news_headlines(query='CRF: Carbon', count=10) story_id = df_news.loc[df_news['text'].str.contains('CRF: Carbon EUA daily outlook')]['storyId'][0] # Show the news in HTML format top_news_story…
-
Help with News API for Python, more details
Hello, I need help with the news APIs for Python, please. I have checked Eikon Data API, Refinitiv Data Library for Python, and the Codebook examples, but I am not finding in the details I need, as they stay at a very high level. * How to retrieve news building more elaborate queries such as using Topics and filters? The…
-
Field description for News Feed NFCP_UBMS
We are retrieving the news feed universe = NFCP_UBMS but would like to understand the possible field values and there definitions. Can anyone help me ? Attached the list and fields we are receiving at the moment. Is this universe the best/only one to use in case we would like to see all news for now ?
-
Problems with downloading a large number of news articles using Eikon API [ Backend error. 503 Se...
...rvice Unavailable] I am using my university's Eikon terminal and I have 2 questions regarding downloading a large number of news articles for the purpose of academic research. To provide more context, I am attempting to download a large number of news articles connecting to the Eikon's API through Python. I want to…
-
News Headline API: How do I get results only showing headlines where the RIC is mentioned (don't ...
...want to see results where RIC is mentioned only in the article)? Using Python API, I use the code below but this will give results where the RIC is either mentioned in the headline or mentioned in the article. I only need the results that will show the RIC on the headlines. import numpy as np import eikon as ek import…
-
Keywords search in News Screener
Hi, I am trying to use the get_news_headlines to run a keyword search on Python. I have noticed that if I use a single word this works as expected, as per example: ek.get_news_headlines(query = 'plastic', count=100) However, I am trying to use in this case multiple words combined in a single string as my query. For example…