Comparing Different Data Types for Predicting the Apple Stock
DOI:
https://doi.org/10.47611/jsrhs.v10i4.1832Keywords:
data types, prediction, Apple, stock market, machine learning, neural network, balance sheet, technical indicatorsAbstract
Stock markets are at the heart of market economies, and stock market prediction is a hot topic in research. There are many methods of prediction, and they often use different types of data. The two main types are technical and fundamental data. This paper explores company-specific prediction through predicting the direction of the Apple stock. Three neural networks that use different input data are compared. The Tech model uses technical data, the Comp model uses numerical fundamental data with an emphasis on company data, and the Text model uses textual news data. Several metrics, including ones useful for preventing bias when dealing with imbalanced data, were used to compare the models. The Comp and Text models showed prediction bias, and two more models, W-Comp and W-Text, were trained to attempt to mitigate that bias. The Comp model performed the best out of the original models, and W-Comp also showed good performance. W-Text performed the best out of all the models. This suggests that numerical fundamental data is useful in predicting the market, and textual data also has potential. Future research could be used to improve the performance of all the models and more thoroughly compare the types of data used.
Downloads
References or Bibliography
M. R. Vargas, C. E. M. dos Anjos, G. L. G. Bichara and A. G. Evsukoff, "Deep Learning for Stock Market Prediction Using Technical Indicators and Financial News Articles," 2018 International Joint Conference on Neural Networks (IJCNN), Rio de Janeiro, Brazil, 2018, pp. 1-8, doi: 10.1109/IJCNN.2018.8489208.
A. Arévalo, J. Niño, G. Hernández, and J. Sandoval, “High-Frequency Trading Strategy Based on Deep Neural Networks,” Intelligent Computing Methodologies, pp. 424–436, 2016, doi: 10.1007/978-3-319-42297-8_40.
E. Chong, C. Han, and F. C. Park, “Deep learning networks for stock market analysis and prediction: Methodology, data representations, and case studies,” Expert Systems with Applications, vol. 83, pp. 187–205, Oct. 2017, doi: 10.1016/j.eswa.2017.04.030.
X. Zhong and D. Enke, “Predicting the daily return direction of the stock market using hybrid machine learning algorithms,” Financial Innovation, vol. 5, no. 1, Jun. 2019, doi: 10.1186/s40854-019-0138-0.
X. Ding, Y. Zhang, T. Liu, and J. Duan, “Using structured events to predict stock price movement: An empirical investigation,” Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2014, doi: 10.3115/v1/d14-1148.
G. P. C. Fung, J. X. Yu, and W. Lam, “News Sensitive Stock Trend Prediction,” Advances in Knowledge Discovery and Data Mining, vol. , pp. 481–493, 2002, doi: 10.1007/3-540-47887-6_48.
M. Hagenau, M. Liebmann, and D. Neumann, “Automated news reading: Stock price prediction based on financial news using context-capturing features,” Decision Support Systems, vol. 55, no. 3, pp. 685–697, Jun. 2013, doi: 10.1016/j.dss.2013.02.006.
A. Khadjeh Nassirtoussi, S. Aghabozorgi, T. Ying Wah, and D. C. L. Ngo, “Text mining for market prediction: A systematic review,” Expert Systems with Applications, vol. 41, no. 16, pp. 7653–7670, Nov. 2014, doi: 10.1016/j.eswa.2014.06.009.
G. Rachlin, M. Last, D. Alberg and A. Kandel, "ADMIRAL: A Data Mining Based Financial Trading System," 2007 IEEE Symposium on Computational Intelligence and Data Mining, Honolulu, HI, USA, 2007, pp. 720-725, doi: 10.1109/CIDM.2007.368947.
M. R. Vargas, B. S. L. P. de Lima and A. G. Evsukoff, "Deep learning for stock market prediction from financial news articles," 2017 IEEE International Conference on Computational Intelligence and Virtual Environments for Measurement Systems and Applications (CIVEMSA), Annecy, 2017, pp. 60-65, doi: 10.1109/CIVEMSA.2017.7995302.
T. Vu, S. Chang, Q. T. Ha, and N. Collier, “An experiment in integrating sentiment features for tech stock prediction in Twitter,” presented at the Proceedings of the Workshop on Information Extraction and Entity Analytics on Social Media Data, Mumbai, India, Dec. 2012, [Online]. Available: https://www.aclweb.org/anthology/W12-5503/.
B. Wuthrich, V. Cho, S. Leung, D. Permunetilleke, K. Sankaran and J. Zhang, "Daily stock market forecast from textual web data," SMC'98 Conference Proceedings. 1998 IEEE International Conference on Systems, Man, and Cybernetics (Cat. No.98CH36218), San Diego, CA, USA, 1998, pp. 2720-2725 vol.3, doi: 10.1109/ICSMC.1998.725072.
P. D. Yoo, M. H. Kim and T. Jan, "Machine Learning Techniques and Use of Event Information for Stock Market Prediction: A Survey and Evaluation," International Conference on Computational Intelligence for Modelling, Control and Automation and International Conference on Intelligent Agents, Web Technologies and Internet Commerce (CIMCA-IAWTIC'06), Vienna, Austria, 2005, pp. 835-841, doi: 10.1109/CIMCA.2005.1631572.
Y. Zhai, A. Hsu, and S. K. Halgamuge, “Combining News and Technical Indicators in Daily Stock Price Trends Prediction,” Advances in Neural Networks – ISNN 2007, vol. 4493, pp. 1087–1096, Jun. 2007, doi: 10.1007/978-3-540-72395-0_132.
X. Pang, Y. Zhou, P. Wang, W. Lin, and V. Chang, “An innovative neural network approach for stock market prediction,” The Journal of Supercomputing, vol. 76, no. 1, Jan. 2018, doi: 10.1007/s11227-017-2228-y.
H. L. Siew and M. J. Nordin, "Regression techniques for the prediction of stock price trend," 2012 International Conference on Statistics in Science, Business and Engineering (ICSSBE), Langkawi, Malaysia, 2012, pp. 1-5, doi: 10.1109/ICSSBE.2012.6396535.
S. Shen, H. Jiang, and T. Zhang, "Stock Market Forecasting Using Machine Learning Algorithms," Dept. Elect. Eng., Stanford Univ., Stanford, CA, USA, 2012. [Online]. Available: http://cs229.stanford.edu/proj2012/ShenJiangZhang-StockMarketForecastingusingMachineLearningAlgorithms.pdf
Google Word2vec, “Tool for computing continuous distributed representations of words,” Google Code Archive, Jul. 29, 2013. https://code.google.com/archive/p/word2vec/
Published
How to Cite
Issue
Section
Copyright (c) 2021 Amanda Guan; Dr. Ellsworth
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright holder(s) granted JSR a perpetual, non-exclusive license to distriute & display this article.