Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by mathieu.duarte · Feb 11, 2020 at 03:51 PM · get_news_headlines

get_news_headlines : how to restrict to one stock

Hello,

I would like to restrict the "news headlines" returned by get_news_headlines only to the ticker I asked, would you have any tip on that ?

For example, when I do...

ek.get_news_headlines(query='R:ORAN.PA'+' AND Source:RTRS'+' AND LEN', count=100, date_from='2019-12-31', raw_output=False, debug=False)

...I find that some of the stories have several stocks tagged (for example urn:newsml:reuters.com:20200204:nL8N2A44KK:1) : what I'm looking for is essentially to restrict the results to stories where the only stock tagged is 'R:ORAN.PA'

Thanks,


People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by chavalit.jintamalit · Feb 11, 2020 at 04:10 PM

Hi @mathieu.duarte

Please refer to the available news search operators:


So it is not possible to limit the search to "only" R:ORAN.PA


ahs.png (56.6 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by mathieu.duarte · Feb 19, 2020 at 07:37 AM

Thanks @chavalit.jintamalit ! May you specify how you obtained that "EXAMPLES OF SEARCH SYNTAX AND OPERATORS" page ? Besides, I wondered whether there was a place where I could find the maximum information about search syntax (not just examples). I see for example that "AA" allows filtering on alerts, "ORDIMB" on the topic order imbalances... Thanks, Mathieu.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by chavalit.jintamalit · Feb 19, 2020 at 08:46 AM

Hi @mathieu.duarte

On Eikon Desktop, launch News Monitor app and press F1.


For list of TOPIC code, you can type in "TOPICS" on Eikon Search Bar and press enter.


If you still need further help on the content, you can contact Refinitiv Content Helpdesk at https://my.refinitiv.com/


ahs.png (84.3 KiB)
ahs2.png (157.3 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Getting this error in Python Script: eikon.eikonError.EikonError: Error code 408 | Request timeout occured

get_news_headlines how to properly use the criterias?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges