Genetic programming optimization for a sentiment feedback strength based trading strategy

Abstract This study is motivated by the empirical findings that news and social media Twitter messages (tweets) exhibit persistent predictive power on financial market movement. Based on the evidence that tweets are faster than news in revealing new market information, whereas news is regarded broadly a more reliable source of information than tweets, we propose a superior trading strategy based on the sentiment feedback strength between the news and tweets using generic programming optimization method. The key intuition behind this feedback strength based approach is that the joint momentum of the two sentiment series leads to significant market signals, which can be exploited to generate superior trading profits. With the trade-off between information speed and its reliability, this study aims to develop an optimal trading strategy using investors’ sentiment feedback strength with the objective to maximize risk adjusted return measured by the Sterling ratio. We find that the sentiment feedback based strategies yield superior market returns with low maximum drawdown over the period from 2012 to 2015. In comparison, the strategies based on the sentiment feedback indicator generate over 14.7% Sterling ratio compared with 10.4% and 13.6% from the technical indicator-based strategies and the basic buy-and-hold strategy respectively. After considering transaction costs, the sentiment indicator based strategy outperforms the technical indicator based strategy consistently. Backtesting shows that the advantage is statistically significant. The result suggests that the sentiment feedback indicator provides support in controlling loss with lower maximum drawdown.

[1]  David Leinweber,et al.  Relating news analytics to stock returns , 2012 .

[2]  Maite Taboada,et al.  Lexicon-Based Methods for Sentiment Analysis , 2011, CL.

[3]  Johan Bollen,et al.  Twitter mood predicts the stock market , 2010, J. Comput. Sci..

[4]  Kent D. Daniel,et al.  Presentation Slides for 'Investor Psychology and Security Market Under and Overreactions' , 1998 .

[5]  N. Barberis,et al.  A Model of Investor Sentiment , 1997 .

[6]  W. Fong,et al.  Chasing trends: recursive moving average trading rules and internet stocks , 2005 .

[7]  Sheung Yin Kevin Mo,et al.  Twitter financial community sentiment and its predictive relationship to stock market movement , 2015 .

[8]  Goldberg,et al.  Genetic algorithms , 1993, Robust Control Systems with Genetic Algorithms.

[9]  Adam V. Reed,et al.  How are shorts informed , 2012 .

[10]  Cheol-Young Ock,et al.  Sentiment Classification: A Combination of PMI, SentiWordNet and Fuzzy Function , 2012, ICCCI.

[11]  Andrea Esuli,et al.  SentiWordNet 3.0: An Enhanced Lexical Resource for Sentiment Analysis and Opinion Mining , 2010, LREC.

[12]  Barry W. Johnson Algorithmic trading & DMA : an introduction to direct access trading strategies , 2010 .

[13]  Petra Kralj Novak,et al.  Cohesiveness in Financial News and its Relation to Market Volatility , 2014, Scientific Reports.

[14]  Wei Xu,et al.  Combining Online News Articles and Web Search to Predict the Fluctuation of Real Estate Market in Big Data Context , 2015, Pac. Asia J. Assoc. Inf. Syst..

[15]  L. Smales,et al.  News Sentiment in the Gold Futures Market , 2013 .

[16]  Dennis Philip,et al.  Media Content and Stock Returns: The Predictive Power of Press , 2014 .

[17]  Diego García Sentiment during Recessions: Sentiment during Recessions , 2013 .

[18]  Sa-Kwang Song,et al.  Media-aware quantitative trading based on public Web information , 2014, Decis. Support Syst..

[19]  Jacob A. Bikker,et al.  Market Impact Costs of Institutional Equity Trades , 2004 .

[20]  Donald B. Keim,et al.  The Cost of Institutional Equity Trades , 1998 .

[22]  Bayram Veli Salur Investor sentiment in the stock market , 2013 .

[23]  Bruce D. Phelps The Cost of Institutional Equity Trades , 1999 .

[24]  Jay R. Ritter,et al.  Measuring abnormal performance: Do stocks overreact? , 1992 .

[25]  Kent D. Daniel,et al.  Overconfidence, Arbitrage, and Equilibrium Asset Pricing , 2001 .

[26]  M. Dempster,et al.  A real-time adaptive trading system using genetic programming , 2001 .

[27]  Jiah-Shing Chen,et al.  Dynamic proportion portfolio insurance using genetic programming with principal component analysis , 2008, Expert Syst. Appl..

[28]  Josef Lakonishok,et al.  Institutional Equity Trading Costs: NYSE Versus Nasdaq , 1997 .

[29]  B. Jacobsen,et al.  Technical Market Indicators: An Overview , 2014 .

[30]  Andrei Shleifer,et al.  Good News for Value Stocks: Further Evidence on Market Efficiency , 1995 .

[31]  Malcolm P. Baker,et al.  Global, Local, and Contagious Investor Sentiment , 2009 .

[32]  Chenchuramaiah T. Bathala Giving Content to Investor Sentiment: The Role of Media in the Stock Market , 2007 .

[33]  Gautam Mitra,et al.  Equity portfolio risk estimation using market information and sentiment , 2009 .

[34]  Andrew W. Lo,et al.  Managing real‐time risks and returns: The Thomson Reuters NewsScope Event Indices , 2012 .

[35]  Tadeusz M. Szuba,et al.  Computational Collective Intelligence , 2001, Lecture Notes in Computer Science.

[36]  Ying Wah Teh,et al.  Text mining of news-headlines for FOREX market prediction: A Multi-layer Dimension Reduction Algorithm with semantics and sentiment , 2015, Expert Syst. Appl..

[37]  John R. Koza,et al.  Genetic programming - on the programming of computers by means of natural selection , 1993, Complex adaptive systems.

[38]  Wolfgang Banzhaf,et al.  Genetic Programming: An Introduction , 1997 .

[39]  Weiguo Zhang,et al.  An evolutionary trend reversion model for stock trading rule discovery , 2015, Knowl. Based Syst..

[40]  Teck-Hua Ho,et al.  Introduction to the Special Issue on Behavioral Economics and Finance , 2012, Manag. Sci..

[41]  Michael T. Cliff,et al.  Investor Sentiment and Asset Valuation , 2001 .

[42]  L. Smales,et al.  News Sentiment and the Investor Fear Gauge , 2014 .

[43]  Kalok Chan,et al.  The profitability of technical trading rules in the Asian stock markets , 1995 .

[44]  P. Gloor,et al.  Predicting Stock Market Indicators Through Twitter “I hope it is not as bad as I fear” , 2011 .

[45]  Nirmalie Wiratunga,et al.  Domain-Based Lexicon Enhancement for Sentiment Analysis , 2013, SMA@BCS-SGAI.

[46]  Akitoshi Ito,et al.  Profits on technical trading rules and time-varying expected returns: evidence from Pacific-Basin equity markets , 1999 .

[47]  P ? ? ? ? ? ? ? % ? ? ? ? , 1991 .

[48]  A. Shleifer,et al.  Inefficient Markets: An Introduction to Behavioral Finance , 2002 .

[49]  Andrew W. Lo,et al.  Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation , 2000 .

[50]  Adam V. Reed,et al.  How are Shorts Informed? Short Sellers, News, and Information Processing , 2012 .

[51]  Xiaodi Zhu,et al.  An Empirical Study of the Financial Community Network on Twitter , 2013 .

[52]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[53]  Diego García Sentiment During Recessions , 2012 .

[54]  Alexander Kurov,et al.  Investor Sentiment and the Stock Market’s Reaction to Monetary Policy , 2009 .

[55]  J. Wilder New Concepts in Technical Trading Systems , 1978 .

[56]  Fatih Yilmaz,et al.  A momentum trading strategy based on the low frequency component of the exchange rate. , 2009 .

[57]  Sofus A. Macskassy,et al.  More than Words: Quantifying Language to Measure Firms' Fundamentals the Authors Are Grateful for Assiduous Research Assistance from Jie Cao and Shuming Liu. We Appreciate Helpful Comments From , 2007 .

[58]  H. Stanley,et al.  Quantifying Trading Behavior in Financial Markets Using Google Trends , 2013, Scientific Reports.