Persistent memory + autonomous strategy evolution for AI traders. 200+ trading MCP servers execute. None remember. TradeMemory does.
git clone https://github.com/mnemox-ai/tradememory-plugin.git
claude --plugin-dir ./tradememory-pluginCopy the plugin directory into your project or pass it directly:
claude --plugin-dir /path/to/tradememory-pluginpip install tradememory-protocol
claude mcp add tradememory -- uvx tradememory-protocol| Command | Description |
|---|---|
/record-trade [details] |
Record a completed trade into all 5 OWM memory layers |
/recall [context] |
Recall similar past trades, ranked by outcome-weighted score |
/performance [strategy] |
Generate strategy performance report with behavioral analysis |
/evolve [symbol] [tf] [gens] |
Discover new trading strategies from raw OHLCV data |
/daily-review [date] |
AI-powered daily reflection on trades and behavioral patterns |
| Skill | Description |
|---|---|
| trading-memory | OWM architecture, 5 memory types, recall scoring, behavioral baselines |
| evolution-engine | LLM-powered strategy discovery, vectorized backtesting, OOS validation |
| risk-management | Affective state monitoring, tilt detection, position sizing, behavioral guardrails |
store_trade_memory— Store a trade with contextrecall_similar_trades— Find past trades matching current contextget_strategy_performance— Aggregate stats per strategyget_trade_reflection— Deep-dive into a trade's reasoning
remember_trade— Store across all 5 OWM memory layersrecall_memories— Outcome-weighted recallget_behavioral_analysis— Disposition ratio, hold times, Kelly criterionget_agent_state— Confidence, drawdown, streaks, risk appetitecreate_trading_plan— Prospective trading planscheck_active_plans— Evaluate plans against current conditions
evolution_fetch_market_data— Fetch OHLCV from Binanceevolution_discover_patterns— LLM-powered pattern discoveryevolution_run_backtest— Vectorized backtestingevolution_evolve_strategy— Full evolution loopevolution_get_log— Evolution history and graveyard
/record-trade XAUUSD long 5180 5210 +$150
# Stores trade, updates all memory layers, shows similar past trades
/recall London session breakout, high volatility, XAUUSD trending up
# Returns past trades in similar conditions, ranked by P&L outcome
/evolve BTCUSDT 1h 3
# Discovers patterns → backtests → selects → mutates × 3 generations
# Validates out-of-sample → graduates survivors
/daily-review today
# Analyzes today's trades, checks behavioral drift, updates affective state
- Python 3.10+
pip install tradememory-protocol- Optional:
ANTHROPIC_API_KEYfor LLM reflections and Evolution Engine