Title :
Automatic method for stock trading combining technical analysis and the Artificial Bee Colony Algorithm
Author :
Brasileiro, Rodrigo C. ; Souza, Victor L. F. ; Fernandes, Bruno J. T. ; Oliveira, Adriano L. I.
Author_Institution :
Center of Inf., Fed. Univ. of Pernambuco, Recife, Brazil
Abstract :
There are many researches on forecasting time series for building trading systems for financial markets. Some of these studies have shown that it is possible to obtain satisfactory results, thereby contradicting the theory of Efficient Markets Hypothesis (EMH) that suggests that prices are randomly generated over time. This paper proposes an intelligent system based on historical closing prices that uses technical analysis, the Artificial Bee Colony Algorithm (ABC), a selection of past values (lags), nearest neighbor classification (k-NN) and its variation, the Adaptative Classification and Nearest Neighbor (A-k-NN). A very important step for time series prediction is the correct selection of the past observations (lags). Our method uses this strategy since it uses the k-NN and A-k-NN to decide on the buy and seIl points, combined with the ABC algorithm which is used to search for the best parameter settings of system and a good set of lags. This paper compares the results obtained by the proposed method with the buy and hold strategy and with other work that performed similar experiments with the same trading model and the same stocks. The key measure for performance comparison is the profitability in the analyzed period. The proposed method generates much larger profits compared to the other method and to the buy and hold strategy. Our method outperforms the other methods in thirteen out of the fifteen stocks tested, minimizing the risk of market ex pos ure.
Keywords :
forecasting theory; learning (artificial intelligence); pattern classification; pricing; profitability; stock markets; time series; A-k-NN; adaptative classification and nearest neighbor; artificial bee colony algorithm; buy and hold strategy; buy and seIl points; financial markets; historical closing prices; intelligent system; k-NN; nearest neighbor classification; past value selection; profitability; stock trading model; technical analysis; time series forecasting; time series prediction; Correlation; Tin; artificial bee colony algorithm; financial forecasting; machine learning; selection of lags; stock market; stock trends predicting;
Conference_Titel :
Evolutionary Computation (CEC), 2013 IEEE Congress on
Conference_Location :
Cancun
Print_ISBN :
978-1-4799-0453-2
Electronic_ISBN :
978-1-4799-0452-5
DOI :
10.1109/CEC.2013.6557780