Robust technical trading strategies using GP for algorithmic portfolio selection

被引:40
作者
Berutich, Jose Manuel [1 ]
Lopez, Francisco [1 ]
Luna, Francisco [1 ]
Quintana, David [2 ]
机构
[1] Univ Malaga, Dept Lenguajes & Ciencias Comp, E-29071 Malaga, Spain
[2] Univ Carlos III Madrid, Dept Informat, Madrid, Spain
关键词
Genetic programming; Algorithmic trading; Portfolio management; Trading rule; Finance; EVOLUTIONARY COMPUTATION; GENETIC ALGORITHMS;
D O I
10.1016/j.eswa.2015.10.040
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper presents a Robust Genetic Programming approach for discovering profitable trading rules which are used to manage a portfolio of stocks from the Spanish market. The investigated method is used to determine potential buy and sell conditions for stocks, aiming to yield robust solutions able to withstand extreme market conditions, while producing high returns at a minimal risk. One of the biggest challenges GP evolved solutions face is over-fitting. GP trading rules need to have similar performance when tested with new data in order to be deployed in a real situation. We explore a random sampling method (RSFGP) which instead of calculating the fitness over the whole dataset, calculates it on randomly selected segments. This method shows improved robustness and out-of-sample results compared to standard genetic programming (SGP) and a volatility adjusted fitness (VAFGP). Trading strategies (TS) are evolved using financial metrics like the volatility, CAPM alpha and beta, and the Sharpe ratio alongside other Technical Indicators (TI) to find the best investment strategy. These strategies are evaluated using 21 of the most liquid stocks of the Spanish market. The achieved results clearly outperform Buy&Hold, SGP and VAFGP. Additionally, the solutions obtained with the training data during the experiments clearly show during testing robustness to step market declines as seen during the European sovereign debt crisis experienced recently in Spain. In this paper the solutions learned were able to operate for prolonged periods, which demonstrated the validity and robustness of the rules learned, which are able to operate continuously and with minimal human intervention. To sum up, the developed method is able to evolve TSs suitable for all market conditions with promising results, which suggests great potential in the method generalization capabilities. The use of financial metrics alongside popular TI enables the system to increase the stock return while proving resilient through time. The RSFGP system is able to cope with different types of markets achieving a portfolio return of 31.81% for the testing period 2009-2013 in the Spanish market, having the IBEX35 index returned 2.67%. (C) 2015 Elsevier Ltd. All rights reserved.
引用
收藏
页码:307 / 315
页数:9
相关论文
共 29 条
  • [1] Adamu K, 2010, LECT NOTES ENG COMP, P96
  • [2] Genetic algorithms and Darwinian approaches in financial applications: A survey
    Aguilar-Rivera, Ruben
    Valenzuela-Rendon, Manuel
    Rodriguez-Ortiz, J. J.
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2015, 42 (21) : 7684 - 7697
  • [3] Using genetic algorithms to find technical trading rules
    Allen, F
    Karjalainen, R
    [J]. JOURNAL OF FINANCIAL ECONOMICS, 1999, 51 (02) : 245 - 271
  • [4] [Anonymous], P 6 INT C COMP INT N
  • [5] Aranha C., 2012, PRACTICAL APPL EVOLU, V11
  • [6] Bowers C., 2006, THESIS
  • [7] Branke J, 1998, LECT NOTES COMPUT SC, V1498, P119, DOI 10.1007/BFb0056855
  • [8] Dempster M. A. H., 2001, Quantitative Finance, V1, P397, DOI 10.1088/1469-7688/1/4/301
  • [9] Fortin FA, 2012, J MACH LEARN RES, V13, P2171
  • [10] Granger CWJ., 2004, J EMPIR FINANC, V11, P399, DOI DOI 10.1016/J.JEMPFIN.2003.03.001