TY - JOUR
T1 - Robustness test of genetic algorithm on generating rules for currency trading
AU - Deng, Shangkun
AU - Sun, Yizhou
AU - Sakurai, Akito
N1 - Funding Information:
This research was partially supported by Global-COE Program of Keio University, Graduate School of Science and Technology, Japan. The authors would like to thank Forexite for making its foreign exchange data available for this research.
PY - 2012
Y1 - 2012
N2 - In trading in currency markets, reducing the mean of absolute or squared errors of predicted values is not valuable unless it results in profits. A trading rule is a set of conditions that describe when to buy or sell a currency or to close a position, which can be used for automated trading. To optimize the rule to obtain a profit in the future, a probabilistic method such as a genetic algorithm (GA) or genetic programming (GP) is utilized, since the profit is a discrete and multimodal function with many parameters. Although the rules optimized by GA/GP reportedly obtain a profit in out-of-sample testing periods, it is hard to believe that they yield a profit in distant out-of-sample periods. In this paper, we first consider a framework where we optimize the parameters of the trading rule in an in-sample training period, and then execute trades according to the rule in its succeeding out-of-sample period. We experimentally show that the framework very often results in a profit. We then consider a framework in which we conduct optimization as above and then execute trades in distant out-of-sample periods. We empirically show that the results depend on the similarity of the trends in the training and testing periods.
AB - In trading in currency markets, reducing the mean of absolute or squared errors of predicted values is not valuable unless it results in profits. A trading rule is a set of conditions that describe when to buy or sell a currency or to close a position, which can be used for automated trading. To optimize the rule to obtain a profit in the future, a probabilistic method such as a genetic algorithm (GA) or genetic programming (GP) is utilized, since the profit is a discrete and multimodal function with many parameters. Although the rules optimized by GA/GP reportedly obtain a profit in out-of-sample testing periods, it is hard to believe that they yield a profit in distant out-of-sample periods. In this paper, we first consider a framework where we optimize the parameters of the trading rule in an in-sample training period, and then execute trades according to the rule in its succeeding out-of-sample period. We experimentally show that the framework very often results in a profit. We then consider a framework in which we conduct optimization as above and then execute trades in distant out-of-sample periods. We empirically show that the results depend on the similarity of the trends in the training and testing periods.
KW - Financial prediction
KW - Foreign exchange
KW - Genetic algorithm
KW - Optimization algorithm
KW - Robustness test
KW - Technical analysis
UR - http://www.scopus.com/inward/record.url?scp=84897972526&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84897972526&partnerID=8YFLogxK
U2 - 10.1016/j.procs.2012.09.117
DO - 10.1016/j.procs.2012.09.117
M3 - Conference article
AN - SCOPUS:84897972526
SN - 1877-0509
VL - 13
SP - 86
EP - 98
JO - Procedia Computer Science
JF - Procedia Computer Science
T2 - 3rd International Neural Network Society Winter Conference, INNS-WC 2012
Y2 - 3 October 2012 through 5 October 2012
ER -