Skip to main content

Customized Decision Tree for Fast Multi-resolution Chart Patterns Classification

  • Conference paper
  • First Online:
  • 1940 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 12274))

Abstract

Given the advancement in algorithmic trading, the needs for real-time monitoring of patterns and execution of trades in stock exchanges become increasing important for investors. However, real-time monitoring of patterns from a vast number of markets become inefficient when tens of thousands of time series are required to be processed. In order to alleviate these problems, we propose a novel approach called Multi-resolution Chart Patterns Classification (FMCPC) based on a decision tree. In the proposed approach, a Customized Decision Tree (CDT) is built for pattern matching. CDT starts with a detailed analysis of known patterns. CDT then forms generalizations of these examples by identifying commonalities for designing decision rules. To evaluate our approach, experiments are conducted on the real datasets containing 2,527,800 data points from 19,150 stocks across top 10 Exchanges in the world. Our results reveal that FMCPC with CDT can effectively identify the chart patterns within 1 min.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Learn about institutional subscriptions

Notes

  1. 1.

    j is determined when S is generated by Algorithm 1.

  2. 2.

    Due to the space limitation, they cannot be enlarged. The main purpose of including these figures is to highlight the differences in tree structure.

References

  1. Bulkowski, T.N.: Encyclopedia of Chart Patterns, 2nd edn. Wiley (2005)

    Google Scholar 

  2. Chung, F.L., Fu, T.C., Luk, R., Ng, V.: Flexible time series pattern matching based on perceptually important points. In: Proceedings of the Workshop on Learning from Temporal and Spatial Data, pp. 1–7 (2001)

    Google Scholar 

  3. Desjardins, J.: The 20 largest stock exchanges in the world (2017). https://www.visualcapitalist.com/20-largest-stock-exchanges-world/. Accessed 19 Apr 2019

  4. The World Federation of Exchanges: Welcome to the future of markets (2019). https://www.world-exchanges.org/. Accessed 19 Apr 2019

  5. Fu, T.C., Chung, F.L., Luk, R., Ng, C.M.: Stock time series pattern matching: template-based vs. rule-based approaches. Eng. Appl. Artif. Intell. 20(3), 347–364 (2007)

    Article  Google Scholar 

  6. Fu, T.C., Chung, F.L., Luk, R., Ng, C.M.: Representing financial time series based on data point importance. Eng. Appl. Artif. Intell. 21(2), 277–300 (2008)

    Article  Google Scholar 

  7. Hu, Y., Jiang, Z., Zhan, P., Zhang, Q., Ding, Y., Li, X.: A novel multi-resolution representation for streaming time series. Procedia Comput. Sci. 129, 178–184 (2018)

    Article  Google Scholar 

  8. Keogh, E., Chu, S., Hart, D., Pazzani, M.: An online algorithm for segmenting time series. In: Proceedings 2001 IEEE International Conference on Data Mining, pp. 289–296. IEEE (2001)

    Google Scholar 

  9. Keogh, E.J., Pazzani, M.J.: A simple dimensionality reduction technique for fast similarity search in large time series databases. In: Terano, T., Liu, H., Chen, A.L.P. (eds.) PAKDD 2000. LNCS (LNAI), vol. 1805, pp. 122–133. Springer, Heidelberg (2000). https://doi.org/10.1007/3-540-45571-X_14

    Chapter  Google Scholar 

  10. Keogh, E.J., Pazzani, M.J.: Derivative dynamic time warping. In: Proceedings of the 2001 SIAM International Conference on Data Mining, pp. 1–11. SIAM (2001)

    Google Scholar 

  11. Khan, T.A.: Cointegration of international stock markets: an investigation of diversification opportunities. Undergrad. Econ. Rev. 8(1), 7 (2011)

    Google Scholar 

  12. Kirkpatrick II, C.D., Dahlquist, J.A.: Technical Analysis: The Complete Resource for Financial Market Technicians. FT Press, Upper Saddle River (2010)

    Google Scholar 

  13. Meyers, T.: The Technical Analysis Course: Learn How to Forecast and Time the Market. McGraw Hill Professional, New York (2011)

    Google Scholar 

  14. Rakthanmanon, T., et al.: Searching and mining trillions of time series subsequences under dynamic time warping. In: Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 262–270. ACM (2012)

    Google Scholar 

  15. Shumway, R.H., Stoffer, D.S.: Time Series Analysis and Its Applications: With R Examples. Springer, Heidelberg (2017). https://doi.org/10.1007/978-3-319-52452-8

    Book  MATH  Google Scholar 

  16. Si, Y.W., Yin, J.: Obst-based segmentation approach to financial time series. Eng. Appl. Artif. Intell. 26(10), 2581–2596 (2013)

    Article  Google Scholar 

  17. Wan, Y., Gong, X., Si, Y.W.: Effect of segmentation on financial time series pattern matching. Appl. Soft Comput. 38, 346–359 (2016)

    Article  Google Scholar 

  18. Wan, Y., Si, Y.W.: A formal approach to chart patterns classification in financial time series. Inf. Sci. 411, 151–175 (2017)

    Article  Google Scholar 

  19. Wang, Y., Wang, Y.: A case-based reasoning-decision tree hybrid system for stock selection. World Acad. Sci. Eng. Technol. Int. J. Comput. Electr. Autom. Control Inf. Eng. 10(6), 1223–1229 (2016)

    Google Scholar 

Download references

Acknowledgment

This research was funded by University of Macau (File No. MYRG2019-00136-FST).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yain-Whar Si .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Sun, Q., Si, YW. (2020). Customized Decision Tree for Fast Multi-resolution Chart Patterns Classification. In: Li, G., Shen, H., Yuan, Y., Wang, X., Liu, H., Zhao, X. (eds) Knowledge Science, Engineering and Management. KSEM 2020. Lecture Notes in Computer Science(), vol 12274. Springer, Cham. https://doi.org/10.1007/978-3-030-55130-8_39

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-55130-8_39

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-55129-2

  • Online ISBN: 978-3-030-55130-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics