recall_memories
Retrieve outcome-weighted trade memories ranked by context similarity and past performance; before a trade, view similar losses first to avoid repeating costly mistakes.
Instructions
Recall memories using OWM outcome-weighted scoring.
Queries episodic and semantic memories, scores them by outcome quality, context similarity, recency, confidence, and affective modulation. Returns ranked memories with score breakdown.
Use order="losses_first" right before placing a trade: losing trades taken in similar conditions rank first, and the current mood (a losing streak) no longer pushes them down.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 10) | |
| order | No | "outcome" (default): better outcomes rank higher (by R multiple, where one was recorded), and at least 20% of the results are losses. "losses_first": every losing trade comes before anything else, the bigger losses in similar conditions first; the symbol's recent losing trades are searched as well as its recent trades. For a pre-trade check. | outcome |
| symbol | Yes | Trading instrument (e.g. "XAUUSD") | |
| use_hybrid | No | If True (default), enable vector + OWM hybrid scoring when an embedding backend is available. Falls back to pure OWM silently when sentence-transformers is not installed. | |
| hybrid_alpha | No | Vector vs OWM blend weight [0..1] when hybrid is active. 0.0 = pure OWM, 1.0 = pure vector. Default 0.3 (OWM-dominant). | |
| memory_types | No | Types to query (default: ["episodic", "semantic"]) | |
| strategy_name | No | Optional strategy filter | |
| context_atr_d1 | No | Current ATR(14) on D1 in dollars | |
| context_regime | No | Current market regime (trending_up/trending_down/ranging/volatile) | |
| market_context | Yes | Current market conditions to match against |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||