Skip to main content
Glama

store_trade_memory

Records executed trades with market context and reflections to build a memory bank for analyzing performance and improving future trading decisions.

Instructions

Store a trade decision with full context into memory.

Call this after executing a trade to build your memory bank. Include market_context and reflection for better recall later.

Args: symbol: Trading instrument (e.g. "XAUUSD") direction: "long" or "short" entry_price: Entry price of the trade strategy_name: Name of the strategy used (e.g. "VolBreakout") market_context: Description of market conditions when trade was taken exit_price: Exit price (if trade is closed) pnl: Profit/loss in account currency (if trade is closed) reflection: What you learned from this trade trade_id: Optional custom ID. Auto-generated if omitted. timestamp: ISO format timestamp. Defaults to now (UTC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
directionYes
entry_priceYes
strategy_nameYes
market_contextYes
exit_priceNo
pnlNo
reflectionNo
trade_idNo
timestampNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mnemox-ai/tradememory-protocol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server