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 /

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by xiaodong.han · Dec 02, 2021 at 02:31 AM · newspython apisentiment

Question regrading to the method of news sentiment score

Hi all,


I am wondering what method the news sentiment analysis uses. I tried both textblob and nltk python library to make sentiment score for news, but they got totally different results comparing with the index shown on the right of the news in News monitor (that index is relatively correct).

For example the news with storyId 'urn:newsml:reuters.com:20211122:nL1N2SD2VH:3' got both positive scores with textblob and nltk library, however the news page shows it is negative. figure1.png

So how can I get the same result with that index? Thanks in advance

figure1.png (191.7 KiB)

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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by raksina.samasiri · Dec 02, 2021 at 04:12 AM

hi @xiaodong.han

Based on the answer from this thread

I've just confirmed with the Eikon help desk that The Eikon Data API supports News Headline and News Story only. However, the application can use other Python libraries to analyze news sentiment from the headline/story. Please see more detail in Introduction to News Sentiment Analysis with Eikon Data APIs - a Python example article.

Comment

People who like this

0 Show 3 · 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
xiaodong.han · Dec 02, 2021 at 04:26 AM 0
Share

Hi raksina.samasiri ,

Thanks for your answer. I have read those links already, but it did not solve my problem. The sentiment score shown in the news seems not to calculate neither by nltk nor textblob. Is it calculated by other libraries or other methods? That is my question.

avatar image
REFINITIV
raksina.samasiri ♦♦ · Dec 08, 2021 at 07:56 AM 0
Share

Hi @xiaodong.han

This forum is dedicated to software developers using Refinitiv APIs. The moderators on this forum do not have deep expertise in every bit of content available through Refinitiv products, which is required to answer content questions such as this one.

The best resource for the content questions is the Eikon support team, which can be reached by submitting queries through MyRefinitv. The support team will either have the required content expertise ready available or can reach out to relevant content experts to get the answer for you.

However, in this case, I open case number 10755610 on behalf of you and the support team is going to contact you soon.

avatar image
xiaodong.han raksina.samasiri ♦♦ · Dec 13, 2021 at 08:16 AM 0
Share

Thanks for your help sincerely! Someone has reached me via e-mail.

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 >
12 People are following this question.

Related Questions

Daily news sentiment score on .SPX

How can I retrieve news stories with invalid JSON characters in Eikon API?

Details on new Sentiment indicator on news stories, and how to access in API?

How do I apply short-term and long-term filters in Python?

News Sentiment from Eikon Data API

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges