Papers
Topics
Authors
Recent
Search
2000 character limit reached

A Novel Approach to Queue-Reactive Models: The Importance of Order Sizes

Published 28 May 2024 in q-fin.TR | (2405.18594v1)

Abstract: In this article, we delve into the applications and extensions of the queue-reactive model for the simulation of limit order books. Our approach emphasizes the importance of order sizes, in conjunction with their type and arrival rate, by integrating the current state of the order book to determine, not only the intensity of order arrivals and their type, but also their sizes. These extensions generate simulated markets that are in line with numerous stylized facts of the market. Our empirical calibration, using futures on German bonds, reveals that the extended queue-reactive model significantly improves the description of order flow properties and the shape of queue distributions. Moreover, our findings demonstrate that the extended model produces simulated markets with a volatility comparable to historical real data, utilizing only endogenous information from the limit order book. This research underscores the potential of the queue-reactive model and its extensions in accurately simulating market dynamics and providing valuable insights into the complex nature of limit order book modeling.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (28)
  1. S. N. Cohen, L. Szpruch, A limit order book model for latency arbitrage, Mathematics and Financial Economics 6 (2012) 211–227.
  2. How to evaluate trading strategies: Single agent market replay or multiple agent interactive simulation?, arXiv preprint arXiv:1906.12010 (2019).
  3. Abides: Towards high-fidelity market simulation for ai research, arXiv preprint arXiv:1904.12066 (2019).
  4. M. Avellaneda, S. Stoikov, High-frequency trading in a limit order book, Quantitative Finance 8 (2008) 217–224.
  5. Stochastic models for order book dynamics, Operations research 58 (2010) 549–563.
  6. Simulating and analyzing order book data: The queue-reactive model, Journal of the American Statistical Association 110 (2015) 107–122.
  7. I. M. Toke, “market making” in an order book model and its impact on the spread, Econophysics of Order-driven Markets: Proceedings of Econophys-Kolkata V (2011) 49–64.
  8. X. Lu, F. Abergel, High-dimensional hawkes processes for limit order books: modelling, empirical analysis and numerical calibration, Quantitative Finance 18 (2018) 249–264.
  9. Non-parametric estimation of quadratic hawkes processes for order book events, The European Journal of Finance 28 (2022) 663–678.
  10. Queue-reactive hawkes models for the order flow, Market microstructure and liquidity (2022).
  11. Get real: Realism metrics for robust limit order book market simulations, Proceedings of the First ACM International Conference on AI in Finance (2020) 1–8.
  12. Abides-gym: gym environments for multi-agent discrete event simulation and application to financial markets, Proceedings of the Second ACM International Conference on AI in Finance (2021) 1–9.
  13. Modelling stock markets by multi-agent reinforcement learning, Computational Economics 57 (2021) 113–147.
  14. J. Sirignano, R. Cont, Universal features of price formation in financial markets: perspectives from deep learning, Quantitative Finance 19 (2019) 1449–1459.
  15. Integrating the data augmentation scheme with various classifiers for acoustic scene modeling, arXiv preprint arXiv:1907.06639 (2019).
  16. Conditional generators for limit order book environments: Explainability, challenges, and robustness, arXiv preprint arXiv:2306.12806 (2023).
  17. From zero-intelligence to queue-reactive: limit-order-book modeling for high-frequency volatility estimation and optimal execution, Quantitative Finance 23 (2023) 367–388.
  18. R. MacDonald, Exchange Rate Theory: Chaotic of Foreign Exchange Markets, The Economic Journal 104 (1994) 966–967. URL: https://doi.org/10.2307/2235001. doi:10.2307/2235001. arXiv:https://academic.oup.com/ej/article-pdf/104/425/966/27040459/ej0966.pdf.
  19. T. Lux, M. Marchesi, Scaling and criticality in a stochastic multi-agent model of a financial market, Nature 397 (1998) 498–500.
  20. A. G. Hawkes, Spectra of some self-exciting and mutually exciting point processes, Biometrika 58 (1971) 83–90.
  21. L. Bauwens, N. Hautsch, Modelling financial high frequency data using point processes, Handbook of Financial Time Series (2009) 953–979.
  22. A. Ellul, Determinants of order choice on the new york stock exchange, Academy of Management Journal 44 (2001) 81.
  23. A. Hall, N. Hautsch, Order aggressiveness and order book dynamics, Empirical Economics 30 (2006) 973–1005.
  24. tick: a Python library for statistical learning, with a particular emphasis on time-dependent modeling, arXiv preprint arXiv:1707.03003 (2017).
  25. H. Bodor, L. Carlier, Stylized facts and market microstructure: An in-depth exploration of german bond futures market, arXiv preprint arXiv:2401.10722 (2024).
  26. Optimal liquidity-based trading tactics, Stochastic Systems 11 (2021) 368–390.
  27. Econophysics review: I. empirical facts, Quantitative Finance 11 (2011) 991–1012.
  28. R. Cont, Empirical properties of asset returns: stylized facts and statistical issues, Quantitative Finance 1 (2001) 223–236.

Summary

  • The paper shows that integrating order sizes into queue-reactive models significantly improves LOB simulation accuracy.
  • It introduces FTQR and SAQR extensions to capture complete queue events and order size effects with calibrated Bund futures data.
  • Empirical evaluations reveal that the SAQR model better reproduces market dynamics and queue size distributions compared to Hawkes processes.

Summary of "A Novel Approach to Queue-Reactive Models: The Importance of Order Sizes"

Introduction

The paper presents an extension of the queue-reactive model designed for accurate limit order book (LOB) simulations, emphasizing the inclusion of order sizes in conjunction with order types and arrival rates. Through empirical studies utilizing German bond futures, the authors demonstrate that incorporating order sizes markedly enhances the model’s ability to reflect real market dynamics, offering valuable insights into LOB microstructure modeling.

Methodology

Queue-Reactive Model

The Queue-Reactive (QR) model serves as a foundational framework, using order arrival intensities as a function of queue sizes and types—limit, cancel, and market orders. The core advantage of QR lies in its ability to reflect multiple stylized facts through behavior analyses of queue size evolution over time and price change dynamics. By calibrating event intensities with Bund futures data, the model captures the heterogeneity of market participant strategies and their implications on queue priorities. Figure 1

Figure 1: Illustration of queue size evolution. This diagram represents the sequential updates in the size of a given queue over time. Initially, the queue size is qk1q_{k-1}.

Extensions: FTQR and SAQR

Two key extensions are introduced to address the limitations of the QR model, notably its inability to mirror historical volatility due to slower LOB progression:

  1. Five-Type Queue-Reactive Model (FTQR): Incorporates complete queue consumption events (market_all and cancel_all). This adjustment accounts for scenarios where participants consume entire queue sizes, calibrated to reflect high excitement during scarce liquidity. Figure 2

    Figure 2: Results of queue-reactive model on Bund futures - Intensities as functions of queue size (best levels).

  2. Size-Aware Queue-Reactive Model (SAQR): Models order size impact, where the intensity is a function of both order type and size. This adaptation improves the realism of order size distribution, especially when queue sizes are small or orders consume entire liquidity. Figure 3

    Figure 3: Matrix heatmap of normalized calibrated intensities On Bund future data (logarithmic scale).

Results

The empirical evaluation of the model variants against key market stylized facts—including price dynamics, volatility, traded volume, and order book distribution—highlights the superior alignment of the SAQR model with actual market behaviors. The SAQR model demonstrates an improved fit for the Gamma distribution of queue sizes and realistic signature plots showcasing volatility at different scales. Figure 4

Figure 4: Distribution of order book volumes and Gamma law fit.

Hawkes Process Integration

In comparison, models employing Hawkes processes effectively reflect excitation dynamics between events but show discrepancies in reproducing queue size distributions. The analysis suggests that although Hawkes processes capture clustering effects and contagion phenomena, their integration with queue-reactive frameworks necessitates adjustments to reconcile ergodicity issues inherent in Poisson-based approaches.

Conclusion

The study underscores the significance of incorporating order sizes into queue-reactive models, substantially enhancing their ability to simulate authentic market microstructure dynamics. Future research directions include integrating more complex excitation dynamics and addressing intra-day seasonality, motivated by the nuanced performance of the SAQR model in aligning with observed market behaviors. The insights gleaned from these methodological advancements serve pivotal roles in refining trading strategies and improving market risk management processes.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Authors (2)

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.