Skip to main content

Comparing Neural Networks for Predicting Stock Markets

  • Conference paper
  • First Online:
Engineering Applications of Neural Networks (EANN 2017)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 744))

Abstract

In this paper we compare a selection of artificial neural networks when applied for short-term stock market price prediction. The networks are selected due to their expected relevance to the problem. Further, the work aims at covering recent advances in the field of artificial neural networks. The networks considered include: Feed forward neural networks, echo state networks, conditional restricted Boltzmann machines, time-delay neural networks and convolutional neural networks. These models are also compared to another type of machine learning algorithm, support vector machine. The models are trained on daily stock exchange data, to make short-term predictions for one day and two days ahead, respectively. Performance is evaluated by following the models directly in a simple financial strategy; trade every prediction they make once during each day.

Possibly due to the noisy nature of stock data, the results are slightly inconsistent between different data sets. If performance is averaged across all the data sets, the feed forward network generates most profit during the three year test period: 23.13% and 30.43% for single-step and double-step prediction, respectively. Convolutional networks get close to the feed forward network in terms of profitability, but are found unreliable due to their unreasonable bias towards predicting positive price changes. The support vector machine delivered average profits of 17.28% for single-step and 11.30% for double-step, respectively. Low profits or large deviations were observed for the other models.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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

References

  1. Aamodt, T.: Predicting stock markets with neural networks - a comparative study. M.A. thesis, University of Oslo, Norway (2015). https://www.duo.uio.no/handle/10852/44765

  2. Bank of America: Bank of America’s history, heritage & timeline. http://tinyurl.com/y8lkycan

  3. Chao, J., Shen, F., Zhao, J.: Forecasting exchange rate with deep belief networks. In: The 2011 International Joint Conference on Neural Networks (IJCNN), pp. 1259–1266, July 2011

    Google Scholar 

  4. Clark, R.: Support Vector Regression. http://www.mathworks.com/matlabcentral/fileexchange/43429-support-vector-regression

  5. MATLAB®: Datafeed Toolbox. http://mathworks.com/products/datafeed/

  6. Demyanov, S.: ConvNet. http://github.com/sdemyanov/ConvNet

  7. ExxonMobil: About us. http://tinyurl.com/yca4pmd9

  8. Jaeger, H.: ESN Toolbox. http://tinyurl.com/y6vthcfh

  9. Khashei, M., Bijari, M.: An artificial neural network (p, d, q) model for timeseries forecasting. Expert Syst. 37(1), 479–489 (2010)

    Article  MATH  Google Scholar 

  10. Li, Y., Ma, W.: Applications of artificial neural networks in financial economics: a survey. In: 2010 International Symposium on Computational Intelligence and Design (ISCID), vol. 1, pp. 211–214 (2010)

    Google Scholar 

  11. MATLAB®: Neural Network Toolbox. http://tinyurl.com/yajrbqdl

  12. Petrobras: About us - Petrobras. http://tinyurl.com/y7fs75an

  13. Saad, E.W., Prokhorov, D.V., Wunsch, D.C.: Comparative study of stock trend prediction using time delay, recurrent and probabilistic neural networks. IEEE Trans. Neural Netw. 9(6), 1456–1470 (1998)

    Article  Google Scholar 

  14. Tanaka, M.: Deep Neural Network. http://www.mathworks.com/matlabcentral/fileexchange/42853-deep-neural-network

  15. Taylor, G.: Modeling Human Motion Using Binary Latent Variables. http://www.uoguelph.ca/gwtaylor/publications/nips2006mhmublv/code.html

  16. Taylor, G.W., et al.: Modeling human motion using binary latent variables. Adv. Neural Inf. Process. Syst. 19, 1345 (2007)

    Google Scholar 

Download references

Acknowledgment

This work is partially supported by The Research Council of Norway as a part of the Engineering Predictability with Embodied Cognition (EPEC) project, under grant agreement 240862.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jim Torresen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Aamodt, T., Torresen, J. (2017). Comparing Neural Networks for Predicting Stock Markets. In: Boracchi, G., Iliadis, L., Jayne, C., Likas, A. (eds) Engineering Applications of Neural Networks. EANN 2017. Communications in Computer and Information Science, vol 744. Springer, Cham. https://doi.org/10.1007/978-3-319-65172-9_31

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-65172-9_31

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-65171-2

  • Online ISBN: 978-3-319-65172-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics