Figure 6: CG and EG predict results in LSTM.
Figure 7: CG and EG predict results in GRU.
Figure 8: CG and EG predict results in RNN.
5 CONCLUSIONS
An in-depth analysis of the experimental data in
Table 2 shows a significant conclusion: the use of
daily returns as an input to the forecasting model
significantly improves the accuracy of forecasting
compared to the traditional method of using closing
prices. This finding was validated in three different
recurrent neural network models: LSTM, GRU, and
RNN. Specifically, the use of daily return showed an
increase in predictive power across all models, but
this improvement was particularly significant in the
GRU model, while the improvement effect was
relatively small in the RNN model.
This difference may be due to the unique
structural characteristics of the GRU model, which
effectively controls the flow of information through
update gates and reset gates, allowing the model to
better capture short-term dynamic changes in time
series data, which is especially important for data
with high frequency changes such as daily returns. In
contrast, RNN models may not be as effective as
GRU and LSTM models in dealing with such
complex data due to their simple structure, especially
in capturing long-term dependencies. Although the
LSTM model also shows a good performance
improvement, it may not have a significant
improvement effect when processing the daily return
data as well as the GRU model due to its more
complex gating mechanism.
These results further confirm the potential of
daily returns as an input to predictive models,
especially when using models such as GRU that can
efficiently handle short-term dynamic changes. This
finding has important practical implications for
financial analysts and investors, as it provides a new
perspective to improve stock market forecasting
models, which may lead to better investment
decisions and risk management strategies.
REFERENCES
Gao, Y., Wang, R., & Zhou, E. (2021). Stock prediction
based on optimized LSTM and GRU
models. Scientific Programming, 2021(1), 4055281.
Ghosh, A., Bose, S., Maji, G., Debnath, N., & Sen, S. (2019,
September). Stock price prediction using LSTM on
Indian share market. In Proceedings of 32nd
international conference on (Vol. 63, pp. 101-110).
Jahan, I., & Sajal, S. (2018). Stock price prediction using
recurrent neural network (RNN) algorithm on time-
series data. In 2018 Midwest instruction and
computing symposium. Duluth, Minnesota, USA:
MSRP.
Lase, S. N., Yenny, Y., Owen, O., Turnip, M., & Indra, E.
(2022). Application of Data Mining To Predicate
Stock Price Using Long Short Term Memory
Method. INFOKUM, 10(02), 1001-1005.
Moghar, A., & Hamiche, M. (2020). Stock market
prediction using LSTM recurrent neural
network. Procedia computer science, 170, 1168-1173.
Patel, J., Patel, M., & Darji, M. (2018). Stock price
prediction using RNN and LSTM. Journal of
Emerging Technologies and Innovative
Research, 5(11), 1069-1079.
Pawar, K., Jalem, R. S., & Tiwari, V. (2019). Stock market
price prediction using LSTM RNN. In Emerging