Forecasting price intervals in the Brazilian stock market using discrete-time markov chains
DOI:
https://doi.org/10.5335/rbca.v15i1.13400Keywords:
Discrete-Time Markov Chains, machine learning, stock market predictionAbstract
Discrete-time Markov Chains have been preferentially used to predict the trend of stock and index prices using three states (price rise, price fall, price stay steady) and steady state analysis. While the prediction of price intervals has been little explored. In this work, we implement three different ways of building the transition probability matrix for forecasting price intervals, this prediction is compared with actual data and the hits percentage is measured. In addition, the relationship between the hits percentage and the period of construction of the probability transition matrix is calculated, as well as the relationship between the percentage of hits and the number of price intervals or states. The analysis was performed using 10 random stocks from São Paulo stock exchange with data from 2010 to 2019. One of the methods evaluated, which consisted of fixed-length intervals, using a transition probability matrix of 12 months and 5 intervals, was the one that presented the best performance, obtaining a total average of hits percentage above 81%. Furthermore, four investment strategies were implemented taking into account the results of this method, showing that it is possible to increase investments with the results of the method.
Downloads
Downloads
Published
Issue
Section
License

Todos os artigos estão licenciados com a licença Creative Commons Atribuição-NãoComercial-SemDerivações 4.0 Internacional. Autores que publicam nesta revista concordam com os seguintes termos:
a) Autores mantém os direitos autorais e concedem à revista o direito de primeira publicação, com o trabalho simultaneamente licenciado sob a Licença Creative Commons Attribution que permite o compartilhamento do trabalho com reconhecimento da autoria e publicação inicial nesta revista.
b) Autores têm autorização para assumir contratos adicionais separadamente, para distribuição não-exclusiva da versão do trabalho publicada nesta revista (ex.: publicar em repositório institucional ou como capítulo de livro), com reconhecimento de autoria e publicação inicial nesta revista.
c) Autores têm permissão e são estimulados a publicar e distribuir seu trabalho online (ex.: em repositórios institucionais ou na sua página pessoal) a qualquer ponto antes ou durante o processo editorial, já que isso pode gerar alterações produtivas, bem como aumentar o impacto e a citação do trabalho publicado (Veja O Efeito do Acesso Livre).