Skip to main content

A CNN-Based Method for AAPL Stock Price Trend Prediction Using Historical Data and Technical Indicators

  • Conference paper
  • First Online:
Advances in Intelligent Systems and Computing

Part of the book series: Smart Innovation, Systems and Technologies ((SIST,volume 268))

Abstract

The stock price is a non-stationary time series, so it is challenging to predict the stock price. Some statistics and machine learning research hope to solve this problem, but these methods require complex feature engineering. Deep learning without feature extraction has brought a breakthrough for this. This paper uses the convolutional neural network (CNN) to establish a three-category prediction model based on historical stock prices and technical analysis indicators to predict stock price trends. Experiments conducted on AAPL show that adding technical indicators can improve the performance of the CNN prediction model.

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 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover 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.nasdaq.com.

  2. 2.

    http://ta-lib.org.

References

  1. Afouras, T., Chung, J.S., Senior, A., Vinyals, O., Zisserman, A.: Deep audio-visual speech recognition. IEEE Trans. Pattern Anal. Mach. Intell. (2018)

    Google Scholar 

  2. Alam, M.Z., Siddikee, M.N., Masukujjaman, M.: Forecasting volatility of stock indices with arch model. Int. J. Financ. Res. 4(2), 126 (2013)

    Article  Google Scholar 

  3. Alberg, D., Shalit, H., Yosef, R.: Estimating stock market volatility using asymmetric garch models. Appl. Financ. Econ. 18(15), 1201–1208 (2008)

    Article  Google Scholar 

  4. Anaghi, M.F., Norouzi, Y.: A model for stock price forecasting based on arma systems. In: 2012 2nd International Conference on Advances in Computational Tools for Engineering Applications (ACTEA), pp. 265–268. IEEE (2012)

    Google Scholar 

  5. Ariyo, A.A., Adewumi, A.O., Ayo, C.K.: Stock price prediction using the arima model. In: 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, pp. 106–112. IEEE (2014)

    Google Scholar 

  6. Chen, C.M., Chen, L., Gan, W., Qiu, L., Ding, W.: Discovering high utility-occupancy patterns from uncertain data. Inf. Sci. 546, 1208–1229 (2021)

    Article  MathSciNet  Google Scholar 

  7. Franses, P.H., Van Dijk, D.: Forecasting stock market volatility using (non-linear) garch models. J. Forecast. 15(3), 229–235 (1996)

    Article  Google Scholar 

  8. François, C.: Keras. https://github.com/keras-team/keras (2015)

  9. Gao, T., Chai, Y.: Improving stock closing price prediction using recurrent neural network and technical indicators. Neural Comput. 30(10), 2833–2854 (2018)

    Article  MathSciNet  Google Scholar 

  10. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)

    Google Scholar 

  11. Huynh, H.D., Dang, L.M., Duong, D.: A new model for stock price movements prediction using deep neural network. In: Proceedings of the Eighth International Symposium on Information and Communication Technology, pp. 57–62 (2017)

    Google Scholar 

  12. John, B., Brian, C.: Ta-lib documentation (2020). https://github.com/mrjbq7/ta-lib/blob/master/docs/doc_index.md

  13. Kim, T., Kim, H.Y.: Forecasting stock prices with a feature fusion lstm-cnn model using different representations of the same data. PLoS ONE 14(2), e0212320 (2019)

    Article  Google Scholar 

  14. Lin, Y., Guo, H., Hu, J.: An svm-based approach for stock market trend prediction. In: The 2013 International Joint Conference on Neural Networks (IJCNN), pp. 1–7. IEEE (2013)

    Google Scholar 

  15. Nelson, D.M., Pereira, A.C., de Oliveira, R.A.: Stock market’s price movement prediction with lstm neural networks. In: 2017 International Joint Conference on Neural Networks (IJCNN), pp. 1419–1426. IEEE (2017)

    Google Scholar 

  16. Sallab, A.E., Abdou, M., Perot, E., Yogamani, S.: Deep reinforcement learning framework for autonomous driving. Electron. Imag. 2017(19), 70–76 (2017)

    Article  Google Scholar 

  17. Tseng, K.K., Zhang, R., Chen, C.M., Hassan, M.M.: Dnetunet: a semi-supervised cnn of medical image segmentation for super-computing ai service. J. Supercomput. 77(4), 3594–3615 (2021)

    Article  Google Scholar 

  18. Vargas, M.R., dos Anjos, C.E., Bichara, G.L., Evsukoff, A.G.: Deep leaning for stock market prediction using technical indicators and financial news articles. In: 2018 International Joint Conference on Neural Networks (IJCNN), pp. 1–8. IEEE (2018)

    Google Scholar 

  19. Wang, E.K., Wang, F., Kumari, S., Yeh, J.H., Chen, C.M.: Intelligent monitor for typhoon in iot system of smart city. J. Supercomput. 77(3), 3024–3043 (2021)

    Article  Google Scholar 

  20. Wang, K., Chen, C.M., Hossain, M.S., Muhammad, G., Kumar, S., Kumari, S.: Transfer reinforcement learning-based road object detection in next generation iot domain. Comput. Netw. 108078 (2021)

    Google Scholar 

  21. Wang, K., Xu, P., Chen, C.M., Kumari, S., Shojafar, M., Alazab, M.: Neural architecture search for robust networks in 6g-enabled massive iot domain. IEEE Internet Things J. (2020)

    Google Scholar 

  22. Wu, J.M.T., Li, Z., Lin, J.C.W., Pirouz, M.: A new convolution neural network model for stock price prediction. In: International Conference on Genetic and Evolutionary Computing, pp. 581–585. Springer (2019)

    Google Scholar 

  23. Wu, J.M.T., Li, Z., Srivastava, G., Tasi, M.H., Lin, J.C.W.: A graph-based convolutional neural network stock price prediction with leading indicators. Softw.: Pract. Experi. 51(3), 628–644 (2021)

    Google Scholar 

  24. Yetis, Y., Kaplan, H., Jamshidi, M.: Stock market prediction by using artificial neural network. In: 2014 World Automation Congress (WAC), pp. 718–722. IEEE (2014)

    Google Scholar 

  25. Zhao, Z., Zhou, H., Li, C., Tang, J., Zeng, Q.: Deepemlan: Deep embedding learning for attributed networks. Inf. Sci. 543, 382–397 (2021)

    Article  MathSciNet  Google Scholar 

  26. Zhao, Z., Zhou, H., Qi, L., Chang, L., Zhou, M.: Inductive representation learning via cnn for partially-unseen attributed networks. IEEE Trans. Netw. Sci. Eng. 8(1), 695–706 (2021)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gong, Y., Ming-Tai Wu, J., Li, Z., Liu, S., Sun, L., Chen, CM. (2022). A CNN-Based Method for AAPL Stock Price Trend Prediction Using Historical Data and Technical Indicators. In: Zhang, JF., Chen, CM., Chu, SC., Kountchev, R. (eds) Advances in Intelligent Systems and Computing. Smart Innovation, Systems and Technologies, vol 268. Springer, Singapore. https://doi.org/10.1007/978-981-16-8048-9_3

Download citation

Publish with us

Policies and ethics