IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v8y2020i2p198-d316964.html

Detecting the Proportion of Traders in the Stock Market: An Agent-Based Approach

Author

Listed:
  • Minh Tran

    (John von Neumann Institute, Vietnam National University Ho Chi Minh City, Ho Chi Minh City 70000, Vietnam
    CHArt Laboratory EA 4004, EPHE, PSL Research University, 75014 Paris, France)

  • Thanh Duong

    (CEO at QT-Data Inc., Saskatoon, SK S7K 2P7, Canada)

  • Duc Pham-Hi

    (John von Neumann Institute, Vietnam National University Ho Chi Minh City, Ho Chi Minh City 70000, Vietnam
    Financial Engineering Department, ECE Paris Graduate School of Engineering, Paris 75015, France)

  • Marc Bui

    (CHArt Laboratory EA 4004, EPHE, PSL Research University, 75014 Paris, France)

Abstract

In this research, an agent-based model (ABM) of the stock market is constructed to detect the proportion of different types of traders. We model a simple stock market which has three different types of traders: noise traders, fundamental traders, and technical traders, trading a single asset. Bayesian optimization is used to tune the hyperparameters of the strategies of traders as well as of the stock market. The experimental results on Bayesian calibration with the Kolmogorov–Smirnov (KS) test demonstrated that the proposed separate calibrations reduced simulation error, with plausible estimated parameters. With empirical data of the Dow Jones Industrial Average (DJIA) index, we found that fundamental traders account for 9%–11% of all traders in the stock market. The statistical analysis of simulated data can produce the important stylized facts in real stock markets, such as the leptokurtosis, the heavy tail of the returns, and volatility clustering.

Suggested Citation

  • Minh Tran & Thanh Duong & Duc Pham-Hi & Marc Bui, 2020. "Detecting the Proportion of Traders in the Stock Market: An Agent-Based Approach," Mathematics, MDPI, vol. 8(2), pages 1-14, February.
  • Handle: RePEc:gam:jmathe:v:8:y:2020:i:2:p:198-:d:316964
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/8/2/198/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/8/2/198/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Lux, Thomas & Alfarano, Simone, 2016. "Financial power laws: Empirical evidence, models, and mechanisms," Chaos, Solitons & Fractals, Elsevier, vol. 88(C), pages 3-18.
    2. Plott, Charles R & Sunder, Shyam, 1982. "Efficiency of Experimental Security Markets with Insider Information: An Application of Rational-Expectations Models," Journal of Political Economy, University of Chicago Press, vol. 90(4), pages 663-698, August.
    3. Recchioni, Maria Cristina & Tedeschi, Gabriele & Gallegati, Mauro, 2015. "A calibration procedure for analyzing stock price dynamics in an agent-based framework," Journal of Economic Dynamics and Control, Elsevier, vol. 60(C), pages 1-25.
    4. Lamperti, Francesco & Roventini, Andrea & Sani, Amir, 2018. "Agent-based model calibration using machine learning surrogates," Journal of Economic Dynamics and Control, Elsevier, vol. 90(C), pages 366-389.
    5. Tauchen, George E & Pitts, Mark, 1983. "The Price Variability-Volume Relationship on Speculative Markets," Econometrica, Econometric Society, vol. 51(2), pages 485-505, March.
    6. John Y. Campbell & John Cochrane, 1999. "Force of Habit: A Consumption-Based Explanation of Aggregate Stock Market Behavior," Journal of Political Economy, University of Chicago Press, vol. 107(2), pages 205-251, April.
    7. 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.
    8. H. Jeong & B. Tombor & R. Albert & Z. N. Oltvai & A.-L. Barabási, 2000. "The large-scale organization of metabolic networks," Nature, Nature, vol. 407(6804), pages 651-654, October.
    9. Waseem Akram & Muaz Niazi & Laszlo Barna Iantovics & Athanasios V. Vasilakos, 2019. "Towards Agent-Based Model Specification of Smart Grid: A Cognitive Agent-Based Computing Approach," Interdisciplinary Description of Complex Systems - scientific journal, Croatian Interdisciplinary Society Provider Homepage: http://indecs.eu, vol. 17(3-B), pages 546-585.
    10. Ferreira, Fernando F. & de Oliveira, Viviane M. & Crepaldi, Antônio F. & Campos, Paulo R.A., 2005. "Agent-based model with heterogeneous fundamental prices," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 357(3), pages 534-542.
    11. Alan P. Kirman, 1992. "Whom or What Does the Representative Individual Represent?," Journal of Economic Perspectives, American Economic Association, vol. 6(2), pages 117-136, Spring.
    12. Martin, Anna D., 2001. "Technical trading rules in the spot foreign exchange markets of developing countries," Journal of Multinational Financial Management, Elsevier, vol. 11(1), pages 59-68, February.
    13. M. Cristelli & L. Pietronero & A. Zaccaria, 2011. "Critical Overview of Agent-Based Models for Economics," Papers 1101.1847, arXiv.org.
    14. Brian M. Lucey & Michael Dowling, 2005. "The Role of Feelings in Investor Decision‐Making," Journal of Economic Surveys, Wiley Blackwell, vol. 19(2), pages 211-237, April.
    15. Lamperti, Francesco & Roventini, Andrea & Sani, Amir, 2018. "Agent-based model calibration using machine learning surrogates," Journal of Economic Dynamics and Control, Elsevier, vol. 90(C), pages 366-389.
    16. Brock, William & Lakonishok, Josef & LeBaron, Blake, 1992. "Simple Technical Trading Rules and the Stochastic Properties of Stock Returns," Journal of Finance, American Finance Association, vol. 47(5), pages 1731-1764, December.
    17. Pagani, Giuliano Andrea & Aiello, Marco, 2013. "The Power Grid as a complex network: A survey," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 392(11), pages 2688-2700.
    18. 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.
    Full references (including those not matched with items on IDEAS)

    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. Sylvain Mignot & Annick Vignes, 2020. "The Many Faces of Agent-Based Computational Economics: Ecology of Agents, Bottom-Up Approaches and Paradigm Shift [Les modèles multi-agents en économie, entre agents hétérogènes, approches bottom-u," Post-Print hal-02956172, HAL.
    2. Kukacka, Jiri & Kristoufek, Ladislav, 2021. "Does parameterization affect the complexity of agent-based models?," Journal of Economic Behavior & Organization, Elsevier, vol. 192(C), pages 324-356.
    3. Delli Gatti, Domenico & Grazzini, Jakob, 2020. "Rising to the challenge: Bayesian estimation and forecasting techniques for macroeconomic Agent Based Models," Journal of Economic Behavior & Organization, Elsevier, vol. 178(C), pages 875-902.
    4. Matteo Coronese & Davide Luzzati, 2022. "Economic impacts of natural hazards and complexity science: a critical review," LEM Papers Series 2022/13, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    5. Zila, Eric & Kukacka, Jiri, 2023. "Moment set selection for the SMM using simple machine learning," Journal of Economic Behavior & Organization, Elsevier, vol. 212(C), pages 366-391.
    6. Donovan Platt, 2022. "Bayesian Estimation of Economic Simulation Models Using Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 59(2), pages 599-650, February.
    7. Oldham, Matthew, 2020. "Quantifying the concerns of Dimon and Buffett with data and computation," Journal of Economic Dynamics and Control, Elsevier, vol. 113(C).
    8. Kukacka, Jiri & Barunik, Jozef, 2017. "Estimation of financial agent-based models with simulated maximum likelihood," Journal of Economic Dynamics and Control, Elsevier, vol. 85(C), pages 21-45.
    9. G. Rigatos, 2021. "Statistical Validation of Multi-Agent Financial Models Using the H-Infinity Kalman Filter," Computational Economics, Springer;Society for Computational Economics, vol. 58(3), pages 777-798, October.
    10. Ichiro Takahashi, 2021. "An Artificial Wicksell—Keynes Macroeconomy," Springer Books, Springer, number 978-981-16-6839-5, January.
    11. 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.
    12. Kang Gao & Perukrishnen Vytelingum & Stephen Weston & Wayne Luk & Ce Guo, 2022. "Understanding intra-day price formation process by agent-based financial market simulation: calibrating the extended chiarella model," Papers 2208.14207, arXiv.org.
    13. Platt, Donovan, 2020. "A comparison of economic agent-based model calibration methods," Journal of Economic Dynamics and Control, Elsevier, vol. 113(C).
    14. Majewski, Adam A. & Ciliberti, Stefano & Bouchaud, Jean-Philippe, 2020. "Co-existence of trend and value in financial markets: Estimating an extended Chiarella model," Journal of Economic Dynamics and Control, Elsevier, vol. 112(C).
    15. Markus C. Becker & Thorbjørn Knudsen, 2017. "Heterogeneity of habits as a foundation for Schumpeterian economic policy," Journal of Evolutionary Economics, Springer, vol. 27(1), pages 43-62, January.
    16. Staccioli, Jacopo & Napoletano, Mauro, 2021. "An agent-based model of intra-day financial markets dynamics," Journal of Economic Behavior & Organization, Elsevier, vol. 182(C), pages 331-348.
    17. Raquel Almeida Ramos & Federico Bassi & Dany Lang, 2020. "Bet against the trend and cash in profits," DISCE - Working Papers del Dipartimento di Economia e Finanza def090, Università Cattolica del Sacro Cuore, Dipartimenti e Istituti di Scienze Economiche (DISCE).
    18. Giorgio Fagiolo & Mattia Guerini & Francesco Lamperti & Alessio Moneta & Andrea Roventini, 2017. "Validation of Agent-Based Models in Economics and Finance," LEM Papers Series 2017/23, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    19. Kukacka, Jiri & Sacht, Stephen, 2023. "Estimation of heuristic switching in behavioral macroeconomic models," Journal of Economic Dynamics and Control, Elsevier, vol. 146(C).
    20. Seri, Raffaello & Martinoli, Mario & Secchi, Davide & Centorrino, Samuele, 2021. "Model calibration and validation via confidence sets," Econometrics and Statistics, Elsevier, vol. 20(C), pages 62-86.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    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:gam:jmathe:v:8:y:2020:i:2:p:198-:d:316964. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.