Skip to main content
Log in

Modeling Exchange Rate Behavior with a Genetic Algorithm

  • Published:
Computational Economics Aims and scope Submit manuscript

Abstract

Motivated by empirical evidence, we construct a model whereheterogeneous, boundedly-rational market participants rely on a mix of technical and fundamental trading rules. The rules are applied according to a weighting scheme. Traders evaluate and update their mix of rules by genetic algorithm learning. Even for fundamental shocks with a low probability, the interaction between the traders produces a complex behavior of exchange rates. Our model simultaneously produces several stylized facts like high volatility, unit roots in the exchange rates, a fuzzy relationship between news and exchange-rate movements, cointegration between the exchange rate and its fundamental value, fat tails for returns, a declining kurtosis under time aggregation, weak evidence of mean reversion, and strong evidence of clustering in both volatility and trading volume.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • BIS (1999). Central Bank Survey of Foreign Exchange and Derivatives Market Activity. Basle.

  • Black, F. (1986). Noise. Journal of Finance, 41, 529-543.

    Google Scholar 

  • Brock, W. and Hommes, C. (1997). A rational route to randomness. Econometrica, 65, 1059-1095.

    Google Scholar 

  • Camerer, C. (1995). Individual decision making. In J. Kagel and A. Roth (eds.), The Handbook of Experimental Economics, 587-703.

  • Cutler, D., Poterba, J. and Summers, L. (1990). Speculative dynamics and the role of feedback traders. American Economic Review 80, 63-68.

    Google Scholar 

  • Dawid, H. (1999). Adaptive Learning by Genetic Algorithms, 2nd edn. Springer, Berlin.

    Google Scholar 

  • Dickey, D. and Fuller, W. (1981). Likelihood ratio test statistics for autoregressive time series with a unit root. Econometrica, 49, 1057-1072.

    Google Scholar 

  • Engle, R. and Granger, C. (1987). Co-integration and error correction: Representation, estimation, and testing. Econometrica, 55, 251-276.

    Google Scholar 

  • Farmer, D. (1999). Physicists attempt to scale the ivory towers of finance. Computing in Science and Engineering, 1, 26-39.

    Google Scholar 

  • Frankel, J. and Froot, K. (1986). Understanding the U.S. dollar in the eighties: The expectations of chartists and fundamentalists. Economic Record, 62, 24-38.

    Google Scholar 

  • Goodhart, C. (1988). The foreign exchange market: A random walk with a dragging anchor. Economica, 55, 437-460.

    Google Scholar 

  • Goodhart, C., McMahon, P. and Ngama, Y. (1993). Testing for unit roots with very high frequency spot exchange rate data. Journal of Macroeconomics, 15, 423-438.

    Google Scholar 

  • Grefenstette, J. (1986). Adaptive learning and expectational stability: An introduction. IEEE Transactions on Systems, Man, and Cybernetics, 16, 122-128.

    Google Scholar 

  • Guillaume, D., Dacorogna, M., Dave, R., Mueller, U., Olsen, R. and Picet, O. (1997). “From the bird's eye to the microscope: A survey of new stylized facts of the intra-daily foreign exchange markets.” Finance Stochastics, 1, 95-129.

    Google Scholar 

  • Heiner, R. (1983). The origin of predictable behavior. American Economic Review, 73, 560-595.

    Google Scholar 

  • Kirman, A. (1993). Ants, rationality, and recruitment. Quarterly Journal of Economics, 108, 137-156.

    Google Scholar 

  • LeBaron, B. (2000). Agent based computational finance: Suggested readings and early research. Journal of Economic Dynamics and Control, 24, 679-702.

    Google Scholar 

  • Lux, T. and Marchesi, M. (1999). Scaling and criticality in a stochastic multi-agent model of a financial market. Nature, 397, 498-500.

    Google Scholar 

  • Lux, T. and Marchesi, M. (2000). Volatility clustering in financial markets: A microsimulation of interacting agents. International Journal of Theoretical and Applied Finance, 2, 675-702.

    Google Scholar 

  • Mandelbrot, B. (1963). The variation of certain speculative prices. Journal of Business, 36, 394-419.

    Google Scholar 

  • Mandelbrot, B. (1997). Fractals and Scaling in Finance. Springer, New York.

    Google Scholar 

  • Mitchell, M. (1996). An Introduction to Genetic Algorithms. MIT Press, Cambridge.

    Google Scholar 

  • Murphy, J. (1996). Technical Analysis of Financial Markets. Institute of Finance, New York.

    Google Scholar 

  • Neely, C. (1997). Technical analysis in the foreign exchange market: A layman's guide. Federal Reserve Bank of St. Louis Review, 79, 23-38.

    Google Scholar 

  • Slovic, P., Lichtenstein, S. and Fischhoff, B. (1988). Decision making. In R. Atkinson, R. Herrnstein

  • G. Lindzey and D. Luce (eds.), Steven's Handbook of Experimental Psychology, 673-738. Wiley, New York.

  • Taylor, M. and Allen, H. (1992). The use of technical analysis in the foreign exchange market. Journal of International Money and Finance, 11, 304-314.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Lawrenz, C., Westerhoff, F. Modeling Exchange Rate Behavior with a Genetic Algorithm. Computational Economics 21, 209–229 (2003). https://doi.org/10.1023/A:1023943726237

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1023943726237

Navigation