IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2602.07023.html

Behavioral Consistency Validation for LLM Agents: An Analysis of Trading-Style Switching through Stock-Market Simulation

Author

Listed:
  • Zeping Li
  • Guancheng Wan
  • Keyang Chen
  • Yu Chen
  • Yiwen Zhao
  • Philip Torr
  • Guangnan Ye
  • Zhenfei Yin
  • Hongfeng Chai

Abstract

Recent works have increasingly applied Large Language Models (LLMs) as agents in financial stock market simulations to test if micro-level behaviors aggregate into macro-level phenomena. However, a crucial question arises: Do LLM agents' behaviors align with real market participants? This alignment is key to the validity of simulation results. To explore this, we select a financial stock market scenario to test behavioral consistency. Investors are typically classified as fundamental or technical traders, but most simulations fix strategies at initialization, failing to reflect real-world trading dynamics. In this work, we assess whether agents' strategy switching aligns with financial theory, providing a framework for this evaluation. We operationalize four behavioral-finance drivers-loss aversion, herding, wealth differentiation, and price misalignment-as personality traits set via prompting and stored long-term. In year-long simulations, agents process daily price-volume data, trade under a designated style, and reassess their strategy every 10 trading days. We introduce four alignment metrics and use Mann-Whitney U tests to compare agents' style-switching behavior with financial theory. Our results show that recent LLMs' switching behavior is only partially consistent with behavioral-finance theories, highlighting the need for further refinement in aligning agent behavior with financial theory.

Suggested Citation

  • Zeping Li & Guancheng Wan & Keyang Chen & Yu Chen & Yiwen Zhao & Philip Torr & Guangnan Ye & Zhenfei Yin & Hongfeng Chai, 2026. "Behavioral Consistency Validation for LLM Agents: An Analysis of Trading-Style Switching through Stock-Market Simulation," Papers 2602.07023, arXiv.org, revised Mar 2026.
  • Handle: RePEc:arx:papers:2602.07023
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2602.07023
    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. 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.
    3. Jeremy C. Stein & Anil K. Kashyap, 2000. "What Do a Million Observations on Banks Say about the Transmission of Monetary Policy?," American Economic Review, American Economic Association, vol. 90(3), pages 407-428, June.
    4. Daniel Kahneman & Amos Tversky, 2013. "Prospect Theory: An Analysis of Decision Under Risk," World Scientific Book Chapters, in: Leonard C MacLean & William T Ziemba (ed.), HANDBOOK OF THE FUNDAMENTALS OF FINANCIAL DECISION MAKING Part I, chapter 6, pages 99-127, World Scientific Publishing Co. Pte. Ltd..
    5. 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.
    6. Iori, Giulia, 2002. "A microsimulation of traders activity in the stock market: the role of heterogeneity, agents' interactions and trade frictions," Journal of Economic Behavior & Organization, Elsevier, vol. 49(2), pages 269-285, October.
    7. 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.
    8. Jianhao Lin & Lexuan Sun & Yixin Yan, 2025. "Simulating Macroeconomic Expectations using LLM Agents," Papers 2505.17648, arXiv.org, revised Nov 2025.
    9. Abhijit V. Banerjee, 1992. "A Simple Model of Herd Behavior," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 107(3), pages 797-817.
    10. Joshua M. Epstein & Robert L. Axtell, 1996. "Growing Artificial Societies: Social Science from the Bottom Up," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262550253, December.
    11. 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.
    12. 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. E. Samanidou & E. Zschischang & D. Stauffer & T. Lux, 2001. "Microscopic Models of Financial Markets," Papers cond-mat/0110354, arXiv.org.
    2. 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.
    3. 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.
    4. Shi-Nan Cao & Jing Deng & Honggang Li, 2010. "Prospect theory and risk appetite: an application to traders’ strategies in the financial market," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 5(2), pages 249-259, December.
    5. 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.
    6. Cars Hommes & Florian Wagener, 2008. "Complex Evolutionary Systems in Behavioral Finance," Tinbergen Institute Discussion Papers 08-054/1, Tinbergen Institute.
    7. E. Samanidou & E. Zschischang & D. Stauffer & T. Lux, 2007. "Agent-based Models of Financial Markets," Papers physics/0701140, arXiv.org.
    8. Kai Li, 2014. "Asset Price Dynamics with Heterogeneous Beliefs and Time Delays," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 1-2014, January-A.
    9. Xue-Zhong He & Youwei Li, 2008. "Heterogeneity, convergence, and autocorrelations," Quantitative Finance, Taylor & Francis Journals, vol. 8(1), pages 59-79.
    10. Kai Li, 2014. "Asset Price Dynamics with Heterogeneous Beliefs and Time Delays," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 13, July-Dece.
    11. Youwei Li & Xue-Zhong He, 2005. "Long Memory, Heterogeneity, and Trend Chasing," Computing in Economics and Finance 2005 113, Society for Computational Economics.
    12. Karlis, Alexandros & Galanis, Girogos & Terovitis, Spyridon & Turner, Matthew, "undated". "Heterogeneity and Clustering of Defaults," Economic Research Papers 270011, University of Warwick - Department of Economics.
    13. He, Xue-Zhong & Li, Kai & Santi, Caterina & Shi, Lei, 2022. "Social interaction, volatility clustering, and momentum," Journal of Economic Behavior & Organization, Elsevier, vol. 203(C), pages 125-149.
    14. Daniele Giachini, 2018. "Rationality and Asset Prices under Belief Heterogeneity," LEM Papers Series 2018/07, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    15. He, Xue-Zhong & Li, Youwei, 2015. "Testing of a market fraction model and power-law behaviour in the DAX 30," Journal of Empirical Finance, Elsevier, vol. 31(C), pages 1-17.
    16. Torsten Trimborn, 2018. "A Macroscopic Portfolio Model: From Rational Agents to Bounded Rationality," Papers 1805.11036, arXiv.org, revised Oct 2018.
    17. 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.
    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.
    19. Tubbenhauer, Tobias & Fieberg, Christian & Poddig, Thorsten, 2021. "Multi-agent-based VaR forecasting," Journal of Economic Dynamics and Control, Elsevier, vol. 131(C).
    20. Noemi Schmitt & Frank Westerhoff, 2017. "Heterogeneity, spontaneous coordination and extreme events within large-scale and small-scale agent-based financial market models," Journal of Evolutionary Economics, Springer, vol. 27(5), pages 1041-1070, November.

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