Skip to main content

Evaluating a Simple String Representation for Intra-day Foreign Exchange Prediction

  • Conference paper
  • First Online:
New Frontiers in Mining Complex Patterns (NFMCP 2015)

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

Included in the following conference series:

  • 527 Accesses

Abstract

This paper presents a simple string representation for hourly foreign exchange data and evaluates the performance of a trading strategy derived from it. We make use of a natural discretisation of the time-series based on arbitrary partitioning of the real valued hourly returns to create an alphabet and combine these individual characters to construct a string. The trading decision for each string is learnt in an incremental manner and is thus subject to temporal fluctuations. This naive representation and strategy is compared to the support vector machine, a popular machine learning algorithm for financial time series prediction, that is able to make use of the continuous form of past prices and complex kernel representations. Our extensive experiments show that the simple string representation is capable of outperforming these more exotic approaches, whilst supporting the idea that when it comes to working in high noise environments often the simplest approach is the most effective.

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 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

Institutional subscriptions

Notes

  1. 1.

    An extension of the original SVM that penalises the slack variables according to their squared value.

  2. 2.

    Technical indicators are best described as rule-based evaluations of the underlying time series where their mathematical formulae is not based on statistical theory but on an expert’s domain knowledge instead.

References

  1. Tay, F.E.H., Cao, L.: Application of support vector machines in financial time series forecasting. Omega 29, 309–317 (2001)

    Article  Google Scholar 

  2. Kim, K.J.: Financial time series forecasting using support vector machines. Neurocomputing 55, 307–319 (2003)

    Article  Google Scholar 

  3. Van Gestel, T., Suykens, J.A.K., Baestaens, D.E., Lambrechts, A., Lanckriet, G., Vandaele, B., De Moor, B., Vandewalle, J.: Financial time series prediction using least squares support vector machines within the evidence framework. Neural Netw. 12, 809–821 (2001)

    Article  Google Scholar 

  4. Cao, L.J., Tay, F.E.H.: Support vector machine with adaptive parameters in financial time series forecasting. Neural Netw. 14, 1506–1518 (2003)

    Article  Google Scholar 

  5. Perez-Cruz, F., Afonso-Rodriguez, J.A., Giner, J.: Estimating GARCH models using support vector machines. Quant. Finan. 3, 163–172 (2003)

    Article  MathSciNet  Google Scholar 

  6. Hossain, A., Nasser, M.: Reccurent support and relevance vector machines based model with applications to forecasting volatility of financial returns. J. Intell. Learn. Syst. Appl. 3, 230–241 (2011)

    Google Scholar 

  7. Ou, P., Wang, H.: Financial volatility forecasting by least square support vector machine based on GARCH, EGARCH and GJR models: evidence from ASEAN stock markets. Int. J. Econ. Finan. 2, 51–64 (2010)

    Google Scholar 

  8. Khan, A.I.: Financial volatility forecasting by nonlinear support vector machine heterogeneous autoregressive model: evidence from NIKKEI225 stock index. Int. J. Econ. Finan. 3, 138–150 (2011)

    Google Scholar 

  9. Armstrong, J.S., Adya, M., Collopy, F.: Rule-Based Forecasting: Using Judgment in Time-Series Extrapolation. Kluwer Academic Publishers, Norwell (2001)

    Google Scholar 

  10. Shawe-Taylor, J., Cristianini, N.: Kernel Methods for Pattern Analysis Infrastructure. Cambridge University Press, New York (2004)

    Book  Google Scholar 

  11. Lodhi, H., Saunders, C., Shawe-Taylor, J., Cristianini, N., Watkins, C.: Text classification using string kernels. J. Mach. Learn. Res. 2, 419–444 (2002)

    MATH  Google Scholar 

  12. Liu, B., Wang, X., Lin, L., Dong, Q., Wang, X.: A discriminative method for protein remote homology detection and fold recognition combining top-n-grams and latent semantic analysis. BMC Bioinf. 9, 510 (2008)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Simon Cousins or Blaž Žličar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Cousins, S., Žličar, B. (2016). Evaluating a Simple String Representation for Intra-day Foreign Exchange Prediction. In: Ceci, M., Loglisci, C., Manco, G., Masciari, E., Ras, Z. (eds) New Frontiers in Mining Complex Patterns. NFMCP 2015. Lecture Notes in Computer Science(), vol 9607. Springer, Cham. https://doi.org/10.1007/978-3-319-39315-5_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-39315-5_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-39314-8

  • Online ISBN: 978-3-319-39315-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics