Abstract
The stock’s closing price is the standard benchmark used by investors to track the stock performance over time. In particular, understanding the trend of the stock’s closing prices is of fundamental importance to choose investments carefully. In this paper, we address the task of forecasting closing prices of Exprivia S.p.A.’s stock by comparing the performance of both traditional and deep machine learning methods. Preliminary experiments show that the multi-variate setting can significantly outperform the univariate one and that deep learning can gain accuracy compared to traditional machine learning methods in the considered task.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
Preliminary experiments have been performed to set the size of this layer.
References
Abu-Mostafa, Y.S., Atiya, A.F.: Introduction to financial forecasting. Appl. Intell. 6, 205–213 (1996)
Asteriou, D., Hall, S.: ARIMA models and the Box-Jenkins methodology. In: Applied Econometrics, pp. 265–286. Palgrave MacMillan, London (Second ed.) (2011)
Chatzis, S.P., Siakoulis, V., Petropoulos, A., Stavroulakis, E., Vlachogiannakis, N.: Forecasting stock market crisis events using deep and statistical machine learning techniques. Expert Syst. Appl. 112, 353–371 (2018). https://doi.org/10.1016/j.eswa.2018.06.032
Chen, T., Guestrin, C.: XGBoost: a scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 785–794. KDD 2016. ACM (2016). https://doi.org/10.1145/2939672.2939785
Ghazanfar, M.A., Alahmari, S., Aldhafiri, A., Mustaqeem, A., Maqsood, M., Azam, M.A.: Using machine learning classifiers to predict stock exchange index. Int. J. Mach. Learn. Comput. 7, 24–29 (2017). https://doi.org/10.18178/ijmlc.2017.7.2.614
Granger, C.W.J.: Investigating causal relations by econometric models and cross-spectral methods. Econometrica 37(3), 424–438 (1969). https://ideas.repec.org/a/ecm/emetrp/v37y1969i3p424-38.html
Hegazy, O., Soliman, O.S., Salam, M.A.: A machine learning model for stock market prediction. Int. J. Comput. Sci. Telecommun. 4, 17–23 (2013)
Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)
Hyndman, R., Khandakar, Y.: Automatic time series forecasting: The forecast package for R. J. Stat. Softw. 26(3), 22 (2008). https://www.jstatsoft.org/article/view/v027i03/0
Louppe, G.: Understanding random forests (2015)
Nguyen, T.T., Yoon, S.: A novel approach to short-term stock price movement prediction using transfer learning. Appl. Sci.9(22), 4745 (2019). https://doi.org/10.3390/app9224745
Tsay, R.S.: Multivariate Time Series Analysis: With R and Financial Applications. Wiley, Hoboken (2014)
Acknowledgement
We acknowledge Digital Factory Fintech and Insurtech of Exprivia S.p.A for funding the work of Michele Spagnoletta. The research of Matteo Greco has been performed during his stage in Exprivia S.p.A. The research of Annalisa Appice and Donato Malerba is in partial fulfilment of theresearch objectives of the research project “Modelli e tecniche di data science per la analisi di dati strutturati” (Models and techniques of data science for the analysis of structured data) funded by University of Bari Aldo Moro.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Greco, M., Spagnoletta, M., Appice, A., Malerba, D. (2021). Applying Machine Learning to Predict Closing Prices in Stock Market: A Case Study. In: Bitetta, V., Bordino, I., Ferretti, A., Gullo, F., Ponti, G., Severini, L. (eds) Mining Data for Financial Applications. MIDAS 2020. Lecture Notes in Computer Science(), vol 12591. Springer, Cham. https://doi.org/10.1007/978-3-030-66981-2_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-66981-2_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-66980-5
Online ISBN: 978-3-030-66981-2
eBook Packages: Computer ScienceComputer Science (R0)