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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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
Bank of America: Bank of America’s history, heritage & timeline. http://tinyurl.com/y8lkycan
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
Clark, R.: Support Vector Regression. http://www.mathworks.com/matlabcentral/fileexchange/43429-support-vector-regression
MATLAB®: Datafeed Toolbox. http://mathworks.com/products/datafeed/
Demyanov, S.: ConvNet. http://github.com/sdemyanov/ConvNet
ExxonMobil: About us. http://tinyurl.com/yca4pmd9
Jaeger, H.: ESN Toolbox. http://tinyurl.com/y6vthcfh
Khashei, M., Bijari, M.: An artificial neural network (p, d, q) model for timeseries forecasting. Expert Syst. 37(1), 479–489 (2010)
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)
MATLAB®: Neural Network Toolbox. http://tinyurl.com/yajrbqdl
Petrobras: About us - Petrobras. http://tinyurl.com/y7fs75an
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)
Tanaka, M.: Deep Neural Network. http://www.mathworks.com/matlabcentral/fileexchange/42853-deep-neural-network
Taylor, G.: Modeling Human Motion Using Binary Latent Variables. http://www.uoguelph.ca/gwtaylor/publications/nips2006mhmublv/code.html
Taylor, G.W., et al.: Modeling human motion using binary latent variables. Adv. Neural Inf. Process. Syst. 19, 1345 (2007)
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
Corresponding author
Editor information
Editors and Affiliations
Rights 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)