Skip to main content
Log in

An innovative neural network approach for stock market prediction

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

This paper aims to develop an innovative neural network approach to achieve better stock market predictions. Data were obtained from the live stock market for real-time and off-line analysis and results of visualizations and analytics to demonstrate Internet of Multimedia of Things for stock analysis. To study the influence of market characteristics on stock prices, traditional neural network algorithms may incorrectly predict the stock market, since the initial weight of the random selection problem can be easily prone to incorrect predictions. Based on the development of word vector in deep learning, we demonstrate the concept of “stock vector.” The input is no longer a single index or single stock index, but multi-stock high-dimensional historical data. We propose the deep long short-term memory neural network (LSTM) with embedded layer and the long short-term memory neural network with automatic encoder to predict the stock market. In these two models, we use the embedded layer and the automatic encoder, respectively, to vectorize the data, in a bid to forecast the stock via long short-term memory neural network. The experimental results show that the deep LSTM with embedded layer is better. Specifically, the accuracy of two models is 57.2 and 56.9%, respectively, for the Shanghai A-shares composite index. Furthermore, they are 52.4 and 52.5%, respectively, for individual stocks. We demonstrate research contributions in IMMT for neural network-based financial analysis.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20

Similar content being viewed by others

References

  1. Hsu MW, Lessmann S, Sung MC et al (2016) Bridging the divide in financial market forecasting: machine learners vs. financial economists. Expert Syst Appl 61:215–234

    Article  Google Scholar 

  2. Chen E-H, Qiu S-Y, Xu C et al (2014) Word embedding—continuous space representation of natural language. Data Acquis Process 29(1):19–29

    Google Scholar 

  3. Mikolov T, Zweig G (2013) Context dependent recurrent neural network language model. In: Spoken Language Technology Workshop. IEEE, pp 234–239

  4. Chen C et al (2017) A rear-end collision prediction scheme based on deep learning in the internet of vehicles. J Parallel Distrib Comput. https://doi.org/10.1016/j.jpdc.2017.08.014

  5. Chauhan R, Kaur H, Chang VJ (2017) Advancement and applicability of classifiers for variant exponential model to optimize the accuracy for deep learning. J Ambient Intell Hum Comput, https://doi.org/10.1007/s12652-017-0561-x

  6. Niaki STA, Hoseinzade S (2013) Forecasting S&P 500 index using artificial neural networks and design of experiments. J Ind Eng Int 9(1):1–9

    Article  Google Scholar 

  7. Adhikari R, Agrawal RK (2014) A combination of artificial neural network and random walk models for financial time series forecasting. Neural Comput Appl 24(5):1441–1449

    Article  Google Scholar 

  8. Yu H, Chen R, Zhang G (2014) A SVM stock selection model within PCA. Proc Comput Sci 31(31):406–412

    Article  Google Scholar 

  9. Zbikowski K (2015) Using volume weighted support vector machines with walk forward testing and feature selection for the purpose of creating stock trading strategy. Expert Syst Appl 42(4):1797–1805

    Article  Google Scholar 

  10. Ballings M, Van den Poel D, Hespeels N et al (2015) Evaluating multiple classifiers for stock price direction prediction. Expert Syst Appl 42(20):7046–7056

    Article  Google Scholar 

  11. Oztekin A, Kizilaslan R, Freund S et al (2016) A data analytic approach to forecasting daily stock returns in an emerging market. Eur J Oper Res 253(3):697–710

    Article  MathSciNet  Google Scholar 

  12. Gerlein EA, McGinnity M, Belatreche A et al (2016) Evaluating machine learning classification for financial trading: an empirical approach. Expert Syst Appl 54:193–207

    Article  Google Scholar 

  13. Zhong X, Enke D (2017) Forecasting daily stock market return using dimensionality reduction. Expert Syst Appl 67:126–139

    Article  Google Scholar 

  14. Hinton GE, Salakhutdinov RR (2006) Reducing the dimensionality of data with neural networks. Science 313(5786):504

    Article  MathSciNet  Google Scholar 

  15. Kuremoto T, Kimura S, Kobayashi K et al (2014) Time series forecasting using a deep belief network with restricted Boltzmann machines. Neurocomputing 137:47–56

    Article  Google Scholar 

  16. Kuremoto T, Obayashi M, Kobayashi K et al (2014) Forecast chaotic time series data by DBNs. In: 2014 7th International Congress on Image and Signal Processing (CISP). IEEE, pp 1130–1135

  17. Takeuchi L, Lee YYA (2013) Applying deep learning to enhance momentum trading strategies in stocks. http://cs229.stanford.edu/proj2013/TakeuchiLeeApplyingDeepLearningToEnhanceMomentumTradingStrategiesInStocks.pdf

  18. Zhu C, Yin J, Li Q (2014) A stock decision support system based on DBNs. J Comput Inf Syst 10(2):883–893

    Google Scholar 

  19. Chang V (2014) The business intelligence as a service in the cloud. Future Gener Comput Syst 37(2014):512–534

    Article  Google Scholar 

  20. Sharang A, Rao C (2015) Using machine learning for medium frequency derivative portfolio trading. Preprint arXiv:1512.06228

  21. Batres-Estrada B (2015) Deep learning for multivariate financial time series. KTH Royal Institute of Technology, Stockholm

    Google Scholar 

  22. Yeh SH, Wang CJ, Tsai MF (2015) Deep belief networks for predicting corporate defaults. In: 2015 24th Wireless and Optical Communication Conference (WOCC). IEEE, pp 159–163

  23. Shen F, Chao J, Zhao J (2015) Forecasting exchange rate using deep belief networks and conjugate gradient method. Neurocomputing 167(C):243–253

    Article  Google Scholar 

  24. Xiong R, Nichols EP, Shen Y (2015) Deep learning stock volatility with google domestic trends. Preprint arXiv:1512.04916

  25. Yu F-F (2016) Based on the neural network of stock forecast [D]. Harbin Institute of Technology, Harbin

    Google Scholar 

  26. Zhang G-Y (2016) Application of improved convolution neural network in financial forecasting. Zhengzhou University, Henan

    Google Scholar 

  27. Gao Q (2016) Stock market forecasting using recurrent neural network. University of Missouri, Columbia

    Google Scholar 

  28. McNally S (2016) Predicting the price of Bitcoin using machine learning. National College of Ireland, Dublin

    Google Scholar 

  29. Silva IND, Spatti DH, Flauzino RA et al (2017) Forecast of stock market trends using recurrent networks. In: da Silva IN, Spatti DH, Flauzino RA, Liboni LHB, Alves SFR (eds) Artificial Neural Networks. Springer International Publishing, pp 221–227

  30. Chang V (2017) Towards data analysis for weather cloud computing. Knowl Based Syst 127:29–45

    Article  Google Scholar 

  31. Chang V (2017) Data analytics and visualization for inspecting cancers and genes. Multimed Tools Appl, https://doi.org/10.1007/s11042-017-5186-8

Download references

Acknowledgements

This work is partially supported by the National Natural Science Foundation of China (Grant Nos. 61402183 and 61772205), National Science and Technology Ministry (Grant No. 2015BAK36B06), Guangdong Provincial Scientific and Technological Projects (Grant Nos. 2017A010101008, 2017B010126002, 2017A010101014, 2017B090901061, 2016A010101007, 2016B090918021 and 2014B010117001), Guangzhou Science and Technology Projects (Grant Nos. 201607010048, 201604016013 and 201604010040).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Weiwei Lin.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Pang, X., Zhou, Y., Wang, P. et al. An innovative neural network approach for stock market prediction. J Supercomput 76, 2098–2118 (2020). https://doi.org/10.1007/s11227-017-2228-y

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-017-2228-y

Keywords

Navigation