IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1909.12926.html
   My bibliography  Save this paper

A Cloud-Native Globally Distributed Financial Exchange Simulator for Studying Real-World Trading-Latency Issues at Planetary Scale

Author

Listed:
  • Bradley Miles
  • Dave Cliff

Abstract

We describe a new public-domain open-source simulator of an electronic financial exchange, and of the traders that interact with the exchange, which is a truly distributed and cloud-native system that been designed to run on widely available commercial cloud-computing services, and in which various components can be placed in specified geographic regions around the world, thereby enabling the study of planetary-scale latencies in contemporary automated trading systems. Our simulator allows an exchange server to be launched in the cloud, specifying a particular geographic zone for the cloud hosting service; automated-trading clients which attach to the exchange can then also be launched in the cloud, in the same geographic zone and/or in different zones anywhere else on the planet, and those clients are then subject to the real-world latencies introduced by planetary-scale cloud communication interconnections. In this paper we describe the design and implementation of our simulator, called DBSE, which is based on a previous public-domain simulator, extended in ways that are partly inspired by the architecture of the real-world Jane Street Exchange. DBSE relies fundamentally on UDP and TCP network communications protocols and implements a subset of the FIX de facto standard protocol for financial information exchange. We show results from an example in which the exchange server is remotely launched on a cloud facility located in London (UK), with trader clients running in Ohio (USA) and Sydney (Australia). We close with discussion of how our simulator could be further used to study planetary-scale latency arbitrage in financial markets.

Suggested Citation

  • Bradley Miles & Dave Cliff, 2019. "A Cloud-Native Globally Distributed Financial Exchange Simulator for Studying Real-World Trading-Latency Issues at Planetary Scale," Papers 1909.12926, arXiv.org.
  • Handle: RePEc:arx:papers:1909.12926
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/1909.12926
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. John H. Kagel & Alvin E. Roth, 2016. "The Handbook of Experimental Economics, Volume 2," Economics Books, Princeton University Press, edition 1, volume 2, number 10874.
    2. Gjerstad, Steven & Dickhaut, John, 1998. "Price Formation in Double Auctions," Games and Economic Behavior, Elsevier, vol. 22(1), pages 1-29, January.
    3. Gode, Dhananjay K & Sunder, Shyam, 1993. "Allocative Efficiency of Markets with Zero-Intelligence Traders: Market as a Partial Substitute for Individual Rationality," Journal of Political Economy, University of Chicago Press, vol. 101(1), pages 119-137, February.
    4. Smith,Vernon L., 2006. "Papers in Experimental Economics," Cambridge Books, Cambridge University Press, number 9780521024655.
    5. Steven Gjerstad, 2003. "The Strategic Impact of Pace in Double Auction Bargaining," Microeconomics 0304001, University Library of Munich, Germany.
    6. Steven Gjerstad, 2003. "The Impact of Pace in Double Auction Bargaining," Levine's Bibliography 666156000000000192, UCLA Department of Economics.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Henry Hanifan & Ben Watson & John Cartlidge & Dave Cliff, 2021. "Time Matters: Exploring the Effects of Urgency and Reaction Speed in Automated Traders," Papers 2103.00600, arXiv.org.
    2. Henry Hanifan & John Cartlidge, 2019. "Fools Rush In: Competitive Effects of Reaction Time in Automated Trading," Papers 1912.02775, arXiv.org, revised Nov 2020.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Dave Cliff, 2024. "Parameterised response zero intelligence traders," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 19(3), pages 439-492, July.
    2. Dave Cliff, 2021. "BBE: Simulating the Microstructural Dynamics of an In-Play Betting Exchange via Agent-Based Modelling," Papers 2105.08310, arXiv.org.
    3. Henry Hanifan & Ben Watson & John Cartlidge & Dave Cliff, 2021. "Time Matters: Exploring the Effects of Urgency and Reaction Speed in Automated Traders," Papers 2103.00600, arXiv.org.
    4. Henry Hanifan & John Cartlidge, 2019. "Fools Rush In: Competitive Effects of Reaction Time in Automated Trading," Papers 1912.02775, arXiv.org, revised Nov 2020.
    5. Corgnet, Brice & DeSantis, Mark & Porter, David, 2020. "The distribution of information and the price efficiency of markets," Journal of Economic Dynamics and Control, Elsevier, vol. 110(C).
    6. X. Fernández, Bernardo & Fernández Q, Vladimir & Aldazosa, E. René, 2018. "Una subasta doble de divisas para la determinación del tipo de cambio en Bolivia," Revista Latinoamericana de Desarrollo Economico, Carrera de Economía de la Universidad Católica Boliviana (UCB) "San Pablo", issue 29, pages 152-189, May.
    7. Svitlana Vyetrenko & David Byrd & Nick Petosa & Mahmoud Mahfouz & Danial Dervovic & Manuela Veloso & Tucker Hybinette Balch, 2019. "Get Real: Realism Metrics for Robust Limit Order Book Market Simulations," Papers 1912.04941, arXiv.org.
    8. Daniel Snashall & Dave Cliff, 2019. "Adaptive-Aggressive Traders Don't Dominate," Papers 1910.09947, arXiv.org.
    9. Itzhak Rasooly, 2022. "Competitive equilibrium and the double auction," Economics Series Working Papers 974, University of Oxford, Department of Economics.
    10. Xintong Wang & Christopher Hoang & Yevgeniy Vorobeychik & Michael P. Wellman, 2021. "Spoofing the Limit Order Book: A Strategic Agent-Based Analysis," Games, MDPI, vol. 12(2), pages 1-43, May.
    11. Athreya, Kartik B., 2014. "Big Ideas in Macroeconomics: A Nontechnical View," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262019736, April.
    12. Sabiou M. Inoua & Vernon L. Smith, 2022. "Perishable goods versus re-tradable assets: A theoretical reappraisal of a fundamental dichotomy," Chapters, in: Sascha Füllbrunn & Ernan Haruvy (ed.), Handbook of Experimental Finance, chapter 15, pages 162-171, Edward Elgar Publishing.
    13. Tai, Chung-Ching & Chen, Shu-Heng & Yang, Lee-Xieng, 2018. "Cognitive ability and earnings performance: Evidence from double auction market experiments," Journal of Economic Dynamics and Control, Elsevier, vol. 91(C), pages 409-440.
    14. Aaron Wray & Matthew Meades & Dave Cliff, 2020. "Automated Creation of a High-Performing Algorithmic Trader via Deep Learning on Level-2 Limit Order Book Data," Papers 2012.00821, arXiv.org.
    15. Jakob Grazzini, 2013. "Information dissemination in an experimentally based agent-based stock market," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 8(1), pages 179-209, April.
    16. Gjerstad, Steven & Dickhaut, John, 1998. "Price Formation in Double Auctions," Games and Economic Behavior, Elsevier, vol. 22(1), pages 1-29, January.
    17. Jason Shachat & Zhenxuan Zhang, 2017. "The Hayek Hypothesis and Long‐run Competitive Equilibrium: An Experimental Investigation," Economic Journal, Royal Economic Society, vol. 127(599), pages 199-228, February.
    18. Steven Gjerstad, 2003. "The Strategic Impact of Pace in Double Auction Bargaining," Microeconomics 0304001, University Library of Munich, Germany.
    19. Chen, Shu-Heng, 2012. "Varieties of agents in agent-based computational economics: A historical and an interdisciplinary perspective," Journal of Economic Dynamics and Control, Elsevier, vol. 36(1), pages 1-25.
    20. Brewer, Paul & Ratan, Anmol, 2019. "Profitability, efficiency, and inequality in double auction markets with snipers," Journal of Economic Behavior & Organization, Elsevier, vol. 164(C), pages 486-499.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:1909.12926. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.