Simulating Financial Market via Large Language Model based Agents

Shen Gao, Yuntao Wen, Minghang Zhu, Jianing Wei, Yuhan Cheng +2 more
6/28/2024
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Most economic theories typically assume that financial market participants are fully rational individuals and use mathematical models to simulate human behavior in financial markets. However, human behavior is often not entirely rational and is challenging to predict accurately with mathematical models. In this paper, we propose \textbf{A}gent-based \textbf{S}imulated \textbf{F}inancial \textbf{M}arket (ASFM), which first constructs a simulated stock market with a real order matching system. Then, we propose a large language model based agent as the stock trader, which contains the profile, observation, and tool-learning based action module. The trading agent can comprehensively understand current market dynamics and financial policy information, and make decisions that align with their trading strategy. In the experiments, we first verify that the reactions of our ASFM are consistent with the real stock market in two controllable scenarios. In addition, we also conduct experiments in two popular economics research directions, and we find that conclusions drawn in our \model align with the preliminary findings in economics research. Based on these observations, we believe our proposed ASFM provides a new paradigm for economic research.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gao2024simulating,
  title  = {Simulating Financial Market via Large Language Model based Agents},
  author = {Shen Gao and Yuntao Wen and Minghang Zhu and Jianing Wei and Yuhan Cheng and Qunzi Zhang and Shuo Shang},
  year   = {2024},
  eprint = {2406.19966},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.19966v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.19966.svg)](https://codeofpaper.com/paper/2406.19966)

Discussion