Saudi Stock Market Sentiment Analysis using Twitter Data

Amal Alazba, Amal Alazba, Nora Alturayeif, Nora Alturayeif, Nouf Alturaief, Nouf Alturaief, Zainab Alhathloul

2020

Abstract

Sentiment analysis in the finance domain is widely applied by investors and researchers, but most of the work is conducted for English text. In this work, we present a framework to analyze and visualize the sentiments of Arabic tweets related to the Saudi stock market using machine learning methods. For the purpose of training and prediction, Twitter API was used for collecting off-line data, and Apache Kafka was used for real-time streaming tweets. Experiments were conducted using five machine learning classifiers with different feature extraction methods, including word embedding (word2vec) and the traditional BoW methods. The highest accuracy for the sentiment classification of Arabic tweets was 79.08%. This result was achieved with the SVM classifier combined with the TF-IDF feature extraction method. At the end, the predicted sentiments of the tweets using the outperforming classifier were visualized by several techniques. We developed a website to visualize the off-line and streaming tweets in various ways: by sentiments, by stock sectors, and by frequent terms.

Download


Paper Citation


in Harvard Style

Alazba A., Alturayeif N., Alturaief N. and Alhathloul Z. (2020). Saudi Stock Market Sentiment Analysis using Twitter Data. In Proceedings of the 12th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management (IC3K 2020) - Volume 1: KDIR; ISBN 978-989-758-474-9, SciTePress, pages 36-47. DOI: 10.5220/0010026100360047


in Bibtex Style

@conference{kdir20,
author={Amal Alazba and Nora Alturayeif and Nouf Alturaief and Zainab Alhathloul},
title={Saudi Stock Market Sentiment Analysis using Twitter Data},
booktitle={Proceedings of the 12th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management (IC3K 2020) - Volume 1: KDIR},
year={2020},
pages={36-47},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0010026100360047},
isbn={978-989-758-474-9},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 12th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management (IC3K 2020) - Volume 1: KDIR
TI - Saudi Stock Market Sentiment Analysis using Twitter Data
SN - 978-989-758-474-9
AU - Alazba A.
AU - Alturayeif N.
AU - Alturaief N.
AU - Alhathloul Z.
PY - 2020
SP - 36
EP - 47
DO - 10.5220/0010026100360047
PB - SciTePress