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. Sarno,Lucio & Taylor,Mark P., 2003. "The Economics of Exchange Rates," Cambridge Books, Cambridge University Press, number 9780521485845.
    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. 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.
    3. Barbara Rossi, 2013. "Exchange Rate Predictability," Journal of Economic Literature, American Economic Association, vol. 51(4), pages 1063-1119, December.
    4. 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.
    5. Demetrescu, Matei & Rodrigues, Paulo M.M. & Taylor, A.M. Robert, 2023. "Transformed regression-based long-horizon predictability tests," Journal of Econometrics, Elsevier, vol. 237(2).
    6. Barry A. Goss & S. Gulay Avsar, 2016. "Can Economists Forecast Exchange Rates? The Debate Re-Visited: The Case of the USD/GBP Market," Australian Economic Papers, Wiley Blackwell, vol. 55(1), pages 14-28, March.
    7. 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.
    8. Preminger, Arie & Franck, Raphael, 2007. "Forecasting exchange rates: A robust regression approach," International Journal of Forecasting, Elsevier, vol. 23(1), pages 71-84.
    9. Tasadduq Imam, 2021. "Model selection for one‐day‐ahead AUD/USD, AUD/EUR forecasts," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 26(2), pages 1808-1824, April.
    10. Joscha Beckmann & Ansgar Belke & Michael Kühl, 2009. "How Stable Are Monetary Models of the Dollar-Euro Exchange Rate?: A Time-Varying Coefficient Approach," Discussion Papers of DIW Berlin 944, DIW Berlin, German Institute for Economic Research.
    11. Afees A. Salisu & Juncal Cuñado & Kazeem Isah & Rangan Gupta, 2021. "Stock markets and exchange rate behavior of the BRICS," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(8), pages 1581-1595, December.
    12. Imad Moosa & Kelly Burns, 2016. "The random walk as a forecasting benchmark: drift or no drift?," Applied Economics, Taylor & Francis Journals, vol. 48(43), pages 4131-4142, September.
    13. Ronald MacDonald & Lukas Menkhoff & Rafael R. Rebitzky, 2009. "Exchange Rate Forecasters' Performance: Evidence of Skill?," CESifo Working Paper Series 2615, CESifo.
    14. Domenico Ferraro & Kenneth S. Rogoff & Barbara Rossi, 2011. "Can oil prices forecast exchange rates?," Working Papers 11-34, Federal Reserve Bank of Philadelphia.
    15. 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.
    16. Karamé, Frédéric & Patureau, Lise & Sopraseuth, Thepthida, 2008. "Limited participation and exchange rate dynamics: Does theory meet the data?," Journal of Economic Dynamics and Control, Elsevier, vol. 32(4), pages 1041-1087, April.
    17. repec:zbw:rwirep:0134 is not listed on IDEAS
    18. Charles Engel & Kenneth D. West, 2005. "Exchange Rates and Fundamentals," Journal of Political Economy, University of Chicago Press, vol. 113(3), pages 485-517, June.
    19. MacDonald, Ronald & Menkhoff, Lukas & Rebitzky, Rafael R., 2009. "Exchange rate forecasters’ performance: evidence of skill?," SIRE Discussion Papers 2009-10, Scottish Institute for Research in Economics (SIRE).
    20. Zhang, Hui Jun & Dufour, Jean-Marie & Galbraith, John W., 2016. "Exchange rates and commodity prices: Measuring causality at multiple horizons," Journal of Empirical Finance, Elsevier, vol. 36(C), pages 100-120.
    21. Stijn Claessens & M Ayhan Kose, 2017. "Asset prices and macroeconomic outcomes: a survey," BIS Working Papers 676, Bank for International Settlements.

    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.