IDEAS home Printed from https://ideas.repec.org/p/sce/scecfa/256.html
   My bibliography  Save this paper

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

Author

Listed:
  • Y. Kahiri

    (Ben-Gurion University)

  • A. Shmilovici

    (Ben-Gurion University)

  • S. Hauser

    (Ben-Gurion University)

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.

Suggested Citation

  • Y. Kahiri & A. Shmilovici & S. Hauser, 2006. "Measuring the Efficiency of the Intraday Forex Market with a Universal Data Compression Algorithm," Computing in Economics and Finance 2006 256, Society for Computational Economics.
  • Handle: RePEc:sce:scecfa:256
    as

    Download full text from publisher

    To our knowledge, this item is not available for download. To find whether it is available, there are three options:
    1. Check below whether another version of this item is available online.
    2. Check on the provider's web page whether it is in fact available.
    3. Perform a search for a similarly titled item that would be available.

    Other versions of this item:

    References listed on IDEAS

    as
    1. Fama, Eugene F., 1998. "Market efficiency, long-term returns, and behavioral finance," Journal of Financial Economics, Elsevier, vol. 49(3), pages 283-306, September.
    2. 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.
    3. 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.
    4. LeBaron, Blake, 1999. "Technical trading rule profitability and foreign exchange intervention," Journal of International Economics, Elsevier, vol. 49(1), pages 125-143, October.
    5. 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.
    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. 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.
    8. Jensen, Michael C., 1978. "Some anomalous evidence regarding market efficiency," Journal of Financial Economics, Elsevier, vol. 6(2-3), pages 95-101.
    9. 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.
    10. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    11. Fama, Eugene F, 1991. "Efficient Capital Markets: II," Journal of Finance, American Finance Association, vol. 46(5), pages 1575-1617, December.
    12. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    13. 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.
    14. 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.
    15. 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.
    16. 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.
    17. repec:pri:cepsud:91malkiel is not listed on IDEAS
    18. 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.
    19. 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.
    20. 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.
    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. 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.
    2. 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.
    3. Lucio Maria Calcagnile & Fulvio Corsi & Stefano Marmi, 2016. "Entropy and efficiency of the ETF market," Papers 1609.04199, arXiv.org.
    4. 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.
    5. 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.
    6. Panagiotis Papaioannnou & Lucia Russo & George Papaioannou & Constantinos Siettos, 2013. "Can social microblogging be used to forecast intraday exchange rates?," Papers 1310.5306, arXiv.org.
    7. 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.
    8. 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.
    9. 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.
    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. 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.
    10. Stephan Schulmeister, 2009. "Technical Trading and Trends in the Dollar-Euro Exchange Rate," WIFO Studies, WIFO, number 37582, Juni.
    11. 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.
    12. 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.
    13. 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.
    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. Chia-Lin Chang & Jukka Ilomäki & Hannu Laurila & Michael McAleer, 2018. "Long Run Returns Predictability and Volatility with Moving Averages," Risks, MDPI, vol. 6(4), pages 1-18, September.
    16. Taufiq Choudhry & Ranadeva Jayasekera, 2015. "Level of efficiency in the UK equity market: empirical study of the effects of the global financial crisis," Review of Quantitative Finance and Accounting, Springer, vol. 44(2), pages 213-242, February.
    17. Roland Rothenstein, 2018. "Quantification of market efficiency based on informational-entropy," Papers 1812.02371, arXiv.org.
    18. Ushna Akber & Nabeel Muhammad, 2014. "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," Asian Economic and Financial Review, Asian Economic and Social Society, vol. 4(6), pages 808-836, June.
    19. 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.
    20. Nunes, Mauro Fracarolli, 2018. "Supply chain contamination: An exploratory approach on the collateral effects of negative corporate events," European Management Journal, Elsevier, vol. 36(4), pages 573-587.
    21. 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.

    More about this item

    Keywords

    Efficient Market Hypothesis; Context Tree; Forex Intra-day Trading; Stochastic Complexity;
    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:sce:scecfa:256. 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: Christopher F. Baum (email available below). General contact details of provider: https://edirc.repec.org/data/sceeeea.html .

    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.