From an artificial neural network to a stock market day-trading system: a case study on the BM&F BOVESPA

  • Authors:
  • Leonardo C. Martinez;Diego N. da Hora;João R. de M. Palotti;Wagner Meira;Gisele L. Pappa

  • Affiliations:
  • Computer Science Department, Federal University of Minas Gerais, Brazil;Computer Science Department, Federal University of Minas Gerais, Brazil;Computer Science Department, Federal University of Minas Gerais, Brazil;Computer Science Department, Federal University of Minas Gerais, Brazil;Computer Science Department, Federal University of Minas Gerais, Brazil

  • Venue:
  • IJCNN'09 Proceedings of the 2009 international joint conference on Neural Networks
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Predicting trends in the stock market is a subject of major interest for both scholars and financial analysts. The main difficulties of this problem are related to the dynamic, complex, evolutive and chaotic nature of the markets. In order to tackle these problems, this work proposes a day-trading system that "translates" the outputs of an artificial neural network into business decisions, pointing out to the investors the best times to trade and make profits. The ANN forecasts the lowest and highest stock prices of the current trading day. The system was tested with the two main stocks of the BM&FBOVESPA, an important and understudied market. A series of experiments were performed using different data input configurations, and compared with four benchmarks. The results were evaluated using both classical evaluation metrics, such as the ANN generalization error, and more general metrics, such as the annualized return. The ANN showed to be more accurate and give more return to the investor than the four benchmarks. The best results obtained by the ANN had an mean absolute percentage error around 50% smaller than the best benchmark, and doubled the capital of the investor.