Combining technical trading rules using parallel particle swarm optimization based on Hadoop

Technical trading rules have been utilized in the stock markets to make profit for more than a century. However, no single trading rule can ever be expected to predict the stock price trend accurately. In fact, many investors and fund managers make trading decisions by combining a bunch of technical indicators. In this paper, we consider the complex stock trading strategy, called Performance-based Reward Strategy (PRS), proposed by [1]. Instead of combining two classes of technical trading rules, we expand the scope to combine the seven most popular classes of trading rules in financial markets, resulting in a total of 1059 component trading rules. Each component rule is assigned a starting weight and a reward/penalty mechanism based on rules' recent profit is proposed to update their weights over time. To determine the best parameter values of PRS, we employ an improved time variant particle swarm optimization (TVPSO) algorithm with the objective of maximizing the annual net profit generated by PRS. Due to a large number of component rules and swarm size, the optimization time is significant. A parallel PSO based on Hadoop, an open source parallel programming model of MapReduce, is employed to optimize PRS more efficiently. The experimental results show that PRS outperforms all of the component rules in the testing period.

[1]  Robert Pardo,et al.  The Evaluation and Optimization of Trading Strategies , 2008 .

[2]  R. Eberhart,et al.  Empirical study of particle swarm optimization , 1999, Proceedings of the 1999 Congress on Evolutionary Computation-CEC99 (Cat. No. 99TH8406).

[3]  Yahya M. Tashtoush,et al.  Cultural Algorithms: Emerging Social Structures for the Solution of Complex Optimization Problems , 2013 .

[4]  Jack L. Treynor,et al.  MUTUAL FUND PERFORMANCE* , 2007 .

[5]  Stefan Preitl,et al.  Novel Adaptive Gravitational Search Algorithm for Fuzzy Controlled Servo Systems , 2012, IEEE Transactions on Industrial Informatics.

[6]  Sakti Prasad Ghoshal,et al.  Cat Swarm Optimization algorithm for optimal linear phase FIR filter design. , 2013, ISA transactions.

[7]  Prospero C. Naval,et al.  Stock trading system based on the multi-objective particle swarm optimization of technical indicators on end-of-day market data , 2011, Appl. Soft Comput..

[8]  Chung-Ming Kuan,et al.  Reexamining the Profitability of Technical Analysis with Data Snooping Checks , 2005 .

[9]  Sanjay Ghemawat,et al.  MapReduce: Simplified Data Processing on Large Clusters , 2004, OSDI.

[10]  Martin J. Pring,et al.  Technical Analysis Explained: The Successful Investor's Guide to Spotting Investment Trends and Turning Points , 1980 .

[11]  H. White,et al.  Data‐Snooping, Technical Trading Rule Performance, and the Bootstrap , 1999 .

[12]  Massimo Panella,et al.  Neurofuzzy Networks With Nonlinear Quantum Learning , 2009, IEEE Transactions on Fuzzy Systems.

[13]  Saman K. Halgamuge,et al.  Self-organizing hierarchical particle swarm optimizer with time-varying acceleration coefficients , 2004, IEEE Transactions on Evolutionary Computation.

[14]  Y. Rahmat-Samii,et al.  Particle swarm optimization in electromagnetics , 2004, IEEE Transactions on Antennas and Propagation.

[15]  B. LeBaron,et al.  Simple Technical Trading Rules and the Stochastic Properties of Stock Returns , 1992 .

[16]  Stacy Williams,et al.  Adaptive systems for foreign exchange trading , 2004 .

[17]  Lars N. Kestner Quantitative Trading Strategies: Harnessing the Power of Quantitative Techniques to Create a Winning Trading Program , 2003 .

[18]  Yue Shi,et al.  A modified particle swarm optimizer , 1998, 1998 IEEE International Conference on Evolutionary Computation Proceedings. IEEE World Congress on Computational Intelligence (Cat. No.98TH8360).

[19]  Ramazan Gençay,et al.  The predictability of security returns with simple technical trading rules , 1998 .

[20]  James Kennedy,et al.  Particle swarm optimization , 2002, Proceedings of ICNN'95 - International Conference on Neural Networks.

[21]  Fei Wang,et al.  Combining technical trading rules using particle swarm optimization , 2014, Expert Syst. Appl..

[22]  Chukwudi Anyakoha,et al.  A review of particle swarm optimization. Part I: background and development , 2007, Natural Computing.