Abstract
Trying to predict the future using social media data and analytics is very popular today. With this motivation, we aimed to make stock market predictions by creating different analysis models for 10 different banks traded in “Borsa Istanbul 100” over 3 different groups that we selected on social media. The groups determined within the scope of the study can be detailed as tweets posted by banks from their accounts, tweets posted with the name of the bank, and tweets with the name of the bank posted from approved accounts. In our analysis, we used various variations, including the tweets’ sentiments, replies, retweet and like counts of the tweets, the effects of daily currency (Dollar, Euro, and Gold) prices, and the changes in stock changes up to 3 days. To apply some pre-processing techniques to the collected data, we defined sentiment classes for sentiment analysis, created 6 different models, and analyzed it using 7 different classification algorithms such as Multi-Layer Perceptron, Random Forest, and deep learning algorithm. After all the models and analysis, we got a total of 1440 different results. According to our results, the accuracy rates vary according to the data groups and models we have chosen. The tweet group in which the name of the banks is mentioned can be shown as the most successful data group and we can easily say that there is a certain relation between social media and stock market prices.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Schniederjans, D., Cao, E.S., Schniederjans, M.: Enhancing financial performance with social media: an impression management perspective. Decis. Support Syst. 55(4), 911–918 (2013)
Akmese, H., Aras, S., Akmese, K.: Financial performance and social media: a research on tourism enterprises quoted in Istanbul stock exchange (BIST). Procedia Econ. Finan. 39, 705–710 (2016)
Nguyen, T.H., Shirai, K., Velcin, J.: Sentiment analysis on social media for stock movement prediction. Expert Syst. Appl. 42(24), 9603–9611 (2015)
Kaushik, B., Hemani, H., Ilavarasan, P.V.: Social media usage vs. stock prices: an analysis of Indian firms. Procedia Comput. Sci. 122, 323–330 (2017)
Chahine, S., Malhotra, N.K.: Impact of social media strategies on stock price: the case of Twitter. Eur. J. Market. 52, 1526–1549 (2018)
Carosia, A.E.O., Coelho, G.P., Silva, A.E.A.: Analyzing the Brazilian financial market through Portuguese sentiment analysis in social media. Appl. Artif. Intell. 34(1), 1–19 (2020)
Van Dieijen, M., Borah, A., Tellis, G.J., Franses, P.H.: Big data analysis of volatility spillovers of brands across social media and stock markets. Ind. Mark. Manage. 88, 465–484 (2020)
Khan, W., Ghazanfar, M.A., Azam, M.A., Karami, A., Alyoubi, K.H., Alfakeeh, A.S.: Stock market prediction using machine learning classifiers and social media, news. J. Ambient. Intell. Humaniz. Comput. 13, 3433–3456 (2022). https://doi.org/10.1007/s12652-020-01839-w
Twitter Intelligence Tool Project: https://github.com/otuncelli/turkish-stemmer-python. Accessed 23 Mar 2022
Turkish Stemmer Phyton Project: https://github.com/twintproject/twint. Accessed 25 Mar 2022
Sentiment Lexicon Dataset: https://www.kaggle.com/rtatman/sentiment-lexicons-for-81-languages. Accessed 23 Mar 2022
KNIME Analytics Tool: https://www.knime.com. Accessed 25 Mar 2022
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Karaşahin, E., Utku, S., Öztürkmenoğlu, O. (2022). Effectiveness of Social Media in Stock Market Price Prediction Based on Machine Learning. In: Kahraman, C., Tolga, A.C., Cevik Onar, S., Cebi, S., Oztaysi, B., Sari, I.U. (eds) Intelligent and Fuzzy Systems. INFUS 2022. Lecture Notes in Networks and Systems, vol 505. Springer, Cham. https://doi.org/10.1007/978-3-031-09176-6_4
Download citation
DOI: https://doi.org/10.1007/978-3-031-09176-6_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-09175-9
Online ISBN: 978-3-031-09176-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)