Skip to main content

Pattern Detection and Analysis in Financial Time Series Using Suffix Arrays

  • Chapter
  • First Online:
Book cover Financial Decision Making Using Computational Intelligence

Abstract

The current chapter focuses on data-mining techniques in exploring time series of financial data and more specifically of foreign exchange currency rates’ fluctuations. The data-mining techniques used attempt to analyze time series and extract, if possible, valuable information about pattern periodicity that might be hidden behind huge amount of unformatted and vague information. Such information is of great importance because it might be used to interpret correlations among different events regarding markets or even to forecast future behavior. In the present chapter a new methodology has been introduced to take advantage of suffix arrays in data mining instead of the commonly used data structure suffix trees. Although suffix arrays require high-storage capacity, in the proposed algorithm they can be constructed in linear time O(n) or O(nlogn) using an external database management system which allows better and faster results during analysis process. The proposed methodology is also extended to detect repeated patterns in time series with time complexity of O(nlogn). This along with the capability of external storage creates a critical advantage for an overall efficient data-mining analysis regarding construction of time series data structure and periodicity detection.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    www.bankofcanada.ca/rates/exchange/10-year-converter.

References

  1. A. Al-Rawi, A. Lansari, F. Bouslama, A new non-recursive algorithm for binary search tree traversal, in Proceedings of the 10th IEEE International Conference on Electronics, Circuits and Systems (IEEE Computer Society, Washington, DC, 2003), pp. 770–773

    Google Scholar 

  2. C.-F. Cheung, J.X. Yu, H. Lu, Constructing suffix tree for gigabyte sequences with megabyte memory. IEEE Trans. Knowl. Data Eng. 17(1), 90–105 (2005)

    Article  Google Scholar 

  3. M.G. Elfeky, W.G. Aref, A.K. Elmagarmid, Periodicity detection in time series databases. IEEE Trans. Knowl. Data Eng. 17(7), 875–887 (2005)

    Article  Google Scholar 

  4. M.G. Elfeky, W.G. Aref, A.K. Elmagarmid, WARP: time warping for periodicity detection, in Proceedings of the 5th IEEE International Conference on Data Mining (IEEE Computer Society, Washington, DC, 2005), pp. 138–145

    Google Scholar 

  5. F. Franek, W.F. Smyth, Y. Tang, Computing all repeats using suffix arrays. J. Automata Languages Combinatorics 8(4), 579–591 (2003)

    MathSciNet  MATH  Google Scholar 

  6. D. Gusfield, Algorithms on Strings, Trees, and Sequences (Cambridge University Press, New York, 1997)

    Book  MATH  Google Scholar 

  7. J. Han, Y. Yin, G. Dong, Efficient mining of partial periodic patterns in time series database, in Proceedings of the 15th International Conference on Data Engineering, ICDE ’99 (IEEE Computer Society, Washington, DC, 1999), p. 106

    Google Scholar 

  8. K.-Y. Huang, C.-H. Chang, SMCA: A general model for mining asynchronous periodic patterns in temporal databases. IEEE Trans. Knowl. Data Eng. 17(6), 774–785 (2005)

    Article  Google Scholar 

  9. J. Kärkkäinen, P. Sanders, S. Burkhardt, Linear work suffix array construction. J. ACM 53, 918–936 (2006)

    Article  Google Scholar 

  10. P. Ko, S. Aluru, Space efficient linear time construction of suffix arrays. J. Discrete Algorithm 3, 143–156 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  11. U. Manber, G. Myers, Suffix arrays: a new method for on-line string searches, in Proceedings of the 1st Annual ACM-SIAM Symposium on Discrete Algorithms (Society for Industrial and Applied Mathematics, Philadelphia, 1990), pp. 319–327

    Google Scholar 

  12. E.M. McCreight, A space-economical suffix tree construction algorithm. J. ACM 23(2), 262–272 (1976)

    Article  MathSciNet  MATH  Google Scholar 

  13. G. Navarro, R. Baeza-Yates, A new indexing method for approximate string matching, in Proceedings of the 10th Annual Symposium on Combinatorial Pattern Matching, ed. by G. Goos, J. Hartmanis, J. van Leeuwen, vol. 1645 of Lecture Notes in Computer Science (Springer, Berlin, 1999), pp. 163–185

    Google Scholar 

  14. G. Navarro, R. Baeza-Yates, A hybrid indexing method for approximate string matching. J. Discrete Algorithm 1(1), 205–239 (2000)

    MathSciNet  Google Scholar 

  15. F. Rasheed, R. Alhajj, Using suffix trees for periodicity detection in time series databases, in Proceedings of the 4th IEEE International Conference on Intelligent Systems, vol. 2, pp. 11/8–11/13, Varna, Bulgaria, 2008 Sept. 6–8

    Google Scholar 

  16. F. Rasheed, M. Alshalfa, R. Alhajj, Efficient periodicity mining in time series databases using suffix trees. IEEE Trans. Knowl. Data Eng. 22(20), 1–16 (2010)

    Google Scholar 

  17. K.B. Schürmann, J. Stoye, An incomplex algorithm for fast suffix array construction. Software Pract. Ex. 37(3), 309–329 (2007)

    Article  Google Scholar 

  18. C. Sheng, W. Hsu, M.-L. Lee, Efficient mining of dense periodic patterns in time series. Technical report, National University of Singapore, 2005. Technical report TR20/05

    Google Scholar 

  19. C. Sheng, W. Hsu, M.-L. Lee, Mining dense periodic patterns in time series data, in Proceedings of the 22nd International Conference on Data Engineering (IEEE Computer Society, Washington, DC, 2006), p. 115

    Google Scholar 

  20. W.F. Smyth, Computing periodicity in strings – a new approach, in Proceedings of the 16th Australasian Workshop on Combinatorial Algorithms, pp. 263–268, Victoria, Australia, 18–21 Sept 2005

    Google Scholar 

  21. Y. Tian, S. Tata, R.A. Hankins, J.M. Patel, Practical methods for constructing suffix trees. VLDB J. 14(3), 281–299 (2005)

    Article  Google Scholar 

  22. E. Ukkonen, Online construction of suffix trees. Algorithmica 14(3), 249–260 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  23. P. Weiner, Linear pattern matching algorithms, in Proceedings of the 14th Annual Symposium on Switching and Automata Theory (IEEE Computer Society, Washington, DC, 1973), pp. 1–11

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Panagiotis Karampelas .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer Science+Business Media New York

About this chapter

Cite this chapter

Xylogiannopoulos, K.F., Karampelas, P., Alhajj, R. (2012). Pattern Detection and Analysis in Financial Time Series Using Suffix Arrays. In: Doumpos, M., Zopounidis, C., Pardalos, P. (eds) Financial Decision Making Using Computational Intelligence. Springer Optimization and Its Applications, vol 70. Springer, Boston, MA. https://doi.org/10.1007/978-1-4614-3773-4_5

Download citation

Publish with us

Policies and ethics