Skip to content
AgentsOpen sourceMITNo push in 12 months

FinMem

LLM trading agent with layered memory and a tunable risk character, from the paper of the same name

By Yangyang Yu et al.

Documentation reviewed ·

What the documentation says

Broker and exchange integrations

None stated in the reviewed documentation

Evidence None mentioned.

Paper or simulated trading

Not applicable: no execution documented

Evidence Not stated.

Backtesting

Documented

Evidence 'Usage: run.py sim [OPTIONS] Start Simulation' with --start-time/--end-time over historical dates; 'Run mode: train or test'

Live-trading caution

None found in the reviewed documentation. Its absence is not a safety assessment.

Evidence No disclaimer in README.

Markets
  • US single stocks (TSLA default example)
Data sources

Not stated in the reviewed documentation

Model providers

OpenAI (gpt-4 backbone; text-embedding-ada-002 always required) · HuggingFace models served via TGI endpoint (HF_TOKEN)

A model API key is required.

Evidence for markets, data and models
Markets
'--start-time ... The training or test start time [default: 2022-06-30 For Ticker 'TSLA']'; config/tsla_config.toml
Data sources
Not stated; input is a preprocessed pickle '--market-data-path ... [default: data/06_input/subset_symbols.pkl]'
Model providers
'The model can be run with LLMs on HuggingFace that can be deployed via TGI... we will always use the `text-embedding-ada-002` as our embedding model'; 'To run the OpenAI model... model = "gpt-4"'

Review scope: Documentation review on 8–9 October 2026. We did not install or run the software. Upstream commit hashes were not recorded, so the documentation may have changed since.

Audit dataset, field definitions and downloadsRead the audit article

Live GitHub metrics

Live GitHub data · Nov 27, 2026
Stars
973
Stars · 7d
+-1
Stars · 30d
+6
30d momentum
+0.6%
Forks
193
Open issues
8
Language
Python
Last push
2 years ago

No tagged releases. Repository created Dec 1, 2023.

962968974Oct 8Nov 27
Cumulative GitHub stars, Oct 8, 2026 to Nov 27, 2026. Source: InvestingStack daily snapshots.

What it is

FinMem adds a profiling module, a layered memory (short, mid and long term) and a decision module to an LLM so that it can trade single stocks from news and prices. The repository is the research code for the paper; it is not maintained as a product.

Research code accompanying a paper; last pushed in 2024.

In the maintainers' words: “FinMem: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Design”

Markets

  • US equities

Tags

  • Research code
  • Memory
  • Single-stock