
mnemox-ai/tradememory-protocol
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
의사결정 감사 추적 + AI 트레이딩 에이전트용 영구 메모리. 결과 가중 리콜, RFC 3161 앵커링이 적용된 변조 방지 SHA-256 체인, 20개의 MCP 도구.
개요
매 세션마다 같은 실수를 반복합니다. 왜 거래했는지 설명할 수 없습니다. 컨텍스트 창이 끝나면 모든 것을 잊어버립니다. 한편, MiFID II는 알고리즘 의사결정 문서화의 기준을 높이고 있습니다(제17조). EU AI 법은 AI 행동의 체계적인 기록을 요구합니다(제14조). 경쟁사의 에이전트들은 모든 거래에서 배우고 있습니다. AI 트레이딩 스택에는 한 층이 빠져 있습니다. 모든 MCP 서버는 주문 입력, 가격 가져오기, 차트 읽기 등 실행을 담당합니다. 당신의 에이전트는 AAPL 주식 100주를 살 수 있지만, "지난번에 이 상태로 AAPL을 샀을 때 무슨 일이 있었나요?"라고 답할 수 없습니다. 한 번의 PIP 설치만으로도 AI 에이전트가 모든 거래, 모든 결과, 모든 실수를 기억합니다 — SHA-256 변조 방지 감사 추적 기록을 갖습니다. 트레이더들이 매 포지션 전에 사전 점검 목록을 실행하는 프로덕션과 EA 시스템이 매일 수천 건의 결정을 기록하는 데 사용됩니다. - 기억을 물어보세요 — 지난번에 이런 시장 상황에서 무슨 일이 있었나요? 어떻게 끝났나요?
개요(AI 번역)
시작하기 | 사용 사례 | API 참고 | OWM 프레임워크 | 제한 사항 | 中文版
TradeMemory는 비용을 기억합니다. AI 트레이딩 에이전트를 위한 오픈소스, 로컬 우선 메모리 및 브레이크입니다: 당신의 필 기록을 불러오고, 당신의 기록에서 손실이 발생하는 곳을 찾아내며, 손실된 거래를 다음 주문 전에 에이전트 앞에 제시하고, 당신이 정한 규칙을 위반하는 주문은 브로커에 도달하기 전에 거부할 수 있습니다.
브로커들은 이제 AI 에이전트가 MCP를 통해 거래할 수 있게 하며, 서로 다른 가드레일을 적용합니다: Webull과 tastytrade는 규모나 구매력 한도를 설정하고, Interactive Brokers는 에이전트가 주문을 작성해 제출할 수 있으며, Robinhood와 Public은 외부 에이전트에게 부과할 수 있는 한도를 설정하지 않습니다(StockBrokers, 2026-09-30). 상한선은 고정된 숫자입니다. 어느 것도 당신의 과거 거래가 어떻게 진행되었는지를 않습니다.
당신 자신의 역사부터 시작하세요
각 종료된 거래는 메모리에 한 번 저장되며; 다시 실행하면 새로운 거래만 저장됩니다. 그 후 손실이 발생하는 기록을 출력합니다. 형식과 설명 가능한 숫자:
이것들은 여러분의 과거 거래에 대한 설명적인 통계이지, 다음 거래에 대한 조언이 아닙니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
TradeMemory remembers what it cost. It is an open-source, local-first memory and brake for AI trading agents: it pulls in your fills, finds where your own history loses money, puts those losing trades in front of your agent before the next order, and can refuse an order that breaks rules you set, before it reaches the broker.
Brokers now let AI agents trade over MCP, with different guardrails: Webull and tastytrade set size or buying-power limits, Interactive Brokers only lets the agent draft an order for you to submit, and Robinhood and Public set no cap you can impose on an external agent (StockBrokers, 2026-09-30). The caps are fixed numbers. None of them looks at how your own past trades went.
Start with your own history
pip install tradememory-protocol
# Hyperliquid: public fills, no key needed
tradememory sync hyperliquid --address 0xYourAddress
# Alpaca: read-only calls with your own keys, kept in a local file
tradememory sync alpaca --env-file ~/.secrets/alpaca.env
Each closed trade is stored in memory once; running it again stores only new trades. Then it prints where your history loses money. The format, with illustrative numbers:
After 2 losses in a row (20 trades):
5 of them (25%) were 1.5x your usual size or more.
All 20 won 60% and made -$1,500.
The 5 sized-up trades won 20% and made -$1,700.
Median hold: winners 1.5h, losers 9.0h.
These are descriptive statistics of your own past trades, not advice about the next one. Hyperliquid’s API serves only an address’s recent fills, not its whole history, so the sooner it is synced, the more history is kept. Other venues: MT5 and Binance spot sync scripts are in scripts/, and any agent can record a trade with remember_trade.
설치
uvx tradememory-protocol설정
{
"mcpServers": {
"tradememory": {
"command": "uvx",
"args": ["tradememory-protocol"]
}
}
}