FinMem: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Design
Open accessAbstract
Recent advancements in Large Language Models (LLMs) have exhibited notable efficacy in question-answering (QA) tasks across diverse domains. Their prowess in integrating extensive web knowledge has fueled interest in developing LLM-based autonomous agents. While LLMs are efficient in decoding human instructions and deriving solutions by holistically processing historical inputs, transitioning to purpose-driven agents requires a supplementary rational architecture to process multi-source information, establish reasoning chains, and prioritize critical tasks. Addressing this, we introduce \textsc{FinMem}, a novel LLM-based agent framework devised for financial decision-making. It encompasses three core modules: Profiling, to customize the agent's characteristics; Memory, with layered message processing, to aid the agent in assimilating hierarchical financial data; and Decision-making, to convert insights gained from memories into investment decisions. Notably, \textsc{FinMem}'s memory module aligns closely with the cognitive structure of human traders, offering robust interpretability and real-time tuning. Its adjustable cognitive span allows for the retention of critical information beyond human perceptual limits, thereby enhancing trading outcomes. This framework enables the agent to self-evolve its professional knowledge, react agilely to new investment cues, and continuously refine trading decisions in the volatile financial environment. We first compare \textsc{FinMem} with various algorithmic agents on a scalable real-world financial dataset, underscoring its leading trading performance in stocks. We then fine-tuned the agent's perceptual span and character setting to achieve a significantly enhanced trading performance. Collectively, \textsc{FinMem} presents a cutting-edge LLM agent framework for automated trading, boosting cumulative investment returns.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In [31, 53, 57], rule based strategies such as 'Buy and Hold', 'Mean Reversion' and 'ShortTerm Reversal' are used as baseline.
“In [31, 53, 57], rule based strategy such as”
From Large Language Model Agent in Financial Trading: A Survey (2026) · cites this paper as [53]
The “Buy-and-Hold strategy (B&H)” section describes Buy and Hold as a baseline, and the performance comparison tables include it. The passages found do not show FinMem using Mean Reversion or Short-Term Reversal as baselines, so those examples are not supported by this source. (LLM, conf=0.87)
Experimental — accuracy not yet measuredLLM agents have achieved annualized return ranging from 15% to 30% over the strongest baseline during backtesting period with real market data.
“Our survey[8, 29, 53, 57] shows that LLM agents have achieved annualized return ranging from 15% to 30% over the strongest baseline during backtesting period with real market data, which demonstrates the great potential of using LLM in financial trading.”
From Large Language Model Agent in Financial Trading: A Survey (2026) · cites this paper as [53]
Section 5.2 reports that FinMem outperformed the other agents and the buy-and-hold baseline in testing, supporting the claim of stronger backtested trading performance. But Table 2 and Section 4.3 report cumulative returns, not annualized returns; the margins over the strongest comparator also do not consistently fall between 15% and 30%. (LLM, conf=0.88)
Experimental — accuracy not yet measuredDeep reinforcement learning frameworks such as PPO and DQN are used as a benchmark in [53, 57].
“Deep reinforcement learning frameworks such as PPO[43] and DQN[34] are also used as a benchmark in [53, 57].”
From Large Language Model Agent in Financial Trading: A Survey (2026) · cites this paper as [53]
TradingGPT proposed an architecture similar to FinMem with an extra step where agents debate on each other's actions and reflections, thereby improving the robustness of reflections.
“TradingGPT[27] proposed a similar architecture as FinMem[53] with one extra step that agents debate on each other's actions and reflections, thereby improving the robustness of reflections.”
From Large Language Model Agent in Financial Trading: A Survey (2026) · cites this paper as [53]
News data from reputable sources is extensively used in various studies to stay up-to-date with the real-world financial market.
“This type of data is extensively used in various studies [20, 27, 51, 53, 57] to stay up-to-date with the real-world financial market.”
From Large Language Model Agent in Financial Trading: A Survey (2026) · cites this paper as [53]
Financial reports are extensively utilized by financial trading agents like FinMem, TradingGPT, and FinAgent to enrich the agents' memory and make informed trading decisions.
“They are extensively utilized by financial trading agents like FinMem [53], TradingGPT [27], and FinAgent [57]. These works incorporate financial reports to enrich the agents' memory and make informed trading decisions.”
From Large Language Model Agent in Financial Trading: A Survey (2026) · cites this paper as [53]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Cognitive Architectures for Language Agents
Sumers, T. R., Yao, S., Narasimhan, K., & Griffiths, T. L. (2023) · arXiv · doi:10.48550/arxiv.2309.02427 · Cited by 72 · see citing works
Flagged first, then by citations
Research works printed but not linked: 48
- Andrew Ang and Joseph Chen. "Downside Risk". In: Journal of Portfolio Management 29.4 (2003), pp. 103-112.
- Lisa P Argyle et al. "Out of one, many: Using language models to simulate human samples". In: Political Analysis 31.3 (2023), pp. 337-351.
- Fischer Black. "Noise". In: The journal of finance 41.3 (1986), pp. 528-543.
- Tai-Liang Chen. "Forecasting the Taiwan stock market with a novel momentum-based fuzzy time-series". In: Review of Economics & Finance 2 (2012), pp. 38-50.
- John H. Cochrane. "Volatility Tests and Efficient Markets: A Review Essay". In: Journal of Monetary Economics 22.3 (1988), pp. 463-485.
- Fergus IM Craik and Robert S Lockhart. "Levels of processing: A framework for memory research". In: Journal of verbal learning and verbal behavior 11.6 (1972), pp. 671-684.
- Quang-Vinh Dang. "Reinforcement learning in stock trading". In: International conference on computer science, applied mathematics and applications. Springer. 2019, pp. 311-322.
- Jacob Devlin et al. "Bert: Pre-training of deep bidirectional transformers for language understanding". In: arXiv preprint arXiv:1810.04805 (2018). · arXiv
- Robert D Edwards, John Magee, and WH Charles Bassetti. Technical analysis of stock trends. CRC press, 2018.
- Kawin Ethayarajh. "How contextual are contextualized word representations? Comparing the geometry of BERT, ELMo, and GPT-2 embeddings". In: arXiv preprint arXiv:1909.00512 (2019). · arXiv
- Samuel J Gershman and Bence P Ölveczky. "The neurobiology of deep reinforcement learning". In: Current Biology 30.11 (2020), R629-R632.
- Yoav Goldberg and Omer Levy. "word2vec Explained: deriving Mikolov et al.'s negative-sampling word- embedding method". In: arXiv preprint arXiv:1402.3722 (2014). · arXiv
- Sepp Hochreiter and Jürgen Schmidhuber. "Long short-term memory". In: Neural computation 9.8 (1997), pp. 1735-1780.
- Boming Huang et al. "Automated trading systems statistical and machine learning methods and hardware implementation: a survey". In: Enterprise Information Systems 13.1 (2019), pp. 132-144.
- Ziheng Huang et al. "Memory sandbox: Transparent and interactive memory management for conversational agents". In: arXiv preprint arXiv:2308.01542 (2023). · arXiv
- John Hull. Risk Management and Financial Institutions. John Wiley & Sons, 2007.
- O Jangmin et al. "Adaptive stock trading with dynamic asset allocation using reinforcement learning". In: Information Sciences 176.15 (2006), pp. 2121-2147.
- Jeff Johnson, Matthijs Douze, and Hervé Jégou. "Billion-scale similarity search with GPUs". In: IEEE Transac- tions on Big Data 7.3 (2019), pp. 535-547.
- Yifei Li et al. "Making language models better reasoners with step-aware verifier". In: Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2023, pp. 5315-5333.
- Mark Liffiton et al. "Codehelp: Using large language models with guardrails for scalable support in programming classes". In: arXiv preprint arXiv:2308.06921 (2023). · arXiv
- Xiao-Yang Liu et al. "FinRL-Meta: Market environments and benchmarks for data-driven financial reinforcement learning". In: Advances in Neural Information Processing Systems 35 (2022), pp. 1835-1849.
- Xiao-Yang Liu et al. "FinRL: A deep reinforcement learning library for automated stock trading in quantitative finance". In: arXiv preprint arXiv:2011.09607 (2020). · arXiv
- Xiao-Yang Liu et al. "FinRL: Deep reinforcement learning framework to automate trading in quantitative finance". In: ACM International Conference on AI in Finance (ICAIF) (2021).
- George A Miller. "The magical number seven, plus or minus two: Some limits on our capacity for processing information." In: Psychological review 63.2 (1956), p. 81.
- Volodymyr Mnih et al. "Asynchronous methods for deep reinforcement learning". In: International conference on machine learning. PMLR. 2016, pp. 1928-1937.
- Volodymyr Mnih et al. "Playing atari with deep reinforcement learning". In: arXiv preprint arXiv:1312.5602 (2013). · arXiv
- Jaap MJ Murre and Joeri Dros. "Replication and analysis of Ebbinghaus' forgetting curve". In: PloS one 10.7 (2015), e0120644.
- OpenAI. GPT-4 Technical Report. 2023. arXiv: 2303.08774 [cs.CL]. · arXiv
- Joon Sung Park et al. "Generative Agents: Interactive Simulacra of Human Behavior". In: Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology. UIST '23. San Francisco, CA, USA: Association for Computing Machinery, 2023. ISBN: 9798400701320. DOI: 10.1145/3586183.3606763. URL: https://doi.org/10.1145/3586183.3606763. · DOI · Paper page
- Joon Sung Park et al. "Social simulacra: Creating populated prototypes for social computing systems". In: Proceedings of the 35th Annual ACM Symposium on User Interface Software and Technology. 2022, pp. 1-18.
- Eero Pätäri and Mika Vilska. "Performance of moving average trading strategies over varying stock market conditions: the Finnish evidence". In: Applied Economics 46.24 (2014), pp. 2851-2872.
- Jeffrey Pennington, Richard Socher, and Christopher D Manning. "Glove: Global vectors for word representation". In: Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP). 2014, pp. 1532-1543.
- Tidor-Vlad Pricope. "Deep reinforcement learning in quantitative algorithmic trading: A review". In: arXiv preprint arXiv:2106.00123 (2021). · arXiv
- Antonin Raffin et al. "Stable-Baselines3: Reliable Reinforcement Learning Implementations". In: Journal of Machine Learning Research 22.268 (2021), pp. 1-8. URL: http://jmlr.org/papers/v22/20-1364.html.
- John Schulman et al. "Proximal policy optimization algorithms". In: arXiv preprint arXiv:1707.06347 (2017). · arXiv
- William F. Sharpe. "The Sharpe Ratio". In: The Journal of Portfolio Management 21.1 (1994), pp. 49-58.
- Ron Sun. "Desiderata for cognitive architectures". In: Philosophical psychology 17.3 (2004), pp. 341-373.
- Hugo Touvron et al. "Llama: Open and efficient foundation language models". In: arXiv preprint arXiv:2302.13971 (2023). · arXiv
- Rashesh Vaidya. "Moving Average Convergence-Divergence (MACD) Trading Rule: An Application in Nepalese Stock Market" NEPSE"". In: Quantitative Economics and Management Studies 1.6 (2020), pp. 366-374.
- Lei Wang et al. "A survey on large language model-based autonomous agents". In: arXiv preprint arXiv:2308.11432 (2023). · arXiv
- Lei Wang et al. "RecAgent: A Novel Simulation Paradigm for Recommender Systems". In: arXiv preprint arXiv:2306.02552 (2023). · arXiv
- Shijie Wu et al. "Bloomberggpt: A large language model for finance". In: arXiv preprint arXiv:2303.17564 (2023). · arXiv
- Xing Wu et al. "Adaptive stock trading strategies with deep reinforcement learning methods". In: Information Sciences 538 (2020), pp. 142-158.
- Zhuoran Xiong et al. "Practical deep reinforcement learning approach for stock trading". In: arXiv preprint arXiv:1811.07522 (2018), pp. 1-7. · arXiv
- Hongyang Yang, Xiao-Yang Liu, and Christina Dan Wang. "FinGPT: Open-Source Financial Large Language Models". In: arXiv preprint arXiv:2306.06031 (2023). · arXiv
- Hongyang Yang et al. "Deep reinforcement learning for automated stock trading: An ensemble strategy". In: Proceedings of the first ACM international conference on AI in finance. 2020, pp. 1-8.
- Hongxin Zhang et al. "Building cooperative embodied agents modularly with large language models". In: arXiv preprint arXiv:2307.02485 (2023). · arXiv
- Wayne Xin Zhao et al. "A survey of large language models". In: arXiv preprint arXiv:2303.18223 (2023). · arXiv
Cited by
Sorted by citations
A Survey on the Memory Mechanism of Large Language Model-based Agents
Zhang, Z., Dai, Q., Bo, X., Ma, C., Li, R., Chen, X., Zhu, J., Dong, Z., & Wen, J.-R. (2025) · ACM Transactions on Information Systems · doi:10.1145/3748302 · Cited by 118 · see citing works
A Multimodal Foundation Agent for Financial Trading: Tool-Augmented, Diversified, and Generalist
Zhang, W., Zhao, L., Xia, H., Sun, S., Sun, J., Qin, M., Li, X., Zhao, Y., Zhao, Y., Cai, X., et al. (2024) · Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining · doi:10.1145/3637528.3671801 · Cited by 74 · see citing works
Large Language Model Agent in Financial Trading: A Survey
Ding, H., Li, Y., Wang, J., Chen, H., Guo, D., & Zhang, Y. (2026) · Proceedings of the 2026 9th International Conference on Computers in Management and Business · doi:10.1145/3802463.3802475 · Cited by 10 · see citing works
Self-citationLook-Ahead-Bench: a Standardized Benchmark of Look-ahead Bias in Point-in-Time LLMs for Finance
Benhenda, M. (2026) · arXiv
- Authors
- Yu, Y., Li, H., Chen, Z., Jiang, Y., Li, Y., Zhang, D., Liu, R., Suchow, J. W., & Khashanah, K.
- Affiliations
- Stevens Institute of Technology (US)
- ORCID
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2023
- arXiv
- 2311.13743
- OpenAlex
- W4389072163
- Cited by
- 6
- References
- 1
- Citations by year
- 2025: 4 · 2024: 2
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- RePEc: Research Papers in Economics (submittedVersion)
- arXiv (Cornell University) (submittedVersion, cc-by)
- arXiv (Cornell University) (cc-by)
- Topics
- Social Sciences › Decision Sciences › Management Science and Operations Research › Stock Market Forecasting Methods
- Social Sciences › Economics, Econometrics and Finance › Finance › Financial Markets and Investment Strategies
- Physical Sciences › Computer Science › Artificial Intelligence › Artificial Intelligence Applications
- Keywords
- algorithmic trading, character design, financial decision-making, investment decision-making, stock trading, interpretability
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review