143
Views
0
CrossRef citations to date
0
Altmetric
Research Papers

Rule-based trading on an order-driven exchange: a reassessmentOpen DataOpen Materials

ORCID Icon & ORCID Icon
Pages 1871-1886 | Published online: 06 Nov 2023
 

Abstract

A core research area of computational behavioral finance investigates emergent price dynamics when heterogeneous traders follow a mix of rule-based strategies and interact indirectly through a limit order book. This paper offers a detailed specification of such a model in order to raise questions about some previous findings. The questions force a comprehensive reconsideration of the price dynamics of a well-known model. This leads to a surprising clarification of the contributions of various trading strategies to market outcomes: a popular characterization of chartism proves largely irrelevant for price dynamics. We also shed new light on the volume-volatility relationship, and provide improved visualizations to expose market behavior.

JEL Classifications:

Open Scholarship

This article has earned the Center for Open Science badges for Open Data and Open Materials through Open Practices Disclosure. The data and materials are openly accessible at https://figshare.com/s/e02cbb7790ab902eb72e.

Acknowledgments

Equal authorship; the authors are in alphabetical order. We thank Ben Dempe, two anonymous referees, and an Associate Editor for helpful suggestions. We particularly thank Blake LeBaron for useful discussions and kind encouragement.

Disclosure statement

No potential conflict of interest was reported by the author(s).

Supplemental data

Supplemental data for this article can be accessed online at http://dx.doi.org/10.1080/14697688.2023.2270711.

Notes

1 If all floating point prices were acceptable, the market would not see common prices across orders. However, a market in a security typically has a tick size, which is the minimal price increment. In addition, order prices outside an acceptable (wide) trading range are typically rejected. Chiarella and Iori (Citation2002, p. 348) address this by introducing a pre-specified grid of possible prices, based on the tick size (Δ). (Unfortunately, they do not document the minimum and maximum values of this grid.) We follow this practice, specifying a (wide) range of possible prices, from 1% to 200% of the reference fundamental price.

2 In order to produce the plausible price dynamics required of a replication, their reported parameterization must be substantially rescaled during the price-forecast computation, as exposed by Chiarella et al. (Citation2009) and especially Pellizzari and Westerhoff (Citation2009). In addition, Chiarella et al. (Citation2009) constrain the weights to be positive, thereby removing contrarians from the chartist traders. The consequences of such a change are discussed in the supplement to our paper.

3 This paper uses the fundamental price to initialize the price history. Results with a random initial price history are similar, so the model appears robust to this choice.

4 The original code is unavailable (G. Iori, personal communication, 2020). Find code for the present paper at https://figshare.com/s/e02cbb7790ab902eb72e.

5 Our supplement to this paper provides detailed documentation of this claim.

6 We base this choice on Chiarella and Iori (Citation2002, p. 351–352), which describes the average spot volatility as being in the neighborhood of 2×104. This appears to be roughly the value of volatility indicated at around λ=0.5 in Chiarella and Iori (Citation2002, figure 3). However, there are two other imaginable measures for a simulation of N periods of T time steps per period. One is a simple average of CI's time-period volatilities, as described by (Equation6). That produces 1Nn=1N(1Ti=1T|p(n1)T+ip(n1)T+i11|)=1NTn=1Ni=1T|p(n1)T+ip(n1)T+i11| The other is to apply (Equation6) directly to the entire price trajectory. 1NTt=1NT|ptpt11|=1NTn=1Ni=1T|p(n1)T+ip(n1)T+i11| Clearly the only difference between these measures is scaling, so the choice between them is arbitrary and inconsequential.

7 This means that the first, fifth, and fourth subfigures correspond to the left column of Chiarella and Iori (Citation2002, figure 1).

8 More precisely, aside from artefacts of the series construction, the logarithm of the market price should resemble a random walk in this case.

9 For this reason, altering the weighting schema to emphasize chartism fails, even when imposing an unreasonably large relative weight on chartism. The supplement to this paper provides additional exploration of these issues.

10 Attentive readers will note the scale change in the last subfigure of Chiarella and Iori (Citation2002, figure 1). See the supplement to this paper for further explorations.

11 The returns are calculated from the closing prices of Apple Inc. stock (ticker: AAPL) over the 1001 trading days between May 4th, 2016 to April 24, 2020. (Last accessed 2023-10-04.)

12 We use a lag length of 10 periods for both tests. However, we also deployed the test using the optimal lag selection methodology prescribed in Escanciano and Lobato (Citation2009). The optimal lag for the Ljung-Box test for the simulated returns was 1, and for AAPL stock was 30. The optimal lag for the McLeod-Li test for the simulated returns was 6, and for AAPL stock was 29. The results were qualitatively the same in all cases as those reported in table .

13 Box plots are for trade counts seen in at least 10 periods.

14 Figure describes the price series, which uses the book's midpoint price if no new trade executes. More market participation makes it more likely that a new bid or ask will beat the top of the book, which increases measured volatility.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 53.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 691.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.