IDEAS home Printed from https://ideas.repec.org/a/dba/ejacia/v1y2025i3p1-9.html
   My bibliography  Save this article

Stock Price Prediction of Apple Inc. Based on LSTM Model: An Application of Artificial Intelligence in Individual Stock Analysis

Author

Listed:
  • Qi, Ruoyu
  • Hu, Liao

Abstract

This paper explores the potential of artificial intelligence in financial forecasting by applying a Long Short-Term Memory (LSTM) neural network to the task of predicting Apple Inc. (AAPL) stock prices. Using historical daily closing prices from August 2020 to August 2023, the model was trained and tested under a structured framework of data preprocessing, normalization, and sequential input construction. The forecasting performance was evaluated with widely used error measures, including Mean Squared Error (MSE), Mean Absolute Error (MAE), and Root Mean Squared Error (RMSE). Experimental results indicate that the LSTM model effectively captures sequential dependencies and nonlinear dynamics within the time series, generating predictions that closely align with observed prices. While the model demonstrates high accuracy in relatively stable market conditions, its reliance on univariate input limits adaptability to abrupt market fluctuations and external influences such as macroeconomic shifts. These findings suggest that LSTM-based models can serve as valuable tools for supporting individual stock analysis, but their effectiveness depends on stock-specific data availability and market characteristics. Future work may extend this framework by incorporating multi-source financial indicators and enhancing model interpretability to achieve broader practical relevance.

Suggested Citation

  • Qi, Ruoyu & Hu, Liao, 2025. "Stock Price Prediction of Apple Inc. Based on LSTM Model: An Application of Artificial Intelligence in Individual Stock Analysis," European Journal of AI, Computing & Informatics, Pinnacle Academic Press, vol. 1(3), pages 1-9.
  • Handle: RePEc:dba:ejacia:v:1:y:2025:i:3:p:1-9
    as

    Download full text from publisher

    File URL: https://pinnaclepubs.com/index.php/EJACI/article/view/285/292
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:dba:ejacia:v:1:y:2025:i:3:p:1-9. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Joseph Clark (email available below). General contact details of provider: https://pinnaclepubs.com/index.php/EJACI .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.