Research Article

APPL stock price prediction based on LSTM and GRU

Tao Pang*
University of Pennsylvania

* Corresponding author: [email protected]

Abstract

In particular, LSTM and GRU are two frequently used models in stock price prediction. With this in mind, this study will test these two useful tools from three aspects, actual using, limitations and possible future improving. Based on the stock price of (APPL), Apple company from 2022 to 2023. There are a lot of past research shows that LSTM and GRU are useful in forecasting stock price. However, one important part to notice is the rely on historical data. These two models may find difficult to address the correct prediction and make real profit. As a result, the usefulness of LSTM and GRU are tested by the unstable stock market. Additionally, overfitting can be a big problem. To make the models more useful and eliminate limitations. In this research, there will be some real examples of change in stock price based on graphs. There will be some future strategy to solve issues on LSTM and GRU, from possible improvements on the current reliability on historical data, and the easily influenced stock market. Overall, LSTM and GRU can provide useful details based on the past data of certain stock. However, the limitations of these two models are a big issue.

Keywords: Machine learning; LSTM; GRU; RNN
Published: March 15, 2024
DOI: 10.54254/2755-2721/47/20241343
Volume: ACE Vol.47
pp. 200-206
Download PDF

References

  1. Malkiel G B 2003, The Efficient Market Hypothesis and Its Critics, Princeton University CEPS Working Paper p 91.
  2. Brogaard J, Hendershott T and Riordan R 2013, High Frequency Trading and Price Discovery, Working Paper Series p 1602.
  3. Goldstein A M, Kwan A and Philip R 2021, High-Frequency Trading Strategies, University of Sydney Business School Date Written p 5.
  4. Hossain S, 2018, The Intersectionality of High Frequency Trading (HFT) and Market Fragmentation and their impact on Liquidity: New Evidence vol 15 p 102.
  5. Zhu Y 2020, Stock price prediction using the RNN model
  6. J Phys: Conf Ser vol 1650 p 032103
  7. Islam S B, Hasan M M and Khan M M 2021, Prediction of Stock Market Using Recurrent Neural Network, IEEE 12th Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON) pp 479-483.
  8. Chen S and He H 2018, Stock Prediction Using Convolutional Neural Network, IOP Conf Ser: Mater Sci Eng vol 435 p 012026
  9. Kaninde S, Mahajan M, Janghale A and Joshi B 2022, Stock Price Prediction using Facebook Prophet, 6th International Conference for Convergence in Technology (I2CT) pp 1-7.IOP Conf Ser: Mater Sci Eng vol 435 p 012026
  10. Alshara A 2022, Stock Forecasting Using Prophet vs. LSTM Model Applying Time-Series Prediction, International Journal of Computer Science and Network Security vol 22(2) p 185.
  11. Chen C, Xue L, Xing W 2023, Research on Improved GRU-Based Stock Price Prediction Method, Appl Sci vol 13(15) p 8813.
  12. Lin Z, Tian F and Zhang W 2022, Evaluation and Analysis of an LSTM and GRU Based Stock Investment Strategy, AEBMR vol 226 pp 1615–1626.