TradeMemory Protocol
Decision audit trail and persistent memory layer for AI trading agents
By mnemox-ai
Documentation reviewed ·
What the documentation says
- Broker and exchange integrations
- Alpaca via the `proxy` extra (preview) that forwards policy-allowed orders to Alpaca's MCP server
- MetaTrader 5 (sync/read)
Documented integrations, not confirmation that an order ran.
Evidence 'The `proxy` extra runs TradeMemory between your agent and your broker's MCP server (Alpaca today).'
- Paper or simulated trading
Not stated in the reviewed documentation
Evidence No own paper mode; brake was tested 'against a real Alpaca paper account on 2026-10-01' (broker-side paper).
- Backtesting
Documented
Evidence MCP tools table: 'Evolution | evolution_fetch_market_data · evolution_discover_patterns · evolution_run_backtest · evolution_evolve_strategy'; 'Evolution engine: research phase'
- Live-trading caution
For educational and research purposes only. Not financial advice.
Evidence README footer: 'For educational and research purposes only. Not financial advice.'
- Markets
- US equities (Alpaca; AAPL, TSLA)
- crypto (Hyperliquid fills, Binance spot)
- forex/gold via MetaTrader 5 (XAUUSD)
- Data sources
- Hyperliquid public fills API (no key)
- Alpaca (read-only sync)
- MT5 and Binance spot sync scripts
- Binance public market data (api.binance.com) for evolution tools
- Model providers
MCP-client agnostic (Claude Desktop, Claude Code, Cursor) · Anthropic (optional, evolution tools) · DeepSeek (default for replay) or Anthropic
The documented setup does not require a model API key.
Evidence for markets, data and models
- Markets
- 'Three ways it is used' table: 'US equity trader | Forex EA system (XAUUSD) | Audit trail'; 'tradememory sync hyperliquid'; 'MT5 and Binance spot sync scripts are in `scripts/`'
- Data sources
- 'Hyperliquid: public fills, no key needed'; 'Alpaca: read-only calls with your own keys'; 'The evolution tools read public Binance market data (`api.binance.com`)'
- Model providers
- 'Add to Claude Desktop'; 'evolution calls the Anthropic API only if you set `ANTHROPIC_API_KEY`. Replay calls DeepSeek by default (or Anthropic), and only with that provider's key set.'
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, 2026Latest release v0.5.6 on Oct 2, 2026. Repository created Feb 23, 2026.
What it is
TradeMemory records every decision an agent makes together with its outcome and feeds outcome-weighted recall back into the agent. It is infrastructure rather than a trading bot, addressing one of the real gaps in LLM trading agents: they forget what worked.
In the maintainers' words: “Decision audit trail + persistent memory for AI trading agents. Outcome-weighted recall, tamper-evident SHA-256 chain with RFC 3161 anchoring, 20 MCP tools.”
Tags
- Agent memory
- Audit trail
- Infrastructure
- #agentic-trading
- #ai-agents
- #audit-trail
- #claude
- #compliance
- #crypto
- #evolution-engine
- #forex