Skip to main navigation Skip to search Skip to main content

Sentiment analysis and relationship between social media and stock market: Pantip.com and SET

  • Data Analyst
  • Mahidol University

Research output: Contribution to journal › Conference article › peer-review

5 Citations (Scopus)

Abstract

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.

Original languageEnglish
Article number012094
JournalIOP Conference Series: Materials Science and Engineering
Volume620
Issue number1
DOIs
Publication statusPublished - 19 Nov 2019
Event2nd Sriwijaya International Conference on Science, Engineering, and Technology, SICEST 2018 - Palembang, Indonesia
Duration: 15 Oct 2018 → 16 Oct 2018

Fingerprint

Dive into the research topics of 'Sentiment analysis and relationship between social media and stock market: Pantip.com and SET'. Together they form a unique fingerprint.

Cite this