Publication: Sentiment analysis and relationship between social media and stock market: Pantip.com and SET
Issued Date
2019-11-19
Resource Type
ISSN
1757899X
17578981
17578981
Other identifier(s)
2-s2.0-85076000704
Rights
Mahidol University
Rights Holder(s)
SCOPUS
Bibliographic Citation
IOP Conference Series: Materials Science and Engineering. Vol.620, No.1 (2019)
Suggested Citation
P. Padhanarath, Y. Aunhathaweesup, S. Kiattisin Sentiment analysis and relationship between social media and stock market: Pantip.com and SET. IOP Conference Series: Materials Science and Engineering. Vol.620, No.1 (2019). doi:10.1088/1757-899X/620/1/012094 Retrieved from: https://repository.li.mahidol.ac.th/handle/20.500.14594/50821
Research Projects
Organizational Units
Authors
Journal Issue
Thesis
Title
Sentiment analysis and relationship between social media and stock market: Pantip.com and SET
Author(s)
Other Contributor(s)
Abstract
© 2019 IOP Publishing Ltd. 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.