z-logo
open-access-imgOpen Access
Sentiment analysis and relationship between social media and stock market: pantip.com and SET
Author(s) -
P Padhanarath,
Yuttapong Aunhathaweesup,
Supapogrn Kiattisin
Publication year - 2019
Publication title -
iop conference series. materials science and engineering
Language(s) - English
Resource type - Journals
eISSN - 1757-899X
pISSN - 1757-8981
DOI - 10.1088/1757-899x/620/1/012094
Subject(s) - social media , stock (firearms) , sentiment analysis , stock exchange , stock market , econometrics , stock trading , naive bayes classifier , computer science , business , economics , artificial intelligence , world wide web , geography , support vector machine , finance , context (archaeology) , archaeology
This research constructs a process flow of social media sentiment analysis and explains relationship between comments on social media and stock. One of the popular social media for Stock Exchange of Thailand investors is Pantip.com, a website providing service as a webboard with tagging feature. In this research, all posts tagged by ‘Stock’ on this website were crawled to files. Then comments were scraped and cleaned. For model training, some comments were labelled into three classes; positive, negative and neutral. Sentiment analysis model was constructed by Naive Bayes Classification technique. In evaluation, the model shown that it performed 74% accuracy. This model was utilised to classify comments into sentiments. When all comments were completely classed, sentiment types were counted by date. Finally, correlation matrices were constructed to find relationship between number of sentiments and stock. The research found that number of sentiments from social media relate to ADVANC and CPALL stock volumes. Moreover, the correlation always reaches to the peak on trading day then it gradually declines with the magnitude depending on the day length after trading day.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here