[go: up one dir, main page]

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

SABCEMM-A Simulator for Agent-Based Computational Economic Market Models

Author

Listed:
  • Torsten Trimborn
  • Philipp Otte
  • Simon Cramer
  • Max Beikirch
  • Emma Pabich
  • Martin Frank
Abstract
We introduce the simulation tool SABCEMM (Simulator for Agent-Based Computational Economic Market Models) for agent-based computational economic market (ABCEM) models. Our simulation tool is implemented in C++ and we can easily run ABCEM models with several million agents. The object-oriented software design enables the isolated implementation of building blocks for ABCEM models, such as agent types and market mechanisms. The user can design and compare ABCEM models in a unified environment by recombining existing building blocks using the XML-based SABCEMM configuration file. We introduce an abstract ABCEM model class which our simulation tool is built upon. Furthermore, we present the software architecture as well as computational aspects of SABCEMM. Here, we focus on the efficiency of SABCEMM with respect to the run time of our simulations. We show the great impact of different random number generators on the run time of ABCEM models. The code and documentation is published on GitHub at https://github.com/SABCEMM/SABCEMM, such that all results can be reproduced by the reader.

Suggested Citation

  • Torsten Trimborn & Philipp Otte & Simon Cramer & Max Beikirch & Emma Pabich & Martin Frank, 2018. "SABCEMM-A Simulator for Agent-Based Computational Economic Market Models," Papers 1801.01811, arXiv.org, revised Oct 2018.
  • Handle: RePEc:arx:papers:1801.01811
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Brock, William A. & Hommes, Cars H., 1998. "Heterogeneous beliefs and routes to chaos in a simple asset pricing model," Journal of Economic Dynamics and Control, Elsevier, vol. 22(8-9), pages 1235-1274, August.
    2. Herbert A. Simon, 1955. "A Behavioral Model of Rational Choice," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 69(1), pages 99-118.
    3. Michel Alexandre & Gilberto Tadeu Lima, 2020. "Combining monetary policy and prudential regulation: an agent-based modeling approach," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 15(2), pages 385-411, April.
    4. Day, Richard H. & Huang, Weihong, 1990. "Bulls, bears and market sheep," Journal of Economic Behavior & Organization, Elsevier, vol. 14(3), pages 299-329, December.
    5. Carl Chiarella & Roberto Dieci & Xue-Zhong He, 2011. "The dynamic behaviour of asset prices in disequilibrium: a survey," International Journal of Behavioural Accounting and Finance, Inderscience Enterprises Ltd, vol. 2(2), pages 101-139.
    6. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    7. Andrea Teglio & Marco Raberto & Silvano Cincotti, 2012. "The Impact Of Banks' Capital Adequacy Regulation On The Economic System: An Agent-Based Approach," Advances in Complex Systems (ACS), World Scientific Publishing Co. Pte. Ltd., vol. 15(supp0), pages 1-27.
    8. LeBaron, Blake, 2000. "Agent-based computational finance: Suggested readings and early research," Journal of Economic Dynamics and Control, Elsevier, vol. 24(5-7), pages 679-702, June.
    9. Mantel, Rolf R., 1974. "On the characterization of aggregate excess demand," Journal of Economic Theory, Elsevier, vol. 7(3), pages 348-353, March.
    10. Egenter, E. & Lux, T. & Stauffer, D., 1999. "Finite-size effects in Monte Carlo simulations of two stock market models," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 268(1), pages 250-256.
    11. William A. Brock & Cars H. Hommes, 2001. "A Rational Route to Randomness," Chapters, in: W. D. Dechert (ed.), Growth Theory, Nonlinear Dynamics and Economic Modelling, chapter 16, pages 402-438, Edward Elgar Publishing.
    12. Cross, Rod & Grinfeld, Michael & Lamba, Harbir & Seaman, Tim, 2005. "A threshold model of investor psychology," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 354(C), pages 463-478.
    13. Harras, Georges & Sornette, Didier, 2011. "How to grow a bubble: A model of myopic adapting agents," Journal of Economic Behavior & Organization, Elsevier, vol. 80(1), pages 137-152.
    14. Anirban Chakraborti & Ioane Muni Toke & Marco Patriarca & Frederic Abergel, 2011. "Econophysics review: II. Agent-based models," Quantitative Finance, Taylor & Francis Journals, vol. 11(7), pages 1013-1041.
    15. Paul De Grauwe & Marianna Grimaldi, 2014. "Heterogeneity of Agents, Transactions Costs and the Exchange Rate," World Scientific Book Chapters, in: Exchange Rates and Global Financial Policies, chapter 2, pages 33-70, World Scientific Publishing Co. Pte. Ltd..
    16. Dieci, Roberto & Foroni, Ilaria & Gardini, Laura & He, Xue-Zhong, 2006. "Market mood, adaptive beliefs and asset price dynamics," Chaos, Solitons & Fractals, Elsevier, vol. 29(3), pages 520-534.
    17. Alan Kirman, 1993. "Ants, Rationality, and Recruitment," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 108(1), pages 137-156.
    18. Jean-Philippe Bouchaud & Rama Cont, 1998. "A Langevin approach to stock market fluctuations and crashes," Science & Finance (CFM) working paper archive 500027, Science & Finance, Capital Fund Management.
    19. Norman Ehrentreich, 2008. "Agent-Based Modeling," Lecture Notes in Economics and Mathematical Systems, Springer, number 978-3-540-73879-4, October.
    20. Kempf, Alexander & Korn, Olaf, 1999. "Market depth and order size1," Journal of Financial Markets, Elsevier, vol. 2(1), pages 29-48, February.
    21. Alfarano, Simone & Lux, Thomas & Wagner, Friedrich, 2008. "Time variation of higher moments in a financial market with heterogeneous agents: An analytical approach," Journal of Economic Dynamics and Control, Elsevier, vol. 32(1), pages 101-136, January.
    22. Chiarella, Carl & Dieci, Roberto & Gardini, Laura, 2006. "Asset price and wealth dynamics in a financial market with heterogeneous agents," Journal of Economic Dynamics and Control, Elsevier, vol. 30(9-10), pages 1755-1786.
    23. Thomas Lux & Michele Marchesi, 2000. "Volatility Clustering In Financial Markets: A Microsimulation Of Interacting Agents," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 3(04), pages 675-702.
    24. repec:pri:cepsud:91malkiel is not listed on IDEAS
    25. Challet, Damien & Marsili, Matteo & Zhang, Yi-Cheng, 2001. "Stylized facts of financial markets and market crashes in Minority Games," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 294(3), pages 514-524.
    26. Kirman Alan & Teyssière Gilles, 2002. "Microeconomic Models for Long Memory in the Volatility of Financial Time Series," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 5(4), pages 1-23, January.
    27. Jean-Philippe Bouchaud, 2008. "Economics need a scientific revolution," Papers 0810.5306, arXiv.org.
    28. Levy, Moshe & Levy, Haim & Solomon, Sorin, 1994. "A microscopic model of the stock market : Cycles, booms, and crashes," Economics Letters, Elsevier, vol. 45(1), pages 103-111, May.
    29. Jean-Philippe Bouchaud, 2002. "An introduction to statistical finance," Science & Finance (CFM) working paper archive 313238, Science & Finance, Capital Fund Management.
    30. Kaizoji, Taisei, 2000. "Speculative bubbles and crashes in stock markets: an interacting-agent model of speculative activity," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 287(3), pages 493-506.
    31. Chiarella, Carl & Dieci, Roberto & He, Xue-Zhong, 2007. "Heterogeneous expectations and speculative behavior in a dynamic multi-asset framework," Journal of Economic Behavior & Organization, Elsevier, vol. 62(3), pages 408-427, March.
    32. Damien Challet & Matteo Marsili, 2002. "Criticality and finite size effects in a simple realistic model of stock market," Papers cond-mat/0210549, arXiv.org, revised Dec 2002.
    33. Jean-Philippe Bouchaud, 2008. "Economics needs a scientific revolution," Nature, Nature, vol. 455(7217), pages 1181-1181, October.
    34. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    35. Kaizoji, Taisei & Bornholdt, Stefan & Fujiwara, Yoshi, 2002. "Dynamics of price and trading volume in a spin model of stock markets with heterogeneous agents," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 316(1), pages 441-452.
    36. Debreu, Gerard, 1974. "Excess demand functions," Journal of Mathematical Economics, Elsevier, vol. 1(1), pages 15-21, March.
    37. Franke, Reiner & Westerhoff, Frank, 2012. "Structural stochastic volatility in asset pricing dynamics: Estimation and model contest," Journal of Economic Dynamics and Control, Elsevier, vol. 36(8), pages 1193-1211.
    38. Cont, Rama & Bouchaud, Jean-Philipe, 2000. "Herd Behavior And Aggregate Fluctuations In Financial Markets," Macroeconomic Dynamics, Cambridge University Press, vol. 4(2), pages 170-196, June.
    39. Beja, Avraham & Goldman, M Barry, 1980. "On the Dynamic Behavior of Prices in Disequilibrium," Journal of Finance, American Finance Association, vol. 35(2), pages 235-248, May.
    40. R. Cross & M. Grinfeld & H. Lamba & T. Seaman, 2007. "Stylized facts from a threshold-based heterogeneous agent model," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 57(2), pages 213-218, May.
    41. Daniel Kahneman, 2003. "Maps of Bounded Rationality: Psychology for Behavioral Economics," American Economic Review, American Economic Association, vol. 93(5), pages 1449-1475, December.
    42. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    43. Bouchaud, Jean-Philippe, 2002. "An introduction to statistical finance," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 313(1), pages 238-251.
    44. Sonnenschein, Hugo, 1972. "Market Excess Demand Functions," Econometrica, Econometric Society, vol. 40(3), pages 549-563, May.
    45. Farmer, J. Doyne & Joshi, Shareen, 2002. "The price dynamics of common trading strategies," Journal of Economic Behavior & Organization, Elsevier, vol. 49(2), pages 149-171, October.
    46. R. Kohl, 1997. "The Influence of the Number of Different Stocks on the Levy–Levy–Solomon Model," International Journal of Modern Physics C (IJMPC), World Scientific Publishing Co. Pte. Ltd., vol. 8(06), pages 1309-1316.
    47. Anirban Chakraborti & Ioane Muni Toke & Marco Patriarca & Frédéric Abergel, 2011. "Econophysics review: II. Agent-based models," Post-Print hal-00621059, HAL.
    48. Iori, G. & Porter, J., 2012. "Agent-Based Modelling for Financial Markets," Working Papers 12/08, Department of Economics, City University London.
    49. Chiarella, Carl & Dieci, Roberto & Gardini, Laura, 2002. "Speculative behaviour and complex asset price dynamics: a global analysis," Journal of Economic Behavior & Organization, Elsevier, vol. 49(2), pages 173-197, October.
    50. J. Doyne Farmer & Duncan Foley, 2009. "The economy needs agent-based modelling," Nature, Nature, vol. 460(7256), pages 685-686, August.
    51. Levy, Haim & Levy, Moshe & Solomon, Sorin, 2000. "Microscopic Simulation of Financial Markets," Elsevier Monographs, Elsevier, edition 1, number 9780124458901.
    52. W.-X. Zhou & D. Sornette, 2007. "Self-organizing Ising model of financial markets," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 55(2), pages 175-181, January.
    53. Zschischang, Elmar & Lux, Thomas, 2001. "Some new results on the Levy, Levy and Solomon microscopic stock market model," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 291(1), pages 563-573.
    54. Lux, Thomas, 1995. "Herd Behaviour, Bubbles and Crashes," Economic Journal, Royal Economic Society, vol. 105(431), pages 881-896, July.
    55. Thomas Lux & Michele Marchesi, 1999. "Scaling and criticality in a stochastic multi-agent model of a financial market," Nature, Nature, vol. 397(6719), pages 498-500, February.
    56. William A. Brock & Cars H. Hommes, 1997. "A Rational Route to Randomness," Econometrica, Econometric Society, vol. 65(5), pages 1059-1096, September.
    57. Sornette, Didier & Zhou, Wei-Xing, 2006. "Importance of positive feedbacks and overconfidence in a self-fulfilling Ising model of financial markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 370(2), pages 704-726.
    58. D. Sornette, 2014. "Physics and Financial Economics (1776-2014): Puzzles, Ising and Agent-Based models," Papers 1404.0243, arXiv.org.
    59. Challet, Damien & Marsili, Matteo & Zhang, Yi-Cheng, 2001. "Minority games and stylized facts," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 299(1), pages 228-233.
    60. Carl Chiarella & Roberto Dieci & Laura Gardini, 2005. "The Dynamic Interaction of Speculation and Diversification," Applied Mathematical Finance, Taylor & Francis Journals, vol. 12(1), pages 17-52.
    61. Hellekalek, P., 1998. "Good random number generators are (not so) easy to find," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 46(5), pages 485-505.
    62. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 59-82, Winter.
    63. Lux, Thomas, 2008. "Stochastic behavioral asset pricing models and the stylized facts," Kiel Working Papers 1426, Kiel Institute for the World Economy (IfW Kiel).
    64. Hommes, Cars H., 2006. "Heterogeneous Agent Models in Economics and Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 23, pages 1109-1186, Elsevier.
    65. E. Samanidou & E. Zschischang & D. Stauffer & T. Lux, 2007. "Agent-based Models of Financial Markets," Papers physics/0701140, arXiv.org.
    66. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    67. Lux, Thomas, 2008. "Stochastic behavioral asset pricing models and the stylized facts," Economics Working Papers 2008-08, Christian-Albrechts-University of Kiel, Department of Economics.
    68. Simone Alfarano & Thomas Lux & Friedrich Wagner, 2005. "Estimation of Agent-Based Models: The Case of an Asymmetric Herding Model," Computational Economics, Springer;Society for Computational Economics, vol. 26(1), pages 19-49, August.
    69. Walker,Donald A., 2006. "Walrasian Economics," Cambridge Books, Cambridge University Press, number 9780521858557, September.
    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. Torsten Trimborn, 2018. "A Macroscopic Portfolio Model: From Rational Agents to Bounded Rationality," Papers 1805.11036, arXiv.org, revised Oct 2018.
    2. Maximilian Beikirch & Simon Cramer & Martin Frank & Philipp Otte & Emma Pabich & Torsten Trimborn, 2018. "Simulation of Stylized Facts in Agent-Based Computational Economic Market Models," Papers 1812.02726, arXiv.org, revised Nov 2019.
    3. Maximilian Beikirch & Torsten Trimborn, 2020. "Novel Insights in the Levy-Levy-Solomon Agent-Based Economic Market Model," Papers 2002.10222, arXiv.org.
    4. Hans Buhler & Blanka Horvath & Terry Lyons & Imanol Perez Arribas & Ben Wood, 2020. "A Data-driven Market Simulator for Small Data Environments," Papers 2006.14498, arXiv.org.
    5. Maximilian Beikirch & Simon Cramer & Martin Frank & Philipp Otte & Emma Pabich & Torsten Trimborn, 2020. "Robust Mathematical Formulation And Probabilistic Description Of Agent-Based Computational Economic Market Models," Advances in Complex Systems (ACS), World Scientific Publishing Co. Pte. Ltd., vol. 23(06), pages 1-41, September.
    6. Maximilian Beikirch & Simon Cramer & Martin Frank & Philipp Otte & Emma Pabich & Torsten Trimborn, 2019. "Robust Mathematical Formulation and Probabilistic Description of Agent-Based Computational Economic Market Models," Papers 1904.04951, arXiv.org, revised Mar 2021.

    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. Torsten Trimborn & Philipp Otte & Simon Cramer & Maximilian Beikirch & Emma Pabich & Martin Frank, 2020. "SABCEMM: A Simulator for Agent-Based Computational Economic Market Models," Computational Economics, Springer;Society for Computational Economics, vol. 55(2), pages 707-744, February.
    2. Simon Cramer & Torsten Trimborn, 2019. "Stylized Facts and Agent-Based Modeling," Papers 1912.02684, arXiv.org.
    3. Maximilian Beikirch & Simon Cramer & Martin Frank & Philipp Otte & Emma Pabich & Torsten Trimborn, 2019. "Robust Mathematical Formulation and Probabilistic Description of Agent-Based Computational Economic Market Models," Papers 1904.04951, arXiv.org, revised Mar 2021.
    4. Maximilian Beikirch & Simon Cramer & Martin Frank & Philipp Otte & Emma Pabich & Torsten Trimborn, 2020. "Robust Mathematical Formulation And Probabilistic Description Of Agent-Based Computational Economic Market Models," Advances in Complex Systems (ACS), World Scientific Publishing Co. Pte. Ltd., vol. 23(06), pages 1-41, September.
    5. Maximilian Beikirch & Simon Cramer & Martin Frank & Philipp Otte & Emma Pabich & Torsten Trimborn, 2018. "Simulation of Stylized Facts in Agent-Based Computational Economic Market Models," Papers 1812.02726, arXiv.org, revised Nov 2019.
    6. Hommes, Cars H., 2006. "Heterogeneous Agent Models in Economics and Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 23, pages 1109-1186, Elsevier.
    7. Torsten Trimborn, 2018. "A Macroscopic Portfolio Model: From Rational Agents to Bounded Rationality," Papers 1805.11036, arXiv.org, revised Oct 2018.
    8. Cars Hommes & Florian Wagener, 2008. "Complex Evolutionary Systems in Behavioral Finance," Tinbergen Institute Discussion Papers 08-054/1, Tinbergen Institute.
    9. Troy Tassier, 2013. "Handbook of Research on Complexity, by J. Barkley Rosser, Jr. and Edward Elgar," Eastern Economic Journal, Palgrave Macmillan;Eastern Economic Association, vol. 39(1), pages 132-133.
    10. Torsten Trimborn & Lorenzo Pareschi & Martin Frank, 2017. "Portfolio Optimization and Model Predictive Control: A Kinetic Approach," Papers 1711.03291, arXiv.org, revised Feb 2019.
    11. Antonio Doria, Francisco, 2011. "J.B. Rosser Jr. , Handbook of Research on Complexity, Edward Elgar, Cheltenham, UK--Northampton, MA, USA (2009) 436 + viii pp., index, ISBN 978 1 84542 089 5 (cased)," Journal of Economic Behavior & Organization, Elsevier, vol. 78(1-2), pages 196-204, April.
    12. E. Samanidou & E. Zschischang & D. Stauffer & T. Lux, 2001. "Microscopic Models of Financial Markets," Papers cond-mat/0110354, arXiv.org.
    13. Hommes, C.H., 2005. "Heterogeneous Agent Models in Economics and Finance, In: Handbook of Computational Economics II: Agent-Based Computational Economics, edited by Leigh Tesfatsion and Ken Judd , Elsevier, Amsterdam 2006," CeNDEF Working Papers 05-03, Universiteit van Amsterdam, Center for Nonlinear Dynamics in Economics and Finance.
    14. E. Samanidou & E. Zschischang & D. Stauffer & T. Lux, 2007. "Agent-based Models of Financial Markets," Papers physics/0701140, arXiv.org.
    15. Carl Chiarella & Roberto Dieci & Xue-Zhong He, 2008. "Heterogeneity, Market Mechanisms, and Asset Price Dynamics," Research Paper Series 231, Quantitative Finance Research Centre, University of Technology, Sydney.
    16. Christian Lax & Torsten Trimborn, 2019. "From Disequilibrium Markets to Equilibrium," Papers 1912.09679, arXiv.org.
    17. Detlef Seese & Christof Weinhardt & Frank Schlottmann (ed.), 2008. "Handbook on Information Technology in Finance," International Handbooks on Information Systems, Springer, number 978-3-540-49487-4, November.
    18. Kristoufek, Ladislav & Vošvrda, Miloslav S., 2016. "Herding, minority game, market clearing and efficient markets in a simple spin model framework," FinMaP-Working Papers 68, Collaborative EU Project FinMaP - Financial Distortions and Macroeconomic Performance: Expectations, Constraints and Interaction of Agents.
    19. Carl Chiarella & Roberto Dieci & Xue-Zhong He, 2011. "The dynamic behaviour of asset prices in disequilibrium: a survey," International Journal of Behavioural Accounting and Finance, Inderscience Enterprises Ltd, vol. 2(2), pages 101-139.
    20. Blaurock, Ivonne & Schmitt, Noemi & Westerhoff, Frank, 2018. "Market entry waves and volatility outbursts in stock markets," Journal of Economic Behavior & Organization, Elsevier, vol. 153(C), pages 19-37.

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