Case based reasoning approach for transaction outcomes prediction on currency markets

This paper presents a case based reasoning approach for making profit in the foreign exchange (forex) market with controlled risk using k nearest neighbour (kNN) and improving on the results with neural networks (NNs) and a combination of both. Although many professionals have proven that exchange rates can be forecast using neural networks for example, poor trading strategies and unpredictable market fluctuation can inevitably still result in substantial loss. As a result, the method proposed in this paper will focus on predicting the outcome of potential trades with fixed stop loss (ST) and take profit (TP) positions1, in terms of a win or loss. With the help of the Monte Carlo method, randomly generated trades together with different traditional technical indicators are fed into the models, resulting in a win or lose output. This is clearly a case based reasoning approach, in terms of searching similar past trade setups for selecting successful trades. There are several advantages over classical forecasting associated with such an approach, and the technique presented in this paper brings a novel perspective to problem of exchange trades predictability. The strategies implemented have not been empirically investigated with such wide a range of time granularities as is done in this paper, in any to the authors known academic literature. The profitability of this approach is back-tested at the end of this paper and highly encouraging results are reported.

[1]  Jack D. Schwager The New Market Wizards: Conversations with America's Top Traders , 1992 .

[2]  G. Williams Chaos theory tamed , 1997 .

[3]  A. Lo Market efficiency from an evolutionary perspective. , 2004 .

[4]  Thomas Hellström,et al.  A random walk through the stock market , 1998 .

[5]  Mark Rubinstein,et al.  Rational Markets: Yes or No? The Affirmative Case , 2000 .

[6]  Jack D. Schwager Market Wizards: Interviews with Top Traders , 1988 .

[7]  Sameer Singh,et al.  Developing trading strategies based on risk-analysis of stocks , 2007 .

[8]  Jack D. Schwager Stock Market Wizards: Interviews with America's Top Stock Traders , 2001 .

[9]  M. Osborne Brownian Motion in the Stock Market , 1959 .

[10]  T. Hellström,et al.  Predicting the Stock Market , 1998 .

[11]  Shih-yu Shen,et al.  On stop-loss strategies for stock investments , 2001, Appl. Math. Comput..

[12]  Edgar E. Peters Fractal Market Analysis: Applying Chaos Theory to Investment and Economics , 1994 .

[13]  A. Refenes Neural Networks in the Capital Markets , 1994 .

[15]  M. Rubinstein.,et al.  Rational Markets: Yes or No? The Affirmative Case , 2006 .

[16]  C. Osler,et al.  Stop-Loss Orders and Price Cascades in Currency Markets , 2002 .

[17]  Jimmy Shadbolt,et al.  Neural Networks and the Financial Markets: "Predicting, Combining And Portfolio Optimisation" , 2002 .

[18]  G. Caginalp,et al.  The Predictive Power of Price Patterns , 1998 .

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

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

[21]  A. Garliauskas,et al.  Neural network chaos and computational algorithms of forecast in finance , 1999, IEEE SMC'99 Conference Proceedings. 1999 IEEE International Conference on Systems, Man, and Cybernetics (Cat. No.99CH37028).

[22]  Jingtao Yao,et al.  A case study on using neural networks to perform technical forecasting of forex , 2000, Neurocomputing.

[23]  Peter E. Hart,et al.  Nearest neighbor pattern classification , 1967, IEEE Trans. Inf. Theory.

[24]  John J. Murphy,et al.  The Visual Investor: How to Spot Market Trends , 1996 .

[25]  E. Fama Random Walks in Stock Market Prices , 1965 .

[26]  P. A. Blight The Analysis of Time Series: An Introduction , 1991 .

[27]  Mark S. Rzepczynski Neural Networks in Finance: Gaining Predictive Edge in the Markets (a review) , 2007 .

[28]  J. Kamruzzaman,et al.  Forecasting of currency exchange rates using ANN: a case study , 2003, International Conference on Neural Networks and Signal Processing, 2003. Proceedings of the 2003.

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

[30]  E. Michael Azoff,et al.  Neural Network Time Series: Forecasting of Financial Markets , 1994 .

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

[32]  S. Delurgio Forecasting Principles and Applications , 1998 .

[33]  Ming-Shiun Pan,et al.  Industry momentum strategies and autocorrelations in stock returns , 2004 .

[34]  David Hsieh Chaos and Nonlinear Dynamics: Application to Financial Markets , 1991 .

[35]  Edgar E. Peters Chaos and Order in the Capital Markets: A New View of Cycles, Prices, and Market Volatility , 1996 .

[36]  A. Lo,et al.  Stock Market Prices Do Not Follow Random Walks: Evidence from a Simple Specification Test , 1987 .

[37]  Josef Lakonishok,et al.  Momentum Strategies , 1995 .

[38]  Thierry Foucault,et al.  Order flow composition and trading costs in a dynamic limit order market 1 I am grateful to Bruno Bi , 1999 .

[39]  Stefan Zemke,et al.  Data mining for prediction - financial series case , 2003 .

[40]  Ana L. C. Bazzan,et al.  Balancing Training Data for Automated Annotation of Keywords: a Case Study , 2003, WOB.

[41]  A. Lo The Adaptive Markets Hypothesis , 2004 .