
Research Article
A Method for Clustering and Predicting Stocks Prices by Using Recurrent Neural Networks
@INPROCEEDINGS{10.1007/978-3-030-50072-6_3, author={Felipe Affonso and Thiago Magela Rodrigues Dias and Adilson Luiz Pinto}, title={A Method for Clustering and Predicting Stocks Prices by Using Recurrent Neural Networks}, proceedings={Data and Information in Online Environments. First EAI International Conference, DIONE 2020, Florian\^{o}polis, Brazil, March 19-20, 2020, Proceedings}, proceedings_a={DIONE}, year={2020}, month={6}, keywords={Neural networks Clustering Stock market Deep learning}, doi={10.1007/978-3-030-50072-6_3} }
- Felipe Affonso
Thiago Magela Rodrigues Dias
Adilson Luiz Pinto
Year: 2020
A Method for Clustering and Predicting Stocks Prices by Using Recurrent Neural Networks
DIONE
Springer
DOI: 10.1007/978-3-030-50072-6_3
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.