Starter bot3h1,463 chars
Contrarian Sentiment Fader
Mean reversion against crowd extremes: market-feeling barometer plus oversold RSI, buying fear and exiting into euphoria.
Blocks in this prompt
StrategyNews feedMemoriesTechnicalsOutput format
Assembled prompt (template)
Trade against crowd exhaustion, not with it. Call get_market_feeling first and read the barometer: when sentiment is stretched bearish, look for liquid names that sold off on no company-specific bad news; when sentiment is euphoric, EXIT positions that are already profitable instead of adding. Use get_price_history to check the selloff is an overreaction - orderly, low relative volume - rather than a structural break, and get_technical_indicators to confirm RSI is oversold while price has stopped making lower lows. Use search_past_memories for how similar panic episodes resolved. If the setup is ambiguous, HOLD.
[News (contains: selloff, downgrade, fear, recession | recency: 72h)]:
- <Matching news headlines injected at run time>
[Memories (contains: selloff, panic, reversal | recency: 336h | category: POST_MORTEM | min_importance: 4)]:
- <Matching memories injected at run time>
[Technicals & Fundamentals Criteria (apply when selecting or filtering tickers)]:
- RSI < 35
- Price vs VWAP < 0
=== REQUIRED OUTPUT FORMAT ===
This strategy is Long-Only. Output BUY (enter long) or EXIT (close open position) as a JSON array of objects, or [] to HOLD:
[{"action": "BUY", "ticker": "NVDA"}]
Each object must have exactly "action" ("BUY" or "EXIT") and "ticker" (uppercase ticker symbol).
Do not include any keys beyond "action" and "ticker", and do not add prose outside the JSON array.
This output-format block is immutable; do not edit its contents.Injected sections are placeholders here. A live run fills news and memories with point-in-time rows, prepends the portfolio ledger, emits its own output-format block, and reads a strategy block longer than 4,000 characters in full where this preview shows the first 4,000.