IDEAS home Printed from https://ideas.repec.org/a/alk/jcsts0/v6y2024i2id7406.html

Analysis and Prediction of Indonesia Stock Exchange (IDX) Stock Prices Using Long Short Term Memory (LSTM) Algorithm

Author

Listed:
  • Tatas Handharu Sworo

    (Informatics, University of Technology Yogyakarta, Indonesia)

  • Arief Hermawan

    (Informatics, University of Technology Yogyakarta, Indonesia)

Abstract

Stock investment is now a popular choice for many individuals and business entities. To optimize profits in investing, a deep understanding of price movements, timing, and accurate predictions in trading is required. The Long Short-Term Memory (LSTM) algorithm, a type of neural network suitable for time series data such as stock prices, can recognize complex temporal patterns in financial data. This algorithm has the potential to help investors and financial analysts predict BBRI stock prices more accurately. The purpose of this research is to predict the closing price of BBRI stock using the LSTM algorithm. This system can also conduct technical analysis with various indicators to understand the characteristics of the financial market. The research data includes BBRI stock prices from January 2006 to the present, with closing prices as the main variable. The research results show good model performance with a Mean Squared Error (MSE) of 0.000279, Mean Absolute Error (MAE) of 0.0133, and Root Mean Squared Error (RMSE) of 0.0167 on the training data. This reflects the model's level of accuracy against the training data. Although there is a slight increase in the validation data, these values remain within an acceptable level, indicating the model's ability to recognize data patterns that have not been seen before.

Suggested Citation

  • Tatas Handharu Sworo & Arief Hermawan, 2024. "Analysis and Prediction of Indonesia Stock Exchange (IDX) Stock Prices Using Long Short Term Memory (LSTM) Algorithm," Journal of Computer Science and Technology Studies, Al-Kindi Center for Research and Development, vol. 6(2), pages 142-149, April.
  • Handle: RePEc:alk:jcsts0:v:6:y:2024:i:2:id:7406
    DOI: 10.32996/jcsts.2024.6.2.16
    as

    Download full text from publisher

    File URL: https://al-kindipublisher.com/index.php/jcsts/article/view/7406
    File Function: Abstract page
    Download Restriction: no

    File URL: https://al-kindipublisher.com/index.php/jcsts/article/download/7406/6309
    File Function: Full text
    Download Restriction: no

    File URL: https://libkey.io/10.32996/jcsts.2024.6.2.16?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    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:alk:jcsts0:v:6:y:2024:i:2:id:7406. 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: Al-Kindi Center for Research and Development (email available below). General contact details of provider: https://al-kindipublisher.com/index.php/jcsts .

    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.