skip to main content
10.1145/3501409.3501524acmotherconferencesArticle/Chapter ViewAbstractPublication PageseitceConference Proceedingsconference-collections
research-article

An Empirical Analysis for Forecasting Stock Index based on LSTM Neural Network

Authors Info & Claims
Published:31 December 2021Publication History

ABSTRACT

In this paper, we study a stock price forecasting model based on a trained neural network for the Chinese stock market. We propose a Long Short-Term Memory (LSTM) network model to predict the closing price on a targeted day. The transaction data of four representative stock indices are investigated in the empirical analysis, including Shanghai Composite Index (stock code 000001), Shenzhen Composite Index (stock code 399001), CSI 300 Index (stock code 399300) and SSE 50 Index (stock code 000016). To predict the closing price for the next period, five important financial characteristics of the transaction data are selected as the input features, such as the opening price, historical closing price, trading volume, highest price, and lowest price. In addition, the proposed LSTM model is compared with the traditional Recurrent Neural Network (RNN) model on four performance measures. In numerical results, we indicate the applicability of the proposed method through the empirical analysis of those four stock indexes. Our works could contribute to an effective guidance in practical trading analysis for investors when making rational investments in the stock markets.

References

  1. Wang, C.-H., Wu, M.-E., Chung, W.-H.: Empirical evaluations on momentum effects of Taiwan Index Futures Market. In: Proceedings of the Third International Conference on Robot, Vision and Signal Processing (RVSP 2015), pp. 82--85, Kaohsiung, Taiwan, November 18--20, 2015.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Li, Z.X., Wu, W., Gao, W.D.: Prediction of stock market by BP neural networks with technical indexes as input. Journal of Mathematical Research & Exposition, vol. 23, no. 1, pp. 83--97, 2003.Google ScholarGoogle Scholar
  3. Lu, C.-J.: Integrating independent component analysis-based denoising scheme with neural network for stock price prediction. Expert Systems with Applications, vol. 37, no. 10, pp. 7056--7064, 2010.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Wu, M.-E., Wang, C.-H., Chung, W.-H.: Using trading mechanisms to investigate large futures data and their implications to market trends. Soft Computing, vol. 21, no. 11, pp. 2821--2834, 2017.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Lei, L.: Wavelet neural network prediction method of stock price trend based on rough set attribute reduction. Applied Soft Computing, vol. 62, pp. 923--932, 2018.Google ScholarGoogle ScholarCross RefCross Ref
  6. Chen, Y.-J., Chen, Y.-M., Tsao, S.-T., Hsieh, S.-F.: A novel technical analysis-based method for stock market forecasting. Soft Computing, vol. 22, no. 4, pp. 1295--1312, 2018.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Zhang, G.P.: Time series forecasting using a hybrid arima and neural network model. Neurocomputing, vol. 50, pp. 159--175, 2003.Google ScholarGoogle ScholarCross RefCross Ref
  8. Cao, Q., Leggio, K.B., Schniederjans, M.J.: A comparison between Fama and French's model and artificial neural networks in predicting the Chinese stock market. Computers & Operations Research, vol. 32, pp. 2499--2512, 2005.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Wang, C.-H., Lee, C.-J.: Data analysis of portfolio optimization using artificial neural network in China's stock market. In: Proceedings of 2019 IEEE 5th International Conference on Big Data Intelligence and Computing (DATACOM 2019), pp. 33--38, Kaohsiung, Taiwan, November 18--21, 2019.Google ScholarGoogle Scholar
  10. Sang, C., Pierro, M.D.: Improving trading technical analysis with tensor flow long short-term memory (LSTM) neural network. The Journal of Finance and Data Science, vol. 5, no. 1, pp. 1--11, 2019.Google ScholarGoogle ScholarCross RefCross Ref
  11. Niu, H., Xu, K., Wang, W.: A hybrid stock price index forecasting model based on variational mode decomposition and LSTM network. Applied Intelligence, vol. 50, pp. 4296--4309, 2020.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Shu, W.W., Gao, Q.: Forecasting stock price based on frequency components by EMD and neural networks. IEEE Access, vol. 8, pp. 206388--206395, 2020.Google ScholarGoogle ScholarCross RefCross Ref
  13. Wei, X.L., Lei, B.B., Ouyang, H.B., Wu, Q.F.: Stock index prices prediction via temporal pattern attention and long-short-term memory. Advances in Multimedia, vol. 2020, Article ID 8831893, 7 pages, 2020. Available: https://doi.org/10.1155/2020/8831893.Google ScholarGoogle Scholar
  14. NetEase, Inc. [Online]. Available: http://quotes.money.163.com/stock.Google ScholarGoogle Scholar
  15. Lai, C.Y., Chen, R., Caraka, R.E.: Prediction Stock Price Based on Different Index Factors Using LSTM. In: Proceedings of 2019 International Conference on Machine Learning and Cybernetics (ICMLC), pp. 1--6, 2019.Google ScholarGoogle ScholarCross RefCross Ref
  16. Wu, M.-E., Wang, C.-H., Chung, W.-H., Tso, R.-L., Yang, I-H.: An empirical comparison between Kelly criterion and Vince's optimal F. In: Proceedings of the 2015 IEEE International Conference on Smart City/SocialCom/SustainCom (SmartCity 2015), pp. 806--810, Chengdu, China, December 19th-21st, 2015.Google ScholarGoogle ScholarCross RefCross Ref
  17. Jia, F., Yang, B.L.: Forecasting volatility of stock index: deep learning model with likelihood-based loss function. Complexity, vol. 2021, Article ID 5511802, 13 pages, 2021. Available: https://doi.org/10.1155/2021/5511802.Google ScholarGoogle Scholar

Index Terms

  1. An Empirical Analysis for Forecasting Stock Index based on LSTM Neural Network

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          EITCE '21: Proceedings of the 2021 5th International Conference on Electronic Information Technology and Computer Engineering
          October 2021
          1723 pages
          ISBN:9781450384322
          DOI:10.1145/3501409

          Copyright © 2021 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 31 December 2021

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article
          • Research
          • Refereed limited

          Acceptance Rates

          EITCE '21 Paper Acceptance Rate294of531submissions,55%Overall Acceptance Rate508of972submissions,52%
        • Article Metrics

          • Downloads (Last 12 months)43
          • Downloads (Last 6 weeks)15

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader