journal article·2021Open access

Social Media and Stock Market Prediction: A Big Data Approach

Mazhar Javed Awan, Mohd Shafry Mohd Rahim, Haitham Nobanee, Ashna Munawar, Awais Yasin, Azlan Mohd Zain Azlanmz

Computers, Materials & Continua· Volume 67· Issue 2

Abstract

Big data is the collection of large datasets from traditional and digital sources to identify trends and patterns. The quantity and variety of computer data are growing exponentially for many reasons. For example, retailers are building vast databases of customer sales activity. Organizations are working on logistics financial services, and public social media are sharing a vast quantity of sentiments related to sales price and products. Challenges of big data include volume and variety in both structured and unstructured data. In this paper, we implemented several machine learning models through Spark MLlib using PySpark, which is scalable, fast, easily integrated with other tools, and has better performance than the traditional models. We studied the stocks of 10 top companies, whose data include historical stock prices, with MLlib models such as linear regression, generalized linear regression, random forest, and decision tree. We implemented naive Bayes and logistic regression classification models. Experimental results suggest that linear regression, random forest, and generalized linear regression provide an accuracy of 80%–98%. The experimental results of the decision tree did not well predict share price movements in the stock market.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Stock Market Forecasting Methods · Data Stream Mining Techniques · Forecasting Techniques and Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (27)

Show source-provided references
1. Current landscape and influence of big data on finance10.1186/s40537-020-00291-z ↗
2. Analyzing the impact of user-generated content on B2B Firms’ stock performance: Big data analysis with machine learning methods10.1016/j.indmarman.2019.02.021 ↗
3. Distributed spatial and spatio-temporal join on apache spark10.1145/3325135 ↗
4. Forecasting stock prices using social media analysis
5. Social media, news media and the stock market10.1016/j.jebo.2020.03.002 ↗
6. Time series data analysis for stock market prediction using data mining techniques with R
7. Integrating stocktwits with sentiment analysis for better prediction of stock price movement
8. Social media sentiment in international stock returns and trading activity
9. SentAMaL–-a sentiment analysis machine learning stock predictive model
10. Systematic analysis and review of stock market prediction techniques10.1016/j.cosrev.2019.08.001 ↗
11. The conditional stock market response to banks’ distressed asset sales on CDS availability
12. Stock market prediction using machine learning classifiers and social media, news
13. Efficacy of news sentiment for stock market prediction
14. Sentiment analysis of Twitter data for predicting stock market movements
15. Stock price forecasting via sentiment analysis on Twitter
16. Pattern graph tracking-based stock price prediction using big data10.1016/j.future.2017.02.010 ↗
17. Stock price prediction using linear regression based on sentiment analysis
18. Sentiment analysis of news headlines for stock price prediction
19. Stocks analysis and prediction using big data analytics
20. PV forecasting using support vector machine learning in a big data analytics context10.3390/sym10120748 ↗
21. Data-driven trend forecasting in stock market using machine learning techniques10.4018/JITR.2020010109 ↗
22. Stock chatter: Using stock sentiment to predict price direction10.3233/AF-13025 ↗
23. Stock market real time recommender model using apache spark framework
24. The relation between news and stock price jump: An analysis based on neural network
25. Big data analytics for financial market volatility forecast based on support vector machine10.1016/j.ijinfomgt.2019.05.027 ↗
26. Yahoo, “No Title.” p. yahoo finance.com. [Online]. Available: http://finance.yahoo.com, 2020.
27. D. Search, “No title.” [Online]. Available: https://datasetsearch.research.google.com/, 2020.