Combining NeuroEvolution and Principal Component Analysis to trade in the financial markets

Abstract When investing in the financial market, determining a trading signal that can fulfill the financial performance demands of an investor is a difficult task and a very popular research topic in the financial investment area. This paper presents an approach combining the principal component analysis (PCA) with the NeuroEvolution of Augmenting Topologies (NEAT) to generate a trading signal capable of achieving high returns and daily profits with low associated risk. The proposed approach is tested with real daily data from four financial markets of different sectors and with very different characteristics. Three different fitness functions are considered in the NEAT algorithm and the most robust results are produced by a fitness function that measures the mean daily profit obtained by the generated trading signal. The results achieved show that this approach outperforms the Buy and Hold (B&H) strategy in the markets tested (in the S&P 500 index this system achieves a rate of return of 18.89% while the B&H achieves 15.71% and in the Brent Crude futures contract this system achieves a rate of return of 37.91% while the B&H achieves −9.94%). Furthermore, it’s concluded that the PCA method is vital for the good performance of the proposed approach.

[1]  Yu Song,et al.  Predicting the Direction of Stock Market Index Movement Using an Optimized Artificial Neural Network Model , 2016, PloS one.

[2]  Timothy Nodine Speciation in NEAT , 2010 .

[3]  Pei-Chann Chang,et al.  A TSK type fuzzy rule based system for stock price prediction , 2008, Expert Syst. Appl..

[4]  Jun Wang,et al.  Forecasting stock market indexes using principle component analysis and stochastic time effective neural networks , 2015, Neurocomputing.

[5]  J. Murphy Technical Analysis of the Financial Markets , 1999 .

[6]  E. Fama EFFICIENT CAPITAL MARKETS: A REVIEW OF THEORY AND EMPIRICAL WORK* , 1970 .

[7]  Asif Perwej,et al.  Prediction of the Bombay Stock Exchange (BSE) Market Returns Using Artificial Neural Network and Genetic Algorithm , 2012 .

[8]  Nuno Horta,et al.  Applying a GA kernel on optimizing technical analysis rules for stock picking and portfolio composition , 2011, Expert Syst. Appl..

[9]  Mehmet Özçalici,et al.  Integrating metaheuristics and Artificial Neural Networks for improved stock price prediction , 2016, Expert Syst. Appl..

[10]  Gaël Varoquaux,et al.  Scikit-learn: Machine Learning in Python , 2011, J. Mach. Learn. Res..

[11]  Akter Hussain,et al.  Price Prediction of Share Market using Artificial Neural Network (ANN) , 2011 .

[12]  Maysam F. Abbod,et al.  Optimization the Initial Weights of Artificial Neural Networks via Genetic Algorithm Applied to Hip Bone Fracture Prediction , 2012, Adv. Fuzzy Syst..

[13]  Wen-Chyuan Chiang,et al.  An adaptive stock index trading decision support system , 2016, Expert Syst. Appl..

[14]  Risto Miikkulainen,et al.  Evolving Neural Networks through Augmenting Topologies , 2002, Evolutionary Computation.

[15]  Mohammad Mahdi Rounaghi,et al.  Application of artificial neural network models and principal component analysis method in predicting stock prices on Tehran Stock Exchange , 2015 .

[16]  Jacek Mandziuk,et al.  "Dead" Chromosomes and Their Elimination in the Neuro-Genetic Stock Index Prediction System , 2009, ICONIP.

[17]  J. A. Chen,et al.  A decision support system for order selection in electronic commerce based on fuzzy neural network supported by real-coded genetic algorithm , 2004, Expert Syst. Appl..

[18]  Yu Song,et al.  Application of artificial neural network for the prediction of stock market returns: The case of the Japanese stock market , 2016 .

[19]  Veera Boonjing,et al.  Artificial Neural Network and Genetic Algorithm Hybrid Intelligence for Predicting Thai Stock Price Index Trend , 2016, Comput. Intell. Neurosci..

[20]  Mahesh Panchal,et al.  Optimizing Weights of Artificial Neural Networks using Genetic Algorithms , 2012 .

[21]  Xiao Zhong,et al.  Forecasting daily stock market return using dimensionality reduction , 2017, Expert Syst. Appl..

[22]  Melanie Mitchell,et al.  An introduction to genetic algorithms , 1996 .

[23]  Pei-Chann Chang,et al.  Evolving neural network for printed circuit board sales forecasting , 2005, Expert Syst. Appl..

[24]  Heng Tao Shen,et al.  Principal Component Analysis , 2009, Encyclopedia of Biometrics.

[25]  L. Darrell Whitley,et al.  Genetic algorithms and neural networks: optimizing connections and connectivity , 1990, Parallel Comput..

[26]  C. Kirkpatrick,et al.  Technical Analysis: The Complete Resource for Financial Market Technicians , 2006 .

[27]  Carl Sandström An evolutionary approach to time series forecasting with artificial neural networks , 2015 .

[28]  Pei-Chann Chang,et al.  A novel model by evolving partially connected neural network for stock price trend forecasting , 2012, Expert Syst. Appl..

[29]  Andrzej Bargiela,et al.  Towards Evolutionary Deep Neural Networks , 2014, ECMS.

[30]  Elliot Meyerson,et al.  Evolving Deep Neural Networks , 2017, Artificial Intelligence in the Age of Neural Networks and Brain Computing.

[31]  Luna M. Zhang Genetic deep neural networks using different activation functions for financial data mining , 2015, 2015 IEEE International Conference on Big Data (Big Data).

[32]  J. Murphy Technical Analysis of the Futures Markets: A Comprehensive Guide to Trading Methods and Applications , 1986 .