Modeling the High‐Frequency FX Market: An Agent‐Based Approach

The development of computational intelligence‐based strategies for electronic markets has been the focus of intense research. To be able to design efficient and effective automated trading strategies, one first needs to understand the workings of the market, the strategies that traders use, and their interactions as well as the patterns emerging as a result of these interactions. In this article, we develop an agent‐based model of the foreign exchange (FX) market, which is the market for the buying and selling of currencies. Our agent‐based model of the FX market comprises heterogeneous trading agents that employ a strategy that identifies and responds to periodic patterns in the price time series. We use the agent‐based model of the FX market to undertake a systematic exploration of its constituent elements and their impact on the stylized facts (statistical patterns) of transactions data. This enables us to identify a set of sufficient conditions that result in the emergence of the stylized facts similarly to the real market data, and formulate a model that closely approximates the stylized facts. We use a unique high‐frequency data set of historical transactions data that enables us to run multiple simulation runs and validate our approach and draw comparisons and conclusions for each market setting.

[1]  Bauchet Pierre Pareto (Vilfredo) - Cours d'économie politique , 1965 .

[2]  J. Steindl,et al.  Random Processes and the Growth of Firms. A Study of the Pareto Law. , 1966 .

[3]  W. Arthur,et al.  The Economy as an Evolving Complex System II , 1988 .

[4]  H. Markowitz,et al.  Investment rules, margin, and market volatility , 1989 .

[5]  Joseph Persky,et al.  Retrospectives: Pareto's Law , 1992 .

[6]  S. Solomon,et al.  A microscopic model of the stock market: Cycles, booms, and crashes , 1994 .

[7]  S. Solomon,et al.  Dynamical Explanation For The Emergence Of Power Law In A Stock Market Model , 1996 .

[8]  T. Lux The socio-economic dynamics of speculative markets: interacting agents, chaos, and the fat tails of return distributions , 1998 .

[9]  Dietrich Stauffer,et al.  FINITE-SIZE EFFECTS IN MONTE CARLO SIMULATIONS OF TWO STOCK MARKET MODELS , 1999 .

[10]  R. Palmer,et al.  Time series properties of an artificial stock market , 1999 .

[11]  Shou-De Lin,et al.  A trading agent competition , 2000 .

[12]  B. LeBaron A builder's guide to agent-based financial markets , 2001 .

[13]  P. M. Hui,et al.  From market games to real-world markets , 2001 .

[14]  Shu-Heng Chen,et al.  Evolving traders and the business school with genetic programming: A new architecture of the agent-based artificial stock market , 2001 .

[15]  Shu-Heng Chen The Influence of Market Size in an Artificial Stock Market: The Approach Based on Genetic Programming , 2001 .

[16]  Jing Yang,et al.  The Efficiency of an Artificial Double Auction Stock Market with Neural Learning Agents , 2002 .

[17]  Shyam Sunder,et al.  Markets as Artifacts: Aggregate Efficiency from Zero-Intelligence Traders , 2003 .

[18]  J. Barkley Rosser,et al.  The Changing Face of Economics , 2004 .

[19]  Jonathan H. Wright,et al.  Order Flow and Exchange Rate Dynamics in Electronic Brokerage System Data , 2005 .

[20]  Marco Raberto,et al.  Modeling and simulation of a double auction artificial financial market , 2005 .

[21]  Takatoshi Ito,et al.  Intra-Day Seasonality in Activities of the Foreign Exchange Markets: Evidence from the Electronic Broking System , 2006 .

[22]  Martin D. D. Evans,et al.  Exchange Rate Fundamentals and Order Flow , 2007 .

[23]  D. Stauffer,et al.  Agent-based Models of Financial Markets , 2007, physics/0701140.

[24]  Michael Michalakopoulos,et al.  e-Game: A platform for developing auction-based market simulations , 2008, Decis. Support Syst..

[25]  Andrea Zaccaria,et al.  Minimal agent based model for financial markets I , 2008, 0808.3562.

[26]  Serafín Martínez-Jaramillo,et al.  An Heterogeneous, Endogenous and Coevolutionary GP-Based Financial Market , 2009, IEEE Transactions on Evolutionary Computation.

[27]  A. Zaccaria,et al.  Mechanisms of self-organization and finite size effects in a minimal agent based model , 2008, 0811.4256.

[28]  Edward Tsang,et al.  A Directional-Change Events Approach for Studying Financial Time Series , 2011 .

[29]  James B. Glattfelder,et al.  Patterns in high-frequency FX data: discovery of 12 empirical scaling laws , 2008, 0809.1040.

[30]  Edward Tsang,et al.  Stylized facts of trading activity in the high frequency FX market : An Empirical Study , 2013 .

[31]  Ash Booth,et al.  Automated trading with performance weighted random forests and seasonality , 2014, Expert Syst. Appl..

[32]  Maria Fasli,et al.  Exploring Trading Strategies and their Effects in the FX Market , 2016 .

[33]  Maria Fasli,et al.  Exploring Trading Strategies and Their Effects in the Foreign Exchange Market , 2017, Comput. Intell..