IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1402.1624.html
   My bibliography  Save this paper

Using Twitter to Model the EUR/USD Exchange Rate

Author

Listed:
  • Dietmar Janetzko

Abstract

Fast, global, and sensitively reacting to political, economic and social events of any kind, these are attributes that social media like Twitter share with foreign exchange markets. The leading assumption of this paper is that information which can be distilled from public debates on Twitter has predictive content for exchange rate movements. This assumption prompted a Twitter-based exchange rate model that harnesses regARIMA analyses for short-term out-of-sample ex post forecasts of the daily closing prices of EUR/USD spot exchange rates. The analyses used Tweet counts collected from January 1, 2012 - September 27, 2013. To identify concepts mentioned on Twitter with a predictive potential the analysis followed a 2-step selection. Firstly, a heuristic qualitative analysis assembled a long list of 594 concepts, e.g., Merkel, Greece, Cyprus, crisis, chaos, growth, unemployment expected to covary with the ups and downs of the EUR/USD exchange rate. Secondly, cross-validation using window averaging with a fixed-sized rolling origin was deployed to select concepts and corresponding univariate time series that had error scores below chance level as defined by the random walk model. With regard to a short list of 17 concepts (covariates), in particular SP (Standard & Poor's) and risk, the out-of-sample predictive accuracy of the Twitter-based regARIMA model was found to be repeatedly better than that obtained from both the random walk model and a random noise covariate in 1-step ahead forecasts of the EUR/USD exchange rate. This advantage was evident on the level of forecast error metrics (MSFE, MAE) when a majority vote over different estimation windows was conducted. The results challenge the semi-strong form of the efficient market hypothesis (Fama, 1970, 1991) which when applied to the FX market maintains that all publicly available information is already integrated into exchange rates.

Suggested Citation

  • Dietmar Janetzko, 2014. "Using Twitter to Model the EUR/USD Exchange Rate," Papers 1402.1624, arXiv.org.
  • Handle: RePEc:arx:papers:1402.1624
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/1402.1624
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Stracca, Livio, 2013. "The global effects of the euro debt crisis," Working Paper Series 1573, European Central Bank.
    2. Barbara Rossi, 2013. "Exchange Rate Predictability," Journal of Economic Literature, American Economic Association, vol. 51(4), pages 1063-1119, December.
    3. Grossman, Sanford J & Stiglitz, Joseph E, 1980. "On the Impossibility of Informationally Efficient Markets," American Economic Review, American Economic Association, vol. 70(3), pages 393-408, June.
    4. Nigar Hashimzade & Michael A. Thornton (ed.), 2013. "Handbook of Research Methods and Applications in Empirical Macroeconomics," Books, Edward Elgar Publishing, number 14327.
    5. Kilian, Lutz & Taylor, Mark P., 2003. "Why is it so difficult to beat the random walk forecast of exchange rates?," Journal of International Economics, Elsevier, vol. 60(1), pages 85-107, May.
    6. Geweke, John F & Feige, Edgar L, 1979. "Some Joint Tests of the Efficiency of Markets for Forward Foreign Exchange," The Review of Economics and Statistics, MIT Press, vol. 61(3), pages 334-341, August.
    7. repec:cup:cbooks:9780521485845 is not listed on IDEAS
    8. Michael R. King & Carol Osler & Dagfinn Rime, 2011. "Foreign exchange market structure, players and evolution," Working Paper 2011/10, Norges Bank.
    9. MacDonald, Ronald & Taylor, Mark P., 1994. "The monetary model of the exchange rate: long-run relationships, short-run dynamics and how to beat a random walk," Journal of International Money and Finance, Elsevier, vol. 13(3), pages 276-290, June.
    10. Fama, Eugene F, 1991. "Efficient Capital Markets: II," Journal of Finance, American Finance Association, vol. 46(5), pages 1575-1617, December.
    11. Aki-Hiro Sato & Hideki Takayasu, 2013. "Segmentation procedure based on Fisher's exact test and its application to foreign exchange rates," Papers 1309.0602, arXiv.org.
    12. Josef Falkinger, 2008. "Limited Attention as a Scarce Resource in Information-Rich Economies," Economic Journal, Royal Economic Society, vol. 118(532), pages 1596-1620, October.
    13. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    14. Hsien-Yi Lee & Khatanbaatar Sodoikhuu, 2012. "Efficiency Tests in Foreign Exchange Market," International Journal of Economics and Financial Issues, Econjournals, vol. 2(2), pages 216-224.
    15. Hyndman, Rob J. & Khandakar, Yeasmin, 2008. "Automatic Time Series Forecasting: The forecast Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i03).
    16. Lee, Tae-Hwy & White, Halbert & Granger, Clive W. J., 1993. "Testing for neglected nonlinearity in time series models : A comparison of neural network methods and alternative tests," Journal of Econometrics, Elsevier, vol. 56(3), pages 269-290, April.
    17. Hong, Yongmiao & Li, Haitao & Zhao, Feng, 2007. "Can the random walk model be beaten in out-of-sample density forecasts? Evidence from intraday foreign exchange rates," Journal of Econometrics, Elsevier, vol. 141(2), pages 736-776, December.
    18. Meese, Richard A. & Rogoff, Kenneth, 1983. "Empirical exchange rate models of the seventies : Do they fit out of sample?," Journal of International Economics, Elsevier, vol. 14(1-2), pages 3-24, February.
    19. Panagiotis Papaioannnou & Lucia Russo & George Papaioannou & Constantinos Siettos, 2013. "Can social microblogging be used to forecast intraday exchange rates?," Papers 1310.5306, arXiv.org.
    20. Paul Newbold & Toni Rayner & Neil Kellard & Christine Ennew, 1998. "Is the dollar/ECU exchange rate a random walk?," Applied Financial Economics, Taylor & Francis Journals, vol. 8(6), pages 553-558.
    21. 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.
    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. Damien Challet & Ahmed Bel Hadj Ayed, 2014. "Do Google Trend data contain more predictability than price returns?," Papers 1403.1715, arXiv.org.

    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. Dietmar Janetzko, 2014. "Predictive modeling in turbulent times – What Twitter reveals about the EUR/USD exchange rate," Netnomics, Springer, vol. 15(2), pages 69-106, September.
    2. Bertrand Maillet & Thierry Michel, 2000. "Further insights on the puzzle of technical analysis profitability," The European Journal of Finance, Taylor & Francis Journals, vol. 6(2), pages 196-224.
    3. Jian Wang & Jason J. Wu, 2012. "The Taylor Rule and Forecast Intervals for Exchange Rates," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 44(1), pages 103-144, February.
    4. Stijn Claessens & M Ayhan Kose, 2017. "Asset prices and macroeconomic outcomes: a survey," BIS Working Papers 676, Bank for International Settlements.
    5. Jian Wang & Jason J. Wu, 2012. "The Taylor Rule and Forecast Intervals for Exchange Rates," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 44(1), pages 103-144, February.
    6. Dick, Christian D. & Menkhoff, Lukas, 2013. "Exchange rate expectations of chartists and fundamentalists," Journal of Economic Dynamics and Control, Elsevier, vol. 37(7), pages 1362-1383.
    7. Stéphane Goutte & David Guerreiro & Bilel Sanhaji & Sophie Saglio & Julien Chevallier, 2019. "International Financial Markets," Post-Print halshs-02183053, HAL.
    8. Stijn Claessens & M Ayhan Kose, 2018. "Frontiers of macrofinancial linkages," BIS Papers, Bank for International Settlements, number 95.
    9. Hsu, Po-Hsuan & Taylor, Mark P. & Wang, Zigan & Li, Yan, 2024. "The out-of-sample performance of carry trades," Journal of International Money and Finance, Elsevier, vol. 143(C).
    10. Gaglianone, Wagner Piazza & Marins, Jaqueline Terra Moura, 2017. "Evaluation of exchange rate point and density forecasts: An application to Brazil," International Journal of Forecasting, Elsevier, vol. 33(3), pages 707-728.
    11. Xianfeng Jiang & Yongdong Shi, 2006. "The Impact of Insider Trading on the Secondary Market with Order-Driven System," Annals of Economics and Finance, Society for AEF, vol. 7(1), pages 129-143, May.
    12. Thomas Delcey, 2019. "Samuelson vs Fama on the Efficient Market Hypothesis: The Point of View of Expertise [Samuelson vs Fama sur l’efficience informationnelle des marchés financiers : le point de vue de l’expertise]," Post-Print hal-01618347, HAL.
    13. Kartono, Agus & Solekha, Siti & Sumaryada, Tony & Irmansyah,, 2021. "Foreign currency exchange rate prediction using non-linear Schrödinger equations with economic fundamental parameters," Chaos, Solitons & Fractals, Elsevier, vol. 152(C).
    14. Barbara Rossi, 2013. "Exchange Rate Predictability," Journal of Economic Literature, American Economic Association, vol. 51(4), pages 1063-1119, December.
    15. Tetsushi Homma & Yoshiro Tsutsui & Uri Benzion, 2005. "Exchange rate and stock prices in Japan," Applied Financial Economics, Taylor & Francis Journals, vol. 15(7), pages 469-478.
    16. Beckmann, Joscha & Czudaj, Robert L. & Arora, Vipin, 2020. "The relationship between oil prices and exchange rates: Revisiting theory and evidence," Energy Economics, Elsevier, vol. 88(C).
    17. Alexander S. Sangare, 2005. "Efficience des marchés : un siècle après Bachelier," Revue d'Économie Financière, Programme National Persée, vol. 81(4), pages 107-132.
    18. 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.
    19. Meredith Beechey & David Gruen & James Vickery, 2000. "The Efficient Market Hypothesis: A Survey," RBA Research Discussion Papers rdp2000-01, Reserve Bank of Australia.
    20. Corgnet, Brice & DeSantis, Mark & Porter, David, 2020. "The distribution of information and the price efficiency of markets," Journal of Economic Dynamics and Control, Elsevier, vol. 110(C).

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:arx:papers:1402.1624. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.