StockTM: Accurate Stock Price Prediction Model Using LSTM
Abstract
Stock prediction aims to forecast a future stock price trend to assist investors in making strategic investment choices. However, it is hard to predict the price in dynamic conditions, which causes investors hard to anticipate equities because of the unstable prices. Thus, in this paper, we present a novel stock price prediction model based on the Long Short-Term Memory (LSTM) algorithm. Several steps are taken in creating a stock prediction model, including collecting datasets, pre-processing, extracting features, training and validating the model using evaluation metrics techniques. Based on the experimental results, the proposed prediction model can obtain good accuracy with a small error rate in an extensive dataset training. Therefore, it can be a promising solution to deal with the dynamic prices. Moreover, the proposed model can achieve the results obtained: RMSE EMA10 of 0.00714, RMSE EMA20 of 0.00355, MAPE EMA10 of 0.07705, and MAPE EMA20 0.05273.
Downloads
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
IJICOM is an open-access journal. Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.