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

Implementing the BBE Agent-Based Model of a Sports-Betting Exchange

Author

Listed:
  • Dave Cliff
  • James Hawkins
  • James Keen
  • Roberto Lau-Soto

Abstract

We describe three independent implementations of a new agent-based model (ABM) that simulates a contemporary sports-betting exchange, such as those offered commercially by companies including Betfair, Smarkets, and Betdaq. The motivation for constructing this ABM, which is known as the Bristol Betting Exchange (BBE), is so that it can serve as a synthetic data generator, producing large volumes of data that can be used to develop and test new betting strategies via advanced data analytics and machine learning techniques. Betting exchanges act as online platforms on which bettors can find willing counterparties to a bet, and they do this in a way that is directly comparable to the manner in which electronic financial exchanges, such as major stock markets, act as platforms that allow traders to find willing counterparties to buy from or sell to: the platform aggregates and anonymises orders from multiple participants, showing a summary of the market that is updated in real-time. In the first instance, BBE is aimed primarily at producing synthetic data for in-play betting (also known as in-race or in-game betting) where bettors can place bets on the outcome of a track-race event, such as a horse race, after the race has started and for as long as the race is underway, with betting only ceasing when the race ends. The rationale for, and design of, BBE has been described in detail in a previous paper that we summarise here, before discussing our comparative results which contrast a single-threaded implementation in Python, a multi-threaded implementation in Python, and an implementation where Python header-code calls simulations of the track-racing events written in OpenCL that execute on a 640-core GPU -- this runs approximately 1000 times faster than the single-threaded Python. Our source-code for BBE is freely available on GitHub.

Suggested Citation

  • Dave Cliff & James Hawkins & James Keen & Roberto Lau-Soto, 2021. "Implementing the BBE Agent-Based Model of a Sports-Betting Exchange," Papers 2108.02419, arXiv.org.
  • Handle: RePEc:arx:papers:2108.02419
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Martin D. Gould & Mason A. Porter & Stacy Williams & Mark McDonald & Daniel J. Fenn & Sam D. Howison, 2010. "Limit Order Books," Papers 1012.0349, arXiv.org, revised Apr 2013.
    2. Brown, Alasdair & Yang, Fuyu, 2016. "Limited cognition and clustered asset prices: Evidence from betting markets," Journal of Financial Markets, Elsevier, vol. 29(C), pages 27-46.
    3. Martin D. Gould & Mason A. Porter & Stacy Williams & Mark McDonald & Daniel J. Fenn & Sam D. Howison, 2013. "Limit order books," Quantitative Finance, Taylor & Francis Journals, vol. 13(11), pages 1709-1742, November.
    4. Kanto, Antti J. & Rosenqvist, Gunnar & Suvas, Arto, 1992. "On utility function estimation of racetrack bettors," Journal of Economic Psychology, Elsevier, vol. 13(3), pages 491-498, September.
    5. Tversky, Amos & Kahneman, Daniel, 1992. "Advances in Prospect Theory: Cumulative Representation of Uncertainty," Journal of Risk and Uncertainty, Springer, vol. 5(4), pages 297-323, October.
    6. Hubáček, Ondřej & Šourek, Gustav & Železný, Filip, 2019. "Exploiting sports-betting market using machine learning," International Journal of Forecasting, Elsevier, vol. 35(2), pages 783-796.
    7. Dave Cliff, 2021. "BBE: Simulating the Microstructural Dynamics of an In-Play Betting Exchange via Agent-Based Modelling," Papers 2105.08310, arXiv.org.
    8. Gustav Axén & Dominic Cortis, 2020. "Hedging on Betting Markets," Risks, MDPI, vol. 8(3), pages 1-14, August.
    9. Choi, Darwin & Hui, Sam K., 2014. "The role of surprise: Understanding overreaction and underreaction to unanticipated events using in-play soccer betting market," Journal of Economic Behavior & Organization, Elsevier, vol. 107(PB), pages 614-629.
    10. Wheatcroft, Edward, 2020. "A profitable model for predicting the over/under market in football," International Journal of Forecasting, Elsevier, vol. 36(3), pages 916-932.
    11. de Jong,Frank & Rindi,Barbara, 2009. "The Microstructure of Financial Markets," Cambridge Books, Cambridge University Press, number 9780521687270.
    12. Swidler, Steve & Shaw, Ron, 1995. "Racetrack wagering and the "uninformed" bettor: A study of market efficiency," The Quarterly Review of Economics and Finance, Elsevier, vol. 35(3), pages 305-314.
    13. Merz, Oliver & Flepp, Raphael & Franck, Egon, 2021. "Sonic Thunder vs. Brian the Snail: Are people affected by uninformative racehorse names?," Journal of Behavioral and Experimental Economics (formerly The Journal of Socio-Economics), Elsevier, vol. 93(C).
    14. Restocchi, Valerio & McGroarty, Frank & Gerding, Enrico & Johnson, Johnnie E.V., 2018. "It takes all sorts: A heterogeneous agent explanation for prediction market mispricing," European Journal of Operational Research, Elsevier, vol. 270(2), pages 556-569.
    15. Michael Rollins & Dave Cliff, 2020. "Which Trading Agent is Best? Using a Threaded Parallel Simulation of a Financial Market Changes the Pecking-Order," Papers 2009.06905, arXiv.org.
    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. Dave Cliff, 2021. "BBE: Simulating the Microstructural Dynamics of an In-Play Betting Exchange via Agent-Based Modelling," Papers 2105.08310, arXiv.org.

    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, 2021. "BBE: Simulating the Microstructural Dynamics of an In-Play Betting Exchange via Agent-Based Modelling," Papers 2105.08310, arXiv.org.
    2. Philip W. S. Newall & Dominic Cortis, 2021. "Are Sports Bettors Biased toward Longshots, Favorites, or Both? A Literature Review," Risks, MDPI, vol. 9(1), pages 1-9, January.
    3. Raphael Flepp & Oliver Merz & Egon Franck, 2024. "When the league table lies: Does outcome bias lead to informationally inefficient markets?," Economic Inquiry, Western Economic Association International, vol. 62(1), pages 414-429, January.
    4. Martin Kukuk & Stefan Winter, 2008. "An Alternative Explanation of the Favorite-Longshot Bias," Journal of Gambling Business and Economics, University of Buckingham Press, vol. 2(2), pages 79-96, September.
    5. Peng Wu & Marcello Rambaldi & Jean-Franc{c}ois Muzy & Emmanuel Bacry, 2019. "Queue-reactive Hawkes models for the order flow," Papers 1901.08938, arXiv.org.
    6. Yamamoto, Ryuichi, 2019. "Dynamic Predictor Selection And Order Splitting In A Limit Order Market," Macroeconomic Dynamics, Cambridge University Press, vol. 23(5), pages 1757-1792, July.
    7. Ivan Jericevich & Patrick Chang & Tim Gebbie, 2021. "Simulation and estimation of a point-process market-model with a matching engine," Papers 2105.02211, arXiv.org, revised Aug 2021.
    8. Thomas Spooner & Rahul Savani, 2020. "Robust Market Making via Adversarial Reinforcement Learning," Papers 2003.01820, arXiv.org, revised Jul 2020.
    9. Alberto Ciacci & Takumi Sueshige & Hideki Takayasu & Kim Christensen & Misako Takayasu, 2020. "The microscopic relationships between triangular arbitrage and cross-currency correlations in a simple agent based model of foreign exchange markets," PLOS ONE, Public Library of Science, vol. 15(6), pages 1-19, June.
    10. Jian Guo & Saizhuo Wang & Lionel M. Ni & Heung-Yeung Shum, 2022. "Quant 4.0: Engineering Quantitative Investment with Automated, Explainable and Knowledge-driven Artificial Intelligence," Papers 2301.04020, arXiv.org.
    11. James Wallbridge, 2020. "Transformers for Limit Order Books," Papers 2003.00130, arXiv.org.
    12. Johannes Bleher & Michael Bleher & Thomas Dimpfl, 2020. "From orders to prices: A stochastic description of the limit order book to forecast intraday returns," Papers 2004.11953, arXiv.org, revised May 2021.
    13. Zihao Zhang & Stefan Zohren & Stephen Roberts, 2018. "DeepLOB: Deep Convolutional Neural Networks for Limit Order Books," Papers 1808.03668, arXiv.org, revised Jan 2020.
    14. Tucker Hybinette Balch & Mahmoud Mahfouz & Joshua Lockhart & Maria Hybinette & David Byrd, 2019. "How to Evaluate Trading Strategies: Single Agent Market Replay or Multiple Agent Interactive Simulation?," Papers 1906.12010, arXiv.org.
    15. Johannes C. Müller & Sebastian Pokutta & Alexander Martin & Susanne Pape & Andrea Peter & Thomas Winter, 2017. "Pricing and clearing combinatorial markets with singleton and swap orders," Mathematical Methods of Operations Research, Springer;Gesellschaft für Operations Research (GOR);Nederlands Genootschap voor Besliskunde (NGB), vol. 85(2), pages 155-177, April.
    16. Hai-Chuan Xu & Wei Chen & Xiong Xiong & Wei Zhang & Wei-Xing Zhou & H Eugene Stanley, 2016. "Limit-order book resiliency after effective market orders: Spread, depth and intensity," Papers 1602.00731, arXiv.org, revised Feb 2017.
    17. Ranjan R. Chakravarty & Sudhanshu Pani, 2021. "A Data Paradigm to Operationalise Expanded Filtration: Realized Volatilities and Kernels from Non-Synchronous NASDAQ Quotes and Trades," Journal of Quantitative Economics, Springer;The Indian Econometric Society (TIES), vol. 19(4), pages 617-652, December.
    18. Ningyuan Chen & Steven Kou & Chun Wang, 2018. "A Partitioning Algorithm for Markov Decision Processes with Applications to Market Microstructure," Management Science, INFORMS, vol. 64(2), pages 784-803, February.
    19. Qing-Qing Yang & Wai-Ki Ching & Jiawen Gu & Tak-Kuen Siu, 2020. "Trading strategy with stochastic volatility in a limit order book market," Decisions in Economics and Finance, Springer;Associazione per la Matematica, vol. 43(1), pages 277-301, June.
    20. Gu, Gao-Feng & Xiong, Xiong & Zhang, Yong-Jie & Chen, Wei & Zhang, Wei & Zhou, Wei-Xing, 2016. "Stylized facts of price gaps in limit order books," Chaos, Solitons & Fractals, Elsevier, vol. 88(C), pages 48-58.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:2108.02419. 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.