Abstract
This paper proposes a stock price trend clustering and trend investment decision model by using a genetic algorithm to search for optimal solutions and the best investment strategies for different stock price trends. The new price trend clustering model identifies three types of stock price movements: uptrends, sideways trends, and downtrends. Unfortunately, trends discovered through stock price movements or technical indicator graphs are typically subjective and unquantifiable. This paper takes daily stock prices and trading volume data from the China Shanghai Stock Exchange Composite Index (SSECI) from January 2, 1997 to August 31, 2012, to examine the performance of the proposed trend clustering model. The proposed model is also compared to other popular stock market investment strategies to verify its validity. Research result shows that the proposed trend clustering model correctly identifies three different trends in the stock market. Furthermore, the trend investment strategy model developed by using genetic algorithm methodology performs better than other investment strategies, namely, Granville’s rule, the KD indicator strategy, the buys and holds strategy, and GMA rules, in both bull and bear market periods. Research results prove the proposed new model to be a stable and valid investment strategy.
Similar content being viewed by others
References
Bessembinder H, Chan K. The profitability of technical trading rules in the Asian stock markets. Pac-Basin Financ J, 1995, 3: 257–284
Gunasekarage A, Power D M. The profitability of moving average trading rules in south Asian stock markets. Emerg Mark Rev, 2001, 2: 17–33
Lee H Y, Wu H C. The impact of information in technical analysis on herd behavior of mutual fund. NTU Manag Rev, 2009, 20: 227–260
Teixeira L A, Oliveira A L I. A method for automatic stock trading combining technical analysis and nearest neighbor classification. Expert Syst Appl, 2010, 37: 6885–6890
Groenewold N, Tang S H K, Wu Y. The profitability of regression-based trading rules for the Shanghai stock market. Int Rev Financ Anal, 2008, 17: 411–430
Chang Chien Y W, Chen Y L. Mining associative classification rules with stock trading data-a GA-based method. Knowl-Based Syst, 2010, 23: 605–614
Atsalakis G S, Valavanis K P. Forecasting stock market short-term trends using a neuro-fuzzy based methodology. Expert Syst Appl, 2009, 36: 10696–10707
Nunez-Letamendia L. Trading systems designed by genetic algorithms. Manag Financ, 2002, 28: 87–106
Atsalakis G S, Dimitrakakis E M, Zopounidis C D. Elliott wave theory and neuro-fuzzy systems, in stock market prediction: the wasp system. Expert Syst Appl, 2011, 38: 9196–9206
Lai M M, Lau S H. The profitability of the simple moving averages and trading range breakout in the Asian stock markets. J Asian Econ, 2006, 17: 144–170
Glickstein D A, Wubbels R E. Dow theory is alive and well. J Portfolio Manag, 1983, 9: 28–32
Saitta A. Using dow theory to catch trends. Futures, 1995, 24: 46–48
Caldas L G, Norford L K. A design optimization tool based on a genetic algorithm. Automat Constr, 2002, 11: 173–184
Rao B R, Tiwari R. Optimum design of rolling element bearings using genetic algorithms. Mech Mach Theory, 2007, 42: 233–250
Wang P, Wang P, Qu Z G, et al. A refined coherent point drift (CPD) algorithm for point set registration. Sci China Inf Sci, 2011, 54: 2639–2646
Ferentinos K P, Tsiligiridis T A. Adaptive design optimization of wireless sensor networks using genetic algorithms. Comput Netw, 2007, 51: 1031–1051
Montana D, Hussain T. Adaptive reconfiguration of data networks using genetic algorithms. Appl Soft Comput, 2004, 4: 433–444
Gimeno R, Nave J M. A genetic algorithm estimation of the term structure of interest rates. Comput Stat Data Anal, 2009, 53: 2236–2250
Oh K J, Kim T Y, Min S. Using genetic algorithm to support portfolio optimization for index fund management. Expert Syst Appl, 2005, 28: 371–379
Qi C, Tang J C S. Foreign direct investment: a genetic algorithm approach. Socio-Econ Plan Sci, 2006, 40: 143–155
Chou R Y. Modeling the asymmetry of stock movements using price ranges. Adv Econom, 2005, 20: 231–257
Parkinson M. The extreme value method for estimating the variance of the rate of return. J Bus, 1980, 53: 61–65
Kuo R J, Ho L M, Hu C M. Integration of self-organizing feature map and k-means algorithm for market segmentation. Comput Oper Res, 2002, 29: 1475–1493
Mihailov T, Linowski D. Testing efficiency of the Latvian stock market: an evolutionary perspective. Soc Sci Res Netw, 2002. Available at SSRN: http://ssrn.com/abstract=302285 or http://dx.doi.org/10.2139/ssrn.302285
Srinivas M, Patnaik L M. Genetic algorithms: a survey. Computer, 1994, 27: 17–26
Nunez-Letamendia L. Fitting the control parameters of a genetic algorithm: an application to technical trading systems design. Eur J Oper Res, 2007, 179: 847–868
Fernando F R, Christian G M, Simon S R. Optimization of technical rules by genetic algorithms: evidence from the Madrid stock market. Appl Financ Econ, 2005, 15: 773–775
Bernstein J. Market Masters How Successful Traders Think, Trade and Invest and How You Can Too! Dearborn Trade Publishing, 1994
French K R, Schwert G W, Stambaugh R F. Expected stock returns and volatility. J Financ Econ, 1987, 19: 3–29
Nelson D B. Conditional heteroskedasticity in asset returns: a new approach. Econometrica, 1991, 59: 347–370
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Wu, C., Chou, S. & Liaw, H. A trend based investment decision approach using clustering and heuristic algorithm. Sci. China Inf. Sci. 57, 1–14 (2014). https://doi.org/10.1007/s11432-013-4985-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11432-013-4985-4