Skip to main content

Applying Machine Learning to Predict Closing Prices in Stock Market: A Case Study

  • Conference paper
  • First Online:
Mining Data for Financial Applications (MIDAS 2020)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 12591))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.exprivia.it/en/?cl=1.

  2. 2.

    Preliminary experiments have been performed to set the size of this layer.

References

  1. Abu-Mostafa, Y.S., Atiya, A.F.: Introduction to financial forecasting. Appl. Intell. 6, 205–213 (1996)

    Article  Google Scholar 

  2. Asteriou, D., Hall, S.: ARIMA models and the Box-Jenkins methodology. In: Applied Econometrics, pp. 265–286. Palgrave MacMillan, London (Second ed.) (2011)

    Google Scholar 

  3. 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

    Article  Google Scholar 

  4. 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

  5. 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

  6. 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

  7. 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)

    Google Scholar 

  8. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  9. 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

  10. Louppe, G.: Understanding random forests (2015)

    Google Scholar 

  11. 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

  12. Tsay, R.S.: Multivariate Time Series Analysis: With R and Financial Applications. Wiley, Hoboken (2014)

    MATH  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Annalisa Appice .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics