A Method for Clustering and Predicting Stocks Prices by Using Recurrent Neural Networks

Affonso, Felipe and Magela Rodrigues Dias, Thiago and Luiz Pinto, Adilson (2020) A Method for Clustering and Predicting Stocks Prices by Using Recurrent Neural Networks. In: Data and Information in Online Environments. First EAI International Conference, DIONE 2020, Florianópolis, Brazil, March 19-20, 2020, Proceedings.

[thumbnail of 75768.pdf] PDF
75768.pdf

Download (731kB)

Abstract

Predicting the stock market is a widely studied field, either due to the curiosity in finding an explanation for the behavior of financial assets or for financial purposes. Among these studies the best techniques use neural networks as a prediction tool. More specifically, the best networks for this purpose are called recurrent neural networks (RNN) and provide an extra option when dealing with a sequence of values. However, a great part of the studies is intended to predict the result of few stocks, therefore, this work aims to predict the behavior of a large number of stocks. For this, similar stocks were grouped based on their correlation and later the algorithm K-means was applied so that similar groups were clustered. After this process, the Long Short-Term Memory (LSTM) - a type of RNN - was used in order to predict the price of a certain group of assets. Results showed that clustering stocks did not influence the effectiveness of the network and that investors and portfolio managers can use it to simply their daily tasks.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: Neural networks, Clustering, Stock market, Deep learning
Date Deposited: 04 Mar 2026 19:25
Last Modified: 20 Nov 2026 11:30
URI: https://eprints.eai.eu/id/eprint/56424

Actions (login required)

View Item
View Item