IDEAS home Printed from https://ideas.repec.org/p/fce/doctra/1834.html
   My bibliography  Save this paper

An agent-based model of intra day financial markets dynamics

Author

Listed:
  • Jacopo Staccioli

    (Scuola Superiore Sant'Anna, Pisa, Italy)

  • Mauro Napoletano

    (OFCE, Sciences Po, Paris, France)

Abstract

We build an agent based model of a financial market that is able to jointly reproduce many of the stylized facts at different time-scales. These include properties related to returns (leptokurtosis, absence of linear autocorrelation, volatility clustering), trading volumes (volume clustering, correlation betwenn volume and volatility), and timing of trades (number of price changes, autocorrelation of durations between subsequent trades, heavy tails in their distribution, order-side clustering). With respect to previous contributions we introduce a strict event scheduling borrowed from the Euronext exchange, and an endogenous rule for traders participation. We show that such a rule is crucial to match stylized facts.

Suggested Citation

  • Jacopo Staccioli & Mauro Napoletano, 2018. "An agent-based model of intra day financial markets dynamics," Documents de Travail de l'OFCE 2018-34, Observatoire Francais des Conjonctures Economiques (OFCE).
  • Handle: RePEc:fce:doctra:1834
    as

    Download full text from publisher

    File URL: http://www.ofce.sciences-po.fr/pdf/dtravail/OFCEWP2018-34.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Kon, Stanley J, 1984. "Models of Stock Returns-A Comparison," Journal of Finance, American Finance Association, vol. 39(1), pages 147-165, March.
    2. Maury Gittleman & Michael Horrigan & Mary Joyce, 1998. "“Flexible†Workplace Practices: Evidence from a Nationally Representative Survey," ILR Review, Cornell University, ILR School, vol. 52(1), pages 99-115, October.
    3. John Y. Campbell & Sanford J. Grossman & Jiang Wang, 1993. "Trading Volume and Serial Correlation in Stock Returns," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 108(4), pages 905-939.
    4. Roberto Dieci & Xue-Zhong He, 2018. "Heterogeneous Agent Models in Finance," Research Paper Series 389, Quantitative Finance Research Centre, University of Technology, Sydney.
    5. Pellizzari, Paolo & Westerhoff, Frank, 2009. "Some effects of transaction taxes under different microstructures," Journal of Economic Behavior & Organization, Elsevier, vol. 72(3), pages 850-863, December.
    6. Sandrine Jacob Leal & Mauro Napoletano & Andrea Roventini & Giorgio Fagiolo, 2016. "Rock around the clock: An agent-based model of low- and high-frequency trading," Journal of Evolutionary Economics, Springer, vol. 26(1), pages 49-76, March.
    7. da Gama Batista, João & Massaro, Domenico & Bouchaud, Jean-Philippe & Challet, Damien & Hommes, Cars, 2017. "Do investors trade too much? A laboratory experiment," Journal of Economic Behavior & Organization, Elsevier, vol. 140(C), pages 18-34.
    8. Gian Carlo Cerruti, 2015. "Il World Class Manufacturing alla FIAT e i dualismi sociali e organizzativi della produzione snella," Economia & lavoro, Carocci editore, issue 3, pages 37-54.
    9. Aït-Sahalia, Yacine & Fan, Jianqing & Li, Yingying, 2013. "The leverage effect puzzle: Disentangling sources of bias at high frequency," Journal of Financial Economics, Elsevier, vol. 109(1), pages 224-249.
    10. Mandelbrot, Benoit B, 1971. "When Can Price Be Arbitraged Efficiently? A Limit to the Validity of the Random Walk and Martingale Models," The Review of Economics and Statistics, MIT Press, vol. 53(3), pages 225-236, August.
    11. Biais, Bruno & Hillion, Pierre & Spatt, Chester, 1995. "An Empirical Analysis of the Limit Order Book and the Order Flow in the Paris Bourse," Journal of Finance, American Finance Association, vol. 50(5), pages 1655-1689, December.
    12. 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.
    13. Tauchen, George E & Pitts, Mark, 1983. "The Price Variability-Volume Relationship on Speculative Markets," Econometrica, Econometric Society, vol. 51(2), pages 485-505, March.
    14. 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.
    15. Dan Kärreman & Stefan Sveningsson & Mats Alvesson, 2002. "The Return of the Machine Bureaucracy? - Management Control in the Work Settings of Professionals," International Studies of Management & Organization, Taylor & Francis Journals, vol. 32(2), pages 70-92, January.
    16. Konstantinos Pouliakas, 2010. "Pay Enough, Don't Pay Too Much or Don't Pay at All? The Impact of Bonus Intensity on Job Satisfaction," Kyklos, Wiley Blackwell, vol. 63(4), pages 597-626, November.
    17. Luisa Corazza, 2015. "Il World Class Manufacturing nello specchio del diritto del lavoro," Economia & lavoro, Carocci editore, issue 3, pages 79-90.
    18. Tim Bollerslev & Julia Litvinova & George Tauchen, 2006. "Leverage and Volatility Feedback Effects in High-Frequency Data," Journal of Financial Econometrics, Oxford University Press, vol. 4(3), pages 353-384.
    19. Carl Chiarella & Giulia Iori, 2002. "A simulation analysis of the microstructure of double auction markets," Quantitative Finance, Taylor & Francis Journals, vol. 2(5), pages 346-353.
    20. Andersen, Torben G. & Bollerslev, Tim, 1997. "Intraday periodicity and volatility persistence in financial markets," Journal of Empirical Finance, Elsevier, vol. 4(2-3), pages 115-158, June.
    21. Alexander K. Koch & Julia Nafziger, 2012. "Job Assignments under Moral Hazard: The Peter Principle Revisited," Journal of Economics & Management Strategy, Wiley Blackwell, vol. 21(4), pages 1029-1059, December.
    22. Rama Cont, 2007. "Volatility Clustering in Financial Markets: Empirical Facts and Agent-Based Models," Springer Books, in: Gilles Teyssière & Alan P. Kirman (ed.), Long Memory in Economics, pages 289-309, Springer.
    23. Thomas H. McInish & Robert A. Wood, 1991. "Hourly Returns, Volume, Trade Size, And Number Of Trades," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 14(4), pages 303-315, December.
    24. Robert F. Engle, 2000. "The Econometrics of Ultra-High Frequency Data," Econometrica, Econometric Society, vol. 68(1), pages 1-22, January.
    25. LeBaron, Blake, 2006. "Agent-based Computational Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 24, pages 1187-1233, Elsevier.
    26. Shiller, Robert J, 1981. "Do Stock Prices Move Too Much to be Justified by Subsequent Changes in Dividends?," American Economic Review, American Economic Association, vol. 71(3), pages 421-436, June.
    27. Raberto, Marco & Scalas, Enrico & Mainardi, Francesco, 2002. "Waiting-times and returns in high-frequency financial data: an empirical study," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 314(1), pages 749-755.
    28. Landes,David S., 2003. "The Unbound Prometheus," Cambridge Books, Cambridge University Press, number 9780521826662.
    29. Frankel, Jeffrey A & Froot, Kenneth A, 1990. "Chartists, Fundamentalists, and Trading in the Foreign Exchange Market," American Economic Review, American Economic Association, vol. 80(2), pages 181-185, May.
    30. Jaime Ortega, 2001. "Job Rotation as a Learning Mechanism," Management Science, INFORMS, vol. 47(10), pages 1361-1370, October.
    31. Dosi, Giovanni & Marengo, Luigi, 2015. "The dynamics of organizational structures and performances under diverging distributions of knowledge and different power structures," Journal of Institutional Economics, Cambridge University Press, vol. 11(3), pages 535-559, September.
    32. 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.
    33. Jean-Philippe Bouchaud & Andrew Matacz & Marc Potters, 2001. "The leverage effect in financial markets: retarded volatility and market panic," Science & Finance (CFM) working paper archive 0101120, Science & Finance, Capital Fund Management.
    34. Landes,David S., 2003. "The Unbound Prometheus," Cambridge Books, Cambridge University Press, number 9780521534024.
    35. Andrew J. Foster, 1995. "Volume‐volatility relationships for crude oil futures markets," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 15(8), pages 929-951, December.
    36. Lux, Thomas, 1998. "The socio-economic dynamics of speculative markets: interacting agents, chaos, and the fat tails of return distributions," Journal of Economic Behavior & Organization, Elsevier, vol. 33(2), pages 143-165, January.
    37. Menkhoff, Lukas, 2010. "The use of technical analysis by fund managers: International evidence," Journal of Banking & Finance, Elsevier, vol. 34(11), pages 2573-2586, November.
    38. Lockwood, Larry J & Linn, Scott C, 1990. "An Examination of Stock Market Return Volatility during Overnight and Intraday Periods, 1964-1989," Journal of Finance, American Finance Association, vol. 45(2), pages 591-601, June.
    39. Anufriev, Mikhail & Panchenko, Valentyn, 2009. "Asset prices, traders' behavior and market design," Journal of Economic Dynamics and Control, Elsevier, vol. 33(5), pages 1073-1090, May.
    40. Bonanno, Giovanni & Lillo, Fabrizio & Mantegna, Rosario N, 2000. "Dynamics of the number of trades of financial securities," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 280(1), pages 136-141.
    41. Arnaldo Camuffo & Fabrizio Gerli, 2012. "What do lean managers do? Modeling management behaviors in lean production environments," Working Papers 13, Department of Management, Università Ca' Foscari Venezia.
    42. 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.
    43. Leigh Tesfatsion & Kenneth L. Judd (ed.), 2006. "Handbook of Computational Economics," Handbook of Computational Economics, Elsevier, edition 1, volume 2, number 2.
    44. Kluger, Brian D. & McBride, Mark E., 2011. "Intraday trading patterns in an intelligent autonomous agent-based stock market," Journal of Economic Behavior & Organization, Elsevier, vol. 79(3), pages 226-245, August.
    45. Thomas H. McInish & Robert A. Wood, 1991. "Hourly Returns, Volume, Trade Size, And Number Of Trades," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 14(4), pages 303-315, December.
    46. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    47. Allen, Helen & Taylor, Mark P, 1990. "Charts, Noise and Fundamentals in the London Foreign Exchange Market," Economic Journal, Royal Economic Society, vol. 100(400), pages 49-59, Supplemen.
    48. Taylor, Mark P. & Allen, Helen, 1992. "The use of technical analysis in the foreign exchange market," Journal of International Money and Finance, Elsevier, vol. 11(3), pages 304-314, June.
    49. Benoit Mandelbrot, 2015. "The Variation of Certain Speculative Prices," World Scientific Book Chapters, in: Anastasios G Malliaris & William T Ziemba (ed.), THE WORLD SCIENTIFIC HANDBOOK OF FUTURES MARKETS, chapter 3, pages 39-78, World Scientific Publishing Co. Pte. Ltd..
    50. Gilles Teyssière & Alan P. Kirman (ed.), 2007. "Long Memory in Economics," Springer Books, Springer, number 978-3-540-34625-8, June.
    51. Suzanne S. Lee, 2012. "Jumps and Information Flow in Financial Markets," Review of Financial Studies, Society for Financial Studies, vol. 25(2), pages 439-479.
    52. Lux, Thomas, 1995. "Herd Behaviour, Bubbles and Crashes," Economic Journal, Royal Economic Society, vol. 105(431), pages 881-896, July.
    53. W. Brian Arthur & Paul Tayler, "undated". "Asset Pricing Under Endogenous Expectations in an Artificial Stock Market," Computing in Economics and Finance 1997 57, Society for Computational Economics.
    54. Gallant, A Ronald & Rossi, Peter E & Tauchen, George, 1992. "Stock Prices and Volume," Review of Financial Studies, Society for Financial Studies, vol. 5(2), pages 199-242.
    55. Follmer, Hans & Horst, Ulrich & Kirman, Alan, 2005. "Equilibria in financial markets with heterogeneous agents: a probabilistic perspective," Journal of Mathematical Economics, Elsevier, vol. 41(1-2), pages 123-155, February.
    56. Jain, Prem C. & Joh, Gun-Ho, 1988. "The Dependence between Hourly Prices and Trading Volume," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 23(3), pages 269-283, 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. Bazzana, Davide & Colturato, Michele & Savona, Roberto, 2021. "Learning about Unprecedented Events: Agent-Based Modelling and the Stock Market Impact of COVID-19," FEEM Working Papers 314928, Fondazione Eni Enrico Mattei (FEEM).
    2. Davide Bazzana & Michele Colturato & Roberto Savona, 2021. "Learning about Unprecedented Events: Agent-Based Modelling and the Stock Market Impact of COVID-19," Working Papers 2021.26, Fondazione Eni Enrico Mattei.

    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. repec:hal:spmain:info:hdl:2441/5mqflt6amg8gab4rlqn6sbko4b is not listed on IDEAS
    2. 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.
    3. Ya-Chi Huang & Chueh-Yung Tsao, 2018. "Discovering Traders’ Heterogeneous Behavior in High-Frequency Financial Data," Computational Economics, Springer;Society for Computational Economics, vol. 51(4), pages 821-846, April.
    4. 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.
    5. Raquel Almeida Ramos & Federico Bassi & Dany Lang, 2020. "Bet against the trend and cash in profits," CEPN Working Papers halshs-02956879, HAL.
    6. Cirillo, Valeria & Rinaldini, Matteo & Staccioli, Jacopo & Virgillito, Maria Enrica, 2018. "Workers’ awareness context in Italian 4.0 factories," GLO Discussion Paper Series 240, Global Labor Organization (GLO).
    7. 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.
    8. Valeria Cirillo & Matteo Rinaldini & Jacopo Staccioli & Maria Enrica Virgillito, 2018. "Workers' intervention authority in Italian 4.0 factories: autonomy and discretion," LEM Papers Series 2018/13, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    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. 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.
    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. Xue-Zhong He & Youwei Li, 2017. "The adaptiveness in stock markets: testing the stylized facts in the DAX 30," Journal of Evolutionary Economics, Springer, vol. 27(5), pages 1071-1094, November.
    13. Cars Hommes & Florian Wagener, 2008. "Complex Evolutionary Systems in Behavioral Finance," Tinbergen Institute Discussion Papers 08-054/1, Tinbergen Institute.
    14. Frank H. Westerhoff, 2009. "Exchange Rate Dynamics: A Nonlinear Survey," Chapters, in: J. Barkley Rosser Jr. (ed.), Handbook of Research on Complexity, chapter 11, Edward Elgar Publishing.
    15. Radu T. Pruna & Maria Polukarov & Nicholas R. Jennings, 2016. "A new structural stochastic volatility model of asset pricing and its stylized facts," Papers 1604.08824, arXiv.org.
    16. 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.
    17. Alessio Emanuele Biondo, 2019. "Order book modeling and financial stability," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 14(3), pages 469-489, September.
    18. 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.
    19. Alexandru Mandes & Peter Winker, 2017. "Complexity and model comparison in agent based modeling of financial markets," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 12(3), pages 469-506, October.
    20. Biondo, Alessio Emanuele, 2017. "Learning to forecast, risk aversion, and microstructural aspects of financial stability," Economics Discussion Papers 2017-104, Kiel Institute for the World Economy (IfW Kiel).
    21. 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.

    More about this item

    Keywords

    Intra-day financial dynmaics; stylized facts; agent-based artificial stock markets; Market microstructure;
    All these keywords.

    JEL classification:

    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • E12 - Macroeconomics and Monetary Economics - - General Aggregative Models - - - Keynes; Keynesian; Post-Keynesian; Modern Monetary Theory
    • E22 - Macroeconomics and Monetary Economics - - Consumption, Saving, Production, Employment, and Investment - - - Investment; Capital; Intangible Capital; Capacity
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • O4 - Economic Development, Innovation, Technological Change, and Growth - - Economic Growth and Aggregate Productivity

    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:fce:doctra:1834. 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: Francesco Saraceno (email available below). General contact details of provider: https://edirc.repec.org/data/ofcspfr.html .

    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.