Useful Pattern Mining on Time Series - Applications in the Stock Market

Nikitas Goumatianos, Ioannis T. Christou, Peter Lindgren

2013

Abstract

We present the architecture of a “useful pattern” mining system that is capable of detecting thousands of different candlestick sequence patterns at the tick or any higher granularity levels. The system architecture is highly distributed and performs most of its highly compute-intensive aggregation calculations as complex but efficient distributed SQL queries on the relational databases that store the time-series. We present initial results from mining all frequent candlestick sequences with the characteristic property that when they occur then, with an average at least 60% probability, they signal a 2% or higher increase (or, alternatively, decrease) in a chosen property of the stock (e.g. close-value) within a given time-window (e.g. 5 days). Initial results from a first prototype implementation of the architecture show that after training on a large set of stocks, the system is capable of finding a significant number of candlestick sequences whose output signals (measured against an unseen set of stocks) have predictive accuracy which varies between 60% and 95% depended on the type of pattern.

References

  1. Alexander, S. S., 1961. Price movements in speculative markets: trends or random walks, Ind. Mgmt. Rev., vol.2, pp. 7-26.
  2. Bessembinder H. and K. Chan, 1995. The profitability of technical trading rules in the asian stock markets, PacBas. Fin. J., 3(2-3):257-284.
  3. Bessembinder, H., Chan, K., 1998. Market efficiency and the returns to technical analysis, Fin. Mgmt. 27:5-17.
  4. Brock, W., Lakonishok, J., LeBaron, B., 1992. Simple technical trading rules and the stochastic properties of stock returns, J. of Fin., 47:1731-1764.
  5. Bulkowski, T. N., 2008. Encyclopedia of Candlestick Charts .2nd ed. John Wiley & Sons, Hoboken, NJ.
  6. Chien, Y.-W. C., Chen, Y.-L., 2010. Mining associative classification rules with stock trading data - a GAbased method. Knowl.-bas. Sys., 23:605-614.
  7. Constantinides, G. M., Harris, M., Stulz, R., 2003. Handbook of the Economics of Finance. 1st ed. Elsevier, Amsterdam.
  8. Fama, E. F., 1970. Efficient capital markets: A review of theory and empirical work, J. of Fin., 25:383-417.
  9. Gagilalp, G., Laurent, H., 1998. The predictive power of price patterns. App. Math. Fin. 5:181-205
  10. Jensen M. C., Bennington, G. A., 1970. Random walks and technical theories: Some additional evidence, J. of Fin., 25(2):469-482.
  11. Lee, K. H., Jo, G. S., 1999. Expert system for predicting stock market timing using a candlestick chart. Exp. Sys. Appl. 16:257-364.
  12. Marshall, B. R., Young, M. R., Rose, L. C., 2006. Candlestick technical trading strategies: can they create value for investors? J. Bank. Fin. 30:2303-2323.
  13. Lo, A. W., Mamaysky, H., Wang, J., 2000. Foundations of technical analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation, J. of Fin., 55:1705 - 1770.
  14. Pruitt S.W., White, R.E. 1988. The crisma trading system: who says technical analysis can't beat the market? J. of Portf. Mgmt. 14:55-58.
  15. Sheng, Y. P., Hou W. C., Chen, Z. 2006. Mining for profitable patterns in the stock market. In: Encyclopaedia of Data Warehousing and Mining, Idea Group Inc, 2006
  16. Zhang et al., 2010. A real-time hybrid pattern matching scheme for stock time series. Proc. 21st Australasian Conf. on Database Technologies 104:161-170.
  17. Zvi Bodie, Kane A., Marcus A. J., 2009. Investments. 8th ed. McGraw-Hill/Irwin, NY, NY.
Download


Paper Citation


in Harvard Style

Goumatianos N., T. Christou I. and Lindgren P. (2013). Useful Pattern Mining on Time Series - Applications in the Stock Market . In Proceedings of the 2nd International Conference on Pattern Recognition Applications and Methods - Volume 1: ICPRAM, ISBN 978-989-8565-41-9, pages 608-612. DOI: 10.5220/0004334106080612


in Bibtex Style

@conference{icpram13,
author={Nikitas Goumatianos and Ioannis T. Christou and Peter Lindgren},
title={Useful Pattern Mining on Time Series - Applications in the Stock Market},
booktitle={Proceedings of the 2nd International Conference on Pattern Recognition Applications and Methods - Volume 1: ICPRAM,},
year={2013},
pages={608-612},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004334106080612},
isbn={978-989-8565-41-9},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 2nd International Conference on Pattern Recognition Applications and Methods - Volume 1: ICPRAM,
TI - Useful Pattern Mining on Time Series - Applications in the Stock Market
SN - 978-989-8565-41-9
AU - Goumatianos N.
AU - T. Christou I.
AU - Lindgren P.
PY - 2013
SP - 608
EP - 612
DO - 10.5220/0004334106080612