Calibrating an adaptive Farmer-Joshi agent-based model for financial markets

We replicate the contested calibration of the Farmer and Joshi [1] agent based model of financial markets using a genetic algorithm and a Nelder-Mead with threshold accepting algorithm following Fabretti [2]. The novelty of the Farmer-Joshi model is that the dynamics are driven by trade entry and exit thresholds alone. We recover the known claim that some important stylized facts observed in financial markets cannot be easily found under calibration – in particular those relating to the auto-correlations in the absolute values of the price fluctuations, and sufficient kurtosis. However, rather than concerns relating to the calibration method, what is novel here is that we extended the Farmer-Joshi model to include agent adaptation using an Brock and Hommes [3] approach to strategy fitness based on trading strategy profitability. We call this an adaptive Farmer-Joshi model: the model allows trading agents to switch between strategies by favouring strategies that have been more profitable over some period of time determined by a free-parameter fixing the profit monitoring time-horizon. In the adaptive model we are able to calibrate and recover additional stylized facts, despite apparent degeneracy’s. This is achieved by combining the interactions of trade entry levels with trade strategy switching. We use this to argue that for low-frequency trading across days, as calibrated to daily sampled data, feedbacks can be accounted for by strategy die-out based on intermediate term profitability; we find that the average trade monitoring horizon is approximately two to three months (or 40 to 60 days) of trading.

[1]  Peter Winker,et al.  A global optimization heuristic for estimating agent based models , 2003, Comput. Stat. Data Anal..

[2]  Carl Chiarella,et al.  Heterogeneity, Market Mechanisms, and Asset Price Dynamics , 2008 .

[3]  Peter Winker,et al.  An objective function for simulation based inference on exchange rate data , 2007 .

[4]  井上 達,et al.  Heterogeneity , 1997, Encyclopedia of GIS.

[5]  Annalisa Fabretti,et al.  On the problem of calibrating an agent based model for financial markets , 2012, Journal of Economic Interaction and Coordination.

[6]  Roberto Dieci,et al.  Heterogeneous Agent Models in Finance , 2018 .

[7]  F. Abergel,et al.  Econophysics review: I. Empirical facts , 2011 .

[8]  B. LeBaron Agent-based Computational Finance , 2006 .

[9]  Blake LeBaron,et al.  Agent-based computational finance : Suggested readings and early research , 2000 .

[10]  T. Andersen THE ECONOMETRICS OF FINANCIAL MARKETS , 1998, Econometric Theory.

[11]  Francis Heylighen,et al.  Complexity and Self-organization , 2008 .

[12]  F. Westerhoff,et al.  On the bimodality of the distribution of the S&P 500's distortion: Empirical evidence and theoretical explanations ☆ , 2017 .

[13]  C. Hommes Heterogeneous Agent Models in Economics and Finance , 2005 .

[14]  Donovan Platt,et al.  A Comparison of Economic Agent-Based Model Calibration Methods , 2019, Journal of Economic Dynamics and Control.

[15]  F. Lutz,et al.  The case for flexible exchange rates , 1954 .

[16]  J. Farmer,et al.  The price dynamics of common trading strategies , 2000, cond-mat/0012419.

[17]  W. Brock,et al.  Heterogeneous beliefs and routes to chaos in a simple asset pricing model , 1998 .

[18]  T. Gebbie,et al.  The Problem of Calibrating an Agent-Based Model of High-Frequency Trading , 2016, 1606.01495.

[19]  R. Cont Empirical properties of asset returns: stylized facts and statistical issues , 2001 .

[20]  John A. Nelder,et al.  A Simplex Method for Function Minimization , 1965, Comput. J..

[21]  Tim Gebbie,et al.  Can agent-based models probe market microstructure? , 2016, Physica A: Statistical Mechanics and its Applications.

[22]  Kwangwon Ahn,et al.  Agent-based models in financial market studies , 2018, Journal of Physics: Conference Series.

[23]  Andrea Cavagna,et al.  THERMAL MODEL FOR ADAPTIVE COMPETITION IN A MARKET , 1999 .