#3131st of 41 in MemoryFor finance and business, trading, stocks and crypto, finance and accounting

tradememory-protocol

Local trade memory and pre-order policy brake for AI trading agents

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
1.5k
License
MIT
Last commit
Oct 2026
Last release
Oct 2026
Language
Python
Stars, last 30 weeks+748
26 Apr 2026: 705 stars3 May 2026: 778 stars10 May 2026: 850 stars17 May 2026: 927 stars24 May 2026: 1,000 stars31 May 2026: 1,077 stars7 Jun 2026: 1,153 stars14 Jun 2026: 1,240 stars21 Jun 2026: 1,319 stars28 Jun 2026: 1,378 stars5 Jul 2026: 1,387 stars12 Jul 2026: 1,393 stars19 Jul 2026: 1,395 stars26 Jul 2026: 1,398 stars2 Aug 2026: 1,400 stars9 Aug 2026: 1,405 stars16 Aug 2026: 1,408 stars23 Aug 2026: 1,411 stars30 Aug 2026: 1,411 stars6 Sept 2026: 1,414 stars13 Sept 2026: 1,416 stars20 Sept 2026: 1,419 stars27 Sept 2026: 1,423 stars4 Oct 2026: 1,426 stars11 Oct 2026: 1,430 stars18 Oct 2026: 1,432 stars25 Oct 2026: 1,436 stars1 Nov 2026: 1,440 stars8 Nov 2026: 1,444 stars15 Nov 2026: 1,453 stars22 Nov 2026: 1,453 stars

705 on 26 Apr 20261,453 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

TradeMemory is an MCP server that syncs your fills (Hyperliquid, Alpaca, MT5, Binance spot) into local SQLite and reports where your own history loses money. Agents recall losing trades before proposing an order through 20 MCP tools and a REST API. A preview proxy extra sits in front of Alpaca's MCP server and refuses orders that break a policy you set. Decisions are SHA-256 hash-chained.

Who it is for: Traders running AI agents against brokers over MCP

Strengths

  • Local SQLite storage; the memory server never places orders or asks for broker keys
  • Syncs Hyperliquid fills without a key and Alpaca with read-only keys
  • Proxy refuses unclassified tools, entries without a stop, and orders it cannot evaluate
  • Hash-chained decision log with daily Merkle roots and RFC 3161 timestamping

Weaknesses

  • Broker brake is a preview and supports only Alpaca; options and trailing orders are refused
  • Empirical validation is n=14 trades; README says that is too few to conclude anything
  • Proxy extra needs Python 3.12+ and installs Mnemox Control, which is AGPL-3.0
  • Audit log is tamper-evident, not tamper-proof; no record signing or public-log anchoring

What it needs

  • no GPU
  • Docker + Compose
  • Needs SQLite, Alpaca MCP server (proxy), Mnemox Control (proxy extra), RFC 3161 timestamp authority
  • Models: Claude Desktop, Claude Code, Cursor, Anthropic API (evolution), DeepSeek (replay)

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Memory

See all 41
Also in Memory
RankProjectScore
#29agentic-context-enginePython library that lets agents learn strategies from past runs2.6k starsApache-2.060 out of 100
#30nautilus-compassLocal long-term memory and drift detection for MCP clients Live demo ↗ (opens in a new tab)1.3k starscustom license60 out of 100
#32memmachineLong-term memory server for AI agents with episodic and profile memory3.1k starsApache-2.058 out of 100
#33voicememMemory engine for voice agents that retrieves while the user is still speaking2.9k stars+199 (+7.4%) in 30 daysApache-2.058 out of 100
#34memoriLong-term memory layer for LLM agents, with Python and TypeScript SDKs17.6k starscustom license57 out of 100