IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v33y2009i2p131-154.html
   My bibliography  Save this article

Measuring the Efficiency of the Intraday Forex Market with a Universal Data Compression Algorithm

Author

Listed:
  • Armin Shmilovici
  • Yoav Kahiri
  • Irad Ben-Gal
  • Shmuel Hauser

Abstract

The Efficient Market Hypothesis (EMH) states that the current market price fully reflects all available information. The weak form of the EMH considers only past price data and rules out predictions based on the price data only. The prices follow a random walk, where successive changes have zero correlation. Universal coding methods were developed within the context of coding theory to compress a data sequence without any prior assumptions about the statistics of the generating process. The universal coding algorithms - typically used for file compression - constructs a model of the data that will be used for coding it in a less redundant representation. Connection between compressibility and predictability exists in the sense that sequences, which are compressible, are easy to predict and conversely, incompressible sequences are hard to predict. Here we use the context tree algorithm of Rissanen which can be used to compress even relatively short data sets - like the ones available from economic time series. The weak form of the EMH is tested for one year for 12 pairs of international intra-day currency exchange rates. The currencies are described in table 1. The intra-day currency exchange rates were encoded for series of 1,5,10,15,20,25 and 30 minutes to a tri-nary string indicating a {low, stable, high} trend. Statistically significant compression is detected in all the time-series. A simulation of opening and closing positions demonstrated no profit beyond the commission for the intra-day trade. Our conclusion is that though the context tree is a useful tool for forecasting time series, the Forex market is efficient most of the time, and the short periods of inefficiency are not sufficient generating excess profit.
(This abstract was borrowed from another version of this item.)

Suggested Citation

  • Armin Shmilovici & Yoav Kahiri & Irad Ben-Gal & Shmuel Hauser, 2009. "Measuring the Efficiency of the Intraday Forex Market with a Universal Data Compression Algorithm," Computational Economics, Springer;Society for Computational Economics, vol. 33(2), pages 131-154, March.
  • Handle: RePEc:kap:compec:v:33:y:2009:i:2:p:131-154
    DOI: 10.1007/s10614-008-9153-3
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1007/s10614-008-9153-3
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1007/s10614-008-9153-3?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to look for a different version below or search for a different version of it.

    Other versions of this item:

    References listed on IDEAS

    as
    1. Mohsen Bahmani-Oskooee & Ali M. Kutan & Su Zhou, 2008. "Do Real Exchange Rates Follow a Nonlinear Mean Reverting Process in Developing Countries," Southern Economic Journal, John Wiley & Sons, vol. 74(4), pages 1049-1062, April.
    2. Ryan Sullivan & Allan Timmermann & Halbert White, 1999. "Data‐Snooping, Technical Trading Rule Performance, and the Bootstrap," Journal of Finance, American Finance Association, vol. 54(5), pages 1647-1691, October.
    3. LeBaron, Blake, 1999. "Technical trading rule profitability and foreign exchange intervention," Journal of International Economics, Elsevier, vol. 49(1), pages 125-143, October.
    4. Schwert, G. William, 2003. "Anomalies and market efficiency," Handbook of the Economics of Finance, in: G.M. Constantinides & M. Harris & R. M. Stulz (ed.), Handbook of the Economics of Finance, edition 1, volume 1, chapter 15, pages 939-974, Elsevier.
    5. Kaashoek, Johan F & van Dijk, Herman K, 2002. "Neural Network Pruning Applied to Real Exchange Rate Analysis," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 21(8), pages 559-577, December.
    6. Alan M. Taylor & Mark P. Taylor, 2004. "The Purchasing Power Parity Debate," Journal of Economic Perspectives, American Economic Association, vol. 18(4), pages 135-158, Fall.
    7. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    8. Fama, Eugene F, 1991. "Efficient Capital Markets: II," Journal of Finance, American Finance Association, vol. 46(5), pages 1575-1617, December.
    9. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    10. Chee-Keong Choong & Wai-Ching Poon & Muzafar Shah Habibullah & Zulkornain Yusop, 2003. "The Validity of PPP Theory in ASEAN-Five: Another Look on Cointegration and Panel Data Analysis," International Trade 0309018, University Library of Munich, Germany.
    11. repec:pri:cepsud:91malkiel is not listed on IDEAS
    12. Jaehun Chung & Yongmiao Hong, 2007. "Model-free evaluation of directional predictability in foreign exchange markets," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 22(5), pages 855-889.
    13. Taylor, Mark P. & Allen, Helen, 1992. "The use of technical analysis in the foreign exchange market," Journal of International Money and Finance, Elsevier, vol. 11(3), pages 304-314, June.
    14. Fama, Eugene F., 1998. "Market efficiency, long-term returns, and behavioral finance," Journal of Financial Economics, Elsevier, vol. 49(3), pages 283-306, September.
    15. Alan M. Taylor & Mark P. Taylor, 2004. "The Purchasing Power Parity Debate," Journal of Economic Perspectives, American Economic Association, vol. 18(4), pages 135-158, Fall.
    16. Jensen, Michael C., 1978. "Some anomalous evidence regarding market efficiency," Journal of Financial Economics, Elsevier, vol. 6(2-3), pages 95-101.
    17. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 59-82, Winter.
    18. Christopher J. Neely, 1997. "Technical analysis in the foreign exchange market: a layman's guide," Review, Federal Reserve Bank of St. Louis, issue Sep, pages 23-38.
    19. Ching-Wei Tan, 1999. "Estimating the Complexity Function of Financial Time Series: An Estimation Based on Predictive Stochastic Complexity," Computing in Economics and Finance 1999 1143, Society for Computational Economics.
    20. Boero, Gianna & Marrocu, Emanuela, 2002. "The Performance of Non-linear Exchange Rate Models: A Forecasting Comparison," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 21(7), pages 513-542, November.
    21. Gençay, Ramazan & Dacorogna, Michel & Muller, Ulrich A. & Pictet, Olivier & Olsen, Richard, 2001. "An Introduction to High-Frequency Finance," Elsevier Monographs, Elsevier, edition 1, number 9780122796715.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Lucio Maria Calcagnile & Fulvio Corsi & Stefano Marmi, 2016. "Entropy and efficiency of the ETF market," Papers 1609.04199, arXiv.org.
    2. J. C. Garza Sepúlveda & F. Lopez-Irarragorri & S. E. Schaeffer, 2023. "Forecasting Forex Trend Indicators with Fuzzy Rough Sets," Computational Economics, Springer;Society for Computational Economics, vol. 62(1), pages 229-287, June.
    3. Tokár, T. & Horváth, D., 2012. "Market inefficiency identified by both single and multiple currency trends," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 391(22), pages 5620-5627.
    4. Luís Lobato Macedo & Pedro Godinho & Maria João Alves, 2020. "A Comparative Study of Technical Trading Strategies Using a Genetic Algorithm," Computational Economics, Springer;Society for Computational Economics, vol. 55(1), pages 349-381, January.
    5. Panagiotis Papaioannnou & Lucia Russo & George Papaioannou & Constantinos Siettos, 2013. "Can social microblogging be used to forecast intraday exchange rates?," Papers 1310.5306, arXiv.org.
    6. Indranil Ghosh & Tamal Datta Chaudhuri, 2017. "Fractal Investigation and Maximal Overlap Discrete Wavelet Transformation (MODWT)-based Machine Learning Framework for Forecasting Exchange Rates," Studies in Microeconomics, , vol. 5(2), pages 105-131, December.
    7. Brandouy, Olivier & Delahaye, Jean-Paul & Ma, Lin & Zenil, Hector, 2014. "Algorithmic complexity of financial motions," Research in International Business and Finance, Elsevier, vol. 30(C), pages 336-347.
    8. Lucio Maria Calcagnile & Fulvio Corsi & Stefano Marmi, 2020. "Entropy and Efficiency of the ETF Market," Computational Economics, Springer;Society for Computational Economics, vol. 55(1), pages 143-184, January.
    9. Shmilovici Armin & Ben-Gal Irad, 2012. "Predicting Stock Returns Using a Variable Order Markov Tree Model," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 16(5), pages 1-33, December.
    10. Panagiotis Papaioannou & Lucia Russo & George Papaioannou & Constantinos Siettos, 2013. "Can social microblogging be used to forecast intraday exchange rates?," Netnomics, Springer, vol. 14(1), pages 47-68, November.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Park, Cheol-Ho & Irwin, Scott H., 2004. "The Profitability Of Technical Trading Rules In Us Futures Markets: A Data Snooping Free Test," 2004 Conference, April 19-20, 2004, St. Louis, Missouri 19011, NCR-134 Conference on Applied Commodity Price Analysis, Forecasting, and Market Risk Management.
    2. Lukas Menkhoff & Mark P. Taylor, 2007. "The Obstinate Passion of Foreign Exchange Professionals: Technical Analysis," Journal of Economic Literature, American Economic Association, vol. 45(4), pages 936-972, December.
    3. Shmilovici Armin & Ben-Gal Irad, 2012. "Predicting Stock Returns Using a Variable Order Markov Tree Model," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 16(5), pages 1-33, December.
    4. Jaehun Chung & Yongmiao Hong, 2007. "Model-free evaluation of directional predictability in foreign exchange markets," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 22(5), pages 855-889.
    5. Ashok Chanabasangouda Patil & Shailesh Rastogi, 2019. "Time-Varying Price–Volume Relationship and Adaptive Market Efficiency: A Survey of the Empirical Literature," JRFM, MDPI, vol. 12(2), pages 1-18, June.
    6. repec:wyi:journl:002068 is not listed on IDEAS
    7. Stefanescu, Razvan & Dumitriu, Ramona, 2016. "Particularitǎţi ale evoluţiei variabilelor financiare [Some particularities of the financial variables evolution]," MPRA Paper 73481, University Library of Munich, Germany, revised 02 Sep 2016.
    8. Qianwei Ying & Tahir Yousaf & Qurat ul Ain & Yasmeen Akhtar & Muhammad Shahid Rasheed, 2019. "Stock Investment and Excess Returns: A Critical Review in the Light of the Efficient Market Hypothesis," JRFM, MDPI, vol. 12(2), pages 1-22, June.
    9. Cheol‐Ho Park & Scott H. Irwin, 2007. "What Do We Know About The Profitability Of Technical Analysis?," Journal of Economic Surveys, Wiley Blackwell, vol. 21(4), pages 786-826, September.
    10. Kamal, Mona, 2014. "Studying the Validity of the Efficient Market Hypothesis (EMH) in the Egyptian Exchange (EGX) after the 25th of January Revolution," MPRA Paper 54708, University Library of Munich, Germany.
    11. Stephan Schulmeister, 2009. "Technical Trading and Trends in the Dollar-Euro Exchange Rate," WIFO Studies, WIFO, number 37582, April.
    12. Alagidede, Paul, 2011. "Return behaviour in Africa's emerging equity markets," The Quarterly Review of Economics and Finance, Elsevier, vol. 51(2), pages 133-140, May.
    13. Christopher R. Stephens & Harald A. Benink & José Luís Gordillo & Juan Pablo Pardo-Guerra, 2021. "A New Measure of Market Inefficiency," JRFM, MDPI, vol. 14(6), pages 1-22, June.
    14. Marianna Brunetti & Roberta De Luca, 2021. "Pairs Trading In The Index Options Market," CEIS Research Paper 512, Tor Vergata University, CEIS, revised 02 Sep 2021.
    15. Roland Rothenstein, 2018. "Quantification of market efficiency based on informational-entropy," Papers 1812.02371, arXiv.org.
    16. Akber, Ushna & Muhammad, Nabeel, 2013. "Is Pakistan Stock Market moving towards Weak-form efficiency? Evidence from the Karachi Stock Exchange and the Random Walk Nature of free-float of shares of KSE 30 Index," MPRA Paper 49128, University Library of Munich, Germany.
    17. Jürgen Huber & Michael Kirchler, 2013. "Corporate campaign contributions and abnormal stock returns after presidential elections," Public Choice, Springer, vol. 156(1), pages 285-307, July.
    18. Mikio Ito & Akihiko Noda & Tatsuma Wada, 2016. "The evolution of stock market efficiency in the US: a non-Bayesian time-varying model approach," Applied Economics, Taylor & Francis Journals, vol. 48(7), pages 621-635, February.
    19. Thomas Holtfort, 2019. "From standard to evolutionary finance: a literature survey," Management Review Quarterly, Springer, vol. 69(2), pages 207-232, June.
    20. Thomas Delcey & Francesco Sergi, 2019. "The Efficient Market Hypothesis and Rational Expectations. How Did They Meet and Live (Happily?) Ever After," Working Papers hal-02187362, HAL.
    21. Stéphane Goutte & David Guerreiro & Bilel Sanhaji & Sophie Saglio & Julien Chevallier, 2019. "International Financial Markets," Post-Print halshs-02183053, HAL.

    More about this item

    Keywords

    Efficient Market Hypothesis; Universal prediction; Forex Intra-day trading; Variable Order Markov; G14; C22; C53; C49; C63; 62P05; 91B84; 62M20;
    All these keywords.

    JEL classification:

    • B23 - Schools of Economic Thought and Methodology - - History of Economic Thought since 1925 - - - Econometrics; Quantitative and Mathematical Studies
    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:kap:compec:v:33:y:2009:i:2:p:131-154. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.