-
Why does my requests.get() call ignore filters when querying the headlines endpoint?
I’m trying to fetch all English news related to RCS code (LEN AND (U:C)) within a specific timeframe using the headlines endpoint. Here’s an example of the request I send with requests.get():…
-
News Monitor 2.0 - Top news from a specific country
I´m trying to create a News Monitor 2.0 to look for the most important news from Mexico and USA. I have tried to filter them only to show me the most important ones about relevant matters like macroeconomics, commodities, equities, etc. Im also trying to generate a python code to send a top 10 list with the most important…
-
News story summary
Hi, I am trying to download country specific news data using codebook and have gotten to the stage of storing the news story in either dictionary or dataframe format. My question is, is there a function that allows for summaries of news to be downloaded? Or do I have to perform manual filtering for each news story and…
-
Filtering news articles by subject qcode
I am trying to filter news articles received via Refinitiv News Archive service based on presence of subject qcodes. For example, I have a news article with a headline of "INFINEON TECHNOLOGIES AG <IFXGn.DE> SHARES DOWN 4.5% IN EARLY FRANKFURT TRADE AFTER RESULTS", which I do NOT need to see. This article has a total of 34…
-
Wildcards in news search
Hello, I'm trying to build a news query and was wondering if there was a way to pass through freetext phrases that could use wildcards. For example, I have this below ( ( Topic:FUND AND Language:LEN ) NOT ( Source:DJN OR Source:FT ) NOT ( \"Net Asset\" ) ) But the text search ignores the filter if the news phrase is "Net…
-
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…