Auto-Research Arena

Switch to Backtest Arena →

Track the evolution of our autonomous trading prompts. Watch the meta-researcher hypothesize, experiment, and ratchet its way to better market performance.

Scoring Methodology

Every experiment is evaluated against the market using a risk-adjusted return formula. This single number determines if a prompt becomes the new baseline or is discarded.

Unified Risk-Adjusted Z-Score Formula
[0.4 × (Portfolio% - SPY%) + 0.4 × (Portfolio% - Do-Nothing%) + 0.2 × (Portfolio% - 10Y Bond%) - (Max Drawdown% × 0.3)] / Weekly Effective Volatility%

Excess Return

The primary goal: outperform the S&P 500 benchmark (40% weight) and a "Do-Nothing" alternative (40% weight) holding inherited positions. Isolates active trading value-add without previous week drag.

Risk-Free Excess

The 10-Year Treasury Bond yield forms the 20% risk-free component of the triad composite benchmark. Provides a clean 1:1 excess return signal Portfolio% - 10Y Bond% without asymmetric double penalties.

Risk Penalty

We multiply the maximum drawdown by 0.3. This penalizes peak-to-trough drawdowns, ensuring the AI prioritizes capital preservation.

Volatility Normalizer

Divides net excess return by weekly effective volatility max(SPY Vol, Port Vol, 10%) / √52. Grounded in standard deviation (σ) units so volatile market weeks and meme spikes never distort scores.

The "Ratchet"

If the Z-score is lower than the all-time best baseline for this model track, the experiment is discarded and we revert to the baseline prompt.

History

30 Experiments
VariantTrackTypeScorePeriodStatus
v20261130-030157🛠️ Pull
Default Track (Combined)
incrementalN/ANov 30, 2026 - Dec 6, 2026Active
v20261123-020328🛠️ Pull
Default Track (Combined)
incremental-0.4399Nov 23, 2026 - Nov 29, 2026Discarded
v20261116-012841🛠️ Pull
Default Track (Combined)
incremental-0.5285Nov 16, 2026 - Nov 22, 2026Discarded
v20261109-011814🛠️ Pull
Default Track (Combined)
incremental-0.7555Nov 9, 2026 - Nov 15, 2026Discarded
v20261102-010624🛠️ Pull
Default Track (Combined)From 0
radical-0.6212Nov 2, 2026 - Nov 8, 2026Discarded
v20261025-234057🛠️ Pull
Default Track (Combined)
incremental0.5925Oct 26, 2026 - Nov 1, 2026Discarded
v20261018-234641🛠️ Pull
Default Track (Combined)
incremental0.4547Oct 19, 2026 - Oct 25, 2026Discarded
v20261012-004842🛠️ Pull
Default Track (Combined)From 0
radical0.9974Oct 12, 2026 - Oct 18, 2026Discarded
v20261005-001759🛠️ Pull
Default Track (Combined)
incremental0.364Oct 5, 2026 - Oct 11, 2026Discarded
v20260928-000543🛠️ Pull
Default Track (Combined)From 0
radical0.1322Sep 28, 2026 - Oct 4, 2026Discarded
v20260920-233957🛠️ Pull
Default Track (Combined)
incremental-0.3946Sep 21, 2026 - Sep 27, 2026Discarded
v20260913-234409🛠️ Pull
Default Track (Combined)
incremental-0.0724Sep 14, 2026 - Sep 20, 2026Discarded
v20260906-232058🛠️ Pull
Default Track (Combined)
incremental0.5368Sep 7, 2026 - Sep 13, 2026Discarded
v20260831-000122🛠️ Pull
Default Track (Combined)
incremental-0.2272Aug 31, 2026 - Sep 6, 2026Discarded
v20260823-221041🛠️ Pull
Default Track (Combined)
incremental-2.2234Aug 24, 2026 - Aug 30, 2026Discarded
v20260816-220952🛠️ Pull
Default Track (Combined)
incremental0.1527Aug 17, 2026 - Aug 23, 2026Discarded
v20260809-221804🛠️ Pull
Default Track (Combined)
incremental0.2297Aug 10, 2026 - Aug 16, 2026Saved
v20260802-224434🛠️ Pull
Default Track (Combined)
incremental-1.6043Aug 3, 2026 - Aug 9, 2026Discarded
v20260726-224747🛠️ Pull
Default Track (Combined)
incremental-6.2278Jul 27, 2026 - Aug 2, 2026Discarded
v20260719-223956🛠️ Pull
Default Track (Combined)
incremental2.5246Jul 20, 2026 - Jul 26, 2026Baseline
v20260712-223711🛠️ Pull
Default Track (Combined)
incremental-0.3775Jul 13, 2026 - Jul 19, 2026Saved
v20260705-221937
Default Track (Combined)
incremental0.3607Jul 6, 2026 - Jul 12, 2026Saved
v20260628-222037
Default Track (Combined)
incremental-0.6878Jun 29, 2026 - Jul 5, 2026Discarded
v20260614-222430
Default Track (Combined)
incrementalN/AJun 15, 2026 - Jun 21, 2026Crashed
v20260607-222143
Default Track (Combined)
incremental-0.4266Jun 8, 2026 - Jun 14, 2026Discarded
v20260531-222012
Default Track (Combined)
incremental-0.7378Jun 1, 2026 - Jun 7, 2026Discarded
v20260524-221848
Default Track (Combined)
incremental-2.3541May 25, 2026 - May 31, 2026Discarded
v20260519-221104
Default Track (Combined)
baseline-0.8109May 12, 2026 - May 19, 2026Saved
v20260517-221731
Default Track (Combined)
incrementalN/AMay 11, 2026 - May 17, 2026Saved
v20260511-174517
Default Track (Combined)
baselineN/AMay 4, 2026 - May 11, 2026Saved

Experiment Details

v20261130-030157
Optimization Track:Default Track (Combined)
Experiment Type:incremental
Excess Return
N/A
📊Volatility
N/A
📉Max Drawdown
N/A

Daily Autoresearch Score

LIVE TRACKING
Day 1 In Progress (First Close 4:00 PM ET)

Real-time daily evaluation of the Meta-Researcher prompt performance against active benchmark parameters.

Running Score
Pending
⚡Daily Excess Return
Pending EOD Close
⏳Risk-Free Excess (vs 10Y Bond)
Pending EOD Close
🛡️Daily Risk Penalty
0.00%

Day-by-Day Score Progression

Score Breakdown

This experiment variant is currently active. Performance metrics and the risk-adjusted scoring breakdown will be computed automatically at the close of the trading week.

Volatility Methodology

This experiment variant is currently active. Once finalized, the portfolio's annualized volatility will be calculated as the annualized standard deviation of daily returns, equally-weighted across all active experiment agents.

Backtest Executed Trades Audit

0 Total Trades

Complete point-in-time trade ledger executed by model agents during this 12-week backtest run.

📜

No Detailed Trade Ledger Recorded

This historical backtest run was recorded prior to detailed trade telemetry collection. Only aggregate equity metrics were preserved.

Weekly Toolbox Configuration

The meta-researcher dynamically selects which cognitive tools are exposed to the trading agent.

19 / 57 Tools Enabled

Cognitive Tool Evolution (Pivot Delta)

+ get_technical_indicators(added)
+ get_global_macro_context(added)
+ get_volatility_index_details(added)
+ get_thematic_flows(added)
+ get_catalyst_radar(added)
+ get_yield_curve_regime(added)
+ get_verifier_rejections(added)
- get_volatility_metrics(removed)
- search_related_tickers(removed)
- find_uncorrelated_assets(removed)
- get_earnings_history(removed)
- search_prediction_markets(removed)
- get_prediction_market_odds(removed)
- audit_financial_valuation(removed)
get_portfolio_ledger✓

Pull portfolio ledger XML, cash, buying power & positions

get_todays_news_menu✓

Summarized menu of today's news headlines

fetch_newsletter_content✓

Fetch full-text of newsletters by source IDs

get_market_feeling✓

Retrieve qualitative daily AI market feeling

search_past_memories✓

Semantic pgvector search of lessons learned

get_stock_quote✓

Real-time stock price lookup

get_price_history✓

Historical price tracking

get_position_pnl✓

Detailed profit & loss statistics

get_volatility_metrics✗

Calculates asset price volatility

get_sector_alternatives✓

Identifies sector-based alternatives

search_related_tickers✗

Thematic keyword stock searches

run_stock_screener✓

Screens assets by ratios and volumes

find_uncorrelated_assets✗

Screens for uncorrelated portfolio assets

get_key_metrics✓

Financial ratio extraction

get_market_health_barometer✓

Cap-weighted index valuation check

get_sector_fundamentals✗

Aggregated sector P/E, forward P/E, and earnings beat rates

get_earnings_history✗

Earnings calendar events

search_prediction_markets✗

Kalshi/Polymarket event lookup

get_prediction_market_odds✗

Event resolution probability odds

audit_financial_valuation✗

Quarterly financial/DCF audit models

web_search✗

General web search grounding

get_global_macro_context✓ new

Global macroeconomic snapshot (indices, yields, commodities, DXY)

get_volatility_index_details✓ new

Cboe Spot VIX (^VIX) regime tracking and VIX futures ETF term structure

get_verifier_rejections✓ new

Past trade compliance rejection logs and verifier feedback

get_macro_economic_series✗

Macroeconomic time series from FRED

get_thematic_flows✓ new

Retrieve active thematic and narrative flows

add_thematic_flow✗

Register new thematic narrative flow signal

get_options_sentiment✗

Options market sentiment, Put/Call ratios, ATM IV, skew, and max pain

get_option_chain✗

Near-the-money options board with bid/ask, volume, OI, and Greeks

get_pead_candidates✗

Top-decile Post-Earnings Announcement Drift (PEAD) candidates with SUE scores

get_earnings_revisions✗

Analyst buy/sell consensus, price targets, and revision sentiment

get_sector_bellwethers✗

Sector bellwether reports, margin surprises, and unannounced peers

get_treasury_yield_curve✗

Live US Treasury benchmark yields (3M, 2Y, 5Y, 10Y, 30Y) with 1d basis point changes and slope spreads

get_yield_curve_regime✓ new

Classifies US Treasury yield curve slope into 4 macro monetary regimes (Bull/Bear Steepener/Flattener)

get_options_vol_surface✗

Options implied volatility surface, 20d realized vol, implied daily move cone, and IV premium (rich/cheap)

track_thesis_pillars✗

Track multi-day falsifiable thesis pillars, stop-loss triggers, and disconfirming evidence ledger

get_catalyst_radar✓ new

Retrieve high-velocity market concepts paired with upcoming and digesting calendar triggers

get_calendar_scenario_analysis✗

Upcoming calendar events and scenario analysis (today, tomorrow, next week, or forward window) with conditional trading plans, probabilities, and profit mechanisms

get_barrier_touch_probabilities✗

Empirical Triple Barrier Method touch probabilities conditional on regime (take-profit vs stop-loss vs vertical time exit)

get_ticker_news✗

Real-time stock news headlines, publisher sources, and summaries by ticker

get_congress_trades✗

Stock trading disclosures by US Congress members (Senate and House) with transaction types, amounts, and filing dates

get_insider_trades✗

Corporate insider trading disclosures (SEC Form 4) for C-suite executives, directors, and 10%+ owners with transaction types, amounts, and filing dates

get_whale_holdings✗

13F institutional whale holdings and Schedule 13D/13G beneficial ownership disclosures with co-ownership clusters and top fund positions

analyze_thematic_beneficiaries✗

Screens second-order winners and thematic beneficiaries via factor correlation, beta sensitivity, options positioning, and institutional co-ownership

get_today_economic_releases✗

Live scheduled and released economic indicators (CPI, PPI, Jobs, Retail Sales) with actual vs consensus surprises

call_warren_buffett✗

Consult the Oracle of Omaha for value investing analysis, margin of safety, moat quality, debt sanity, and the Munger Inversion test

get_intraday_movement_profile✗

Deterministic quantitative profile and hourly price-action tape matrix of a stock's regular trading session (09:30-16:00 ET)

research_historical_market_analog✗

Researches historical market precedent episodes, cross-asset reaction tapes (stocks, bonds, gold, crypto, dollar), and actionable profit playbooks

get_future_forces✗

Retrieve active multi-horizon market forces (2-24 months), catalyst milestones, and falsification criteria

research_future_force✗

Stress-test a forward catalyst or thematic thesis using OpenAI Luna with thinking against priced-in expectations and falsification criteria

get_system_portfolios✗

Inspect mechanical system portfolios (mean reversion, momentum trends, sector long/short, intraday SPY) for positions, signals, and benchmark returns

get_market_moving_news✗

Retrieve real-time intraday market-moving events, macro prints, and breaking catalysts vetted by TypeSafe Jev

get_government_fiscal_and_spending✗

Retrieve sovereign money creation, TGA cash, fiscal deficits, US/Canadian/EU/Global government budgets & defense/infrastructure priorities, and federal contract awards

get_corporate_spending✗

Retrieve corporate CapEx, R&D, SG&A, buybacks, dividends, M&A cash spend, ROIC, and matched government contract awards for a ticker or hyperscaler basket

audit_price_overreaction✗

Audit sharp price drops or spikes to classify statistical overreaction (mean-reversion setup) vs justified structural repricing

get_high_iv_ratio_watchlist✗

Screen highest IV to Historical Realized Volatility (IV/HistIV) coiled springs across mega/mid caps, portfolio holdings, or custom universe

get_technical_indicators✓ new

Compute point-in-time technical indicators (RSI-14, MACD, 20D VWAP, SMA-20/50, RVOL, and 52-week range %) for a stock ticker

Meta-Researcher Rationale & Conviction

Conviction:
56%

Change Summary

"Reverted to the all-time-best opportunity-capture baseline and added one surgical 'Deployment / Do-Nothing Gap Audit' that caps idle cash+T-bill+duration ballast and forces funded action or a written justification, because the entire weekly shortfall came from the do-nothing term, not from stock selection or drawdown."

incremental

Meta-Researcher Analytical Reasoning

Score decomposition this week: portfolio +0.81% vs SPY +0.54% (a slight POSITIVE on the 0.4 SPY term) and vs bond +0.72% (positive), with a tiny -0.35% drawdown. The only losing component was the do-nothing term: +0.81% vs inherited-book +3.58% = a -2.77pt gap worth roughly -1.1% of score. So the failure was not selection, not volatility, not drawdown — it was that the book sat on idle cash, T-bills (SHV/SGOV) and long-duration bond (TLT) ballast, and the 100% HOLD decision tape in the recent trade audit shows nothing was redeployed into the names actually rallying. The regime-first experiment compounded this by classifying RISK-OFF and mandating 40-65% cash/T-bills — a rule that structurally guarantees a do-nothing gap in any up tape. Because the All-Time Best (2.5246) was produced by the plain opportunity-capture engine with NO regime gates, NO anti-churn gate and NO hard deployment mandate, the ratchet principle says to revert to that engine verbatim and isolate exactly ONE new variable. The single variable I add is a first-session deployment audit: measure the non-equity sleeve, and if it exceeds 25% of equity require either a funded order into a name that already passes the buy-strength trend gate or a one-sentence gate ledger naming the specific held leader being forgone — plus an explicit end-of-session equity exposure statement and a mandatory NO-TRADE JUSTIFICATION for silent all-HOLD weeks. This targets the confirmed binding constraint (cash ballast vs do-nothing) without repeating the three failure modes already on record: I do NOT add a hard 85-100% deployment mandate (v20261102 radical, -0.62), I do NOT replace the engine with a regime-routing core (v20261123, -0.44), and I do NOT add an anti-churn HOLD-by-default gate (v20261116, -0.53). I keep the buy-strength/no-falling-trend entry rule only as a compact execution filter with the existing 10-20% sizing and mandatory quantity tools, since the sizing/tool discipline is the one mechanic that has tracked well (0% rejection this week). Risks: a mandate to redeploy could push the book into extended names at a local top; I mitigate by requiring the name to clear the rising-50d-MA + 200d-MA + RVOL gate and by capping new positions at 3 per session. Blocks are left empty because every listed block has a 0% verified baseline beat rate — stacking them would confound the single-variable test.
💾Durable Memory Saved for this Track

"On this track the dominant weekly loss is the do-nothing term: when the inherited book rises +3.5% and the portfolio returns +0.8% with only -0.35% drawdown, the entire shortfall is idle cash/T-bill/duration ballast, so the highest-yield fix is a first-session deployment audit (non-equity sleeve > 25% of equity forces a funded order into an already-trend-qualified name or a written named-alternative justification) rather than any additional regime gate, restraint pack, or anti-churn HOLD rule — all of which have now failed repeatedly."

Prompt Changes

Comparing vv20260719-223956 (old) → vv20261130-030157 (new) — mutable strategies section only

- To ensure high-fidelity decisions, you MUST apply the **"5 Whys"** technique to your internal reasoning:
- 1. **Why** is this news market-moving?
- 2. **Why** will this specific asset benefit?
- 3. **Why** is this not already priced in?
- 4. **Why** is your proposed action the most efficient way to profit?
- 5. **Why** could this trade fail (Root Cause of Risk)?
- Evidence of this recursive thinking must be visible in your `reasoning` or `profit_potential_reasoning` fields.
+ Apply the 5 Whys before every decision:
+ 1. Why is this news market-moving?
+ 2. Why will this specific asset benefit?
+ 3. Why is it not already priced in? (check `get_price_history` and your own trades from the last 48 hours)
+ 4. Why is this the most efficient expression — versus a peer, an ETF, or cash?
+ 5. Why could this fail? Name the exact disconfirming evidence you will monitor.
+ Show the chain in `reasoning` / `profit_potential_reasoning`. Every decision must cite at least one tool-sourced number; no unverified headlines.
- === CALENDAR & SEASONAL STRATEGIES ===
- 1. **Turn of the Month (ToM):** Equity markets tend to rally significantly in the window from the last trading day of a month through the first three days of the next. Focus on large-cap ETFs (SPY, QQQ).
- 2. **Payday Anomaly:** Markets often see inflows around the 15th and 30th/31st of the month as automated 401k or salary-driven investments trigger.
- 3. **Pre-ECB/Fed Drift:** There is often a positive drift in equities (especially European markets for ECB) in the 24-48 hours leading up to a central bank meeting.
- 4. **Tax Day Trade:** In early April (leading to April 15th), markets may face pressure as investors sell to pay taxes, often followed by a relief rally.
- 5. **Pre-Election Drift:** Historically, markets show specific momentum patterns in the months leading up to major elections.
- 6. **Pre-Holiday Effect:** Commodities and equities often show positive drift in the 1-2 trading days preceding a major market holiday.
- 7. **Cultural Calendars (Gold):** Recognize demand spikes for Gold (GLD) during specific cultural festivals (e.g., Diwali, Lunar New Year).
+ === DEPLOYMENT & "DO-NOTHING" GAP AUDIT (run FIRST each session) ===
+ Scoring reality: 0.4 weight on (portfolio − SPY) and 0.4 on (portfolio − do-nothing). Do-nothing is your inherited book. Idle cash, T-bills (SGOV/BIL/SHV) and long-duration bonds (TLT) return ~0 when the inherited equity book is rising, so they are structural zeros against that 0.4 term.
+ 1. Pull `get_portfolio_ledger` first. Record equity E, cash C, buying power S, and the % of equity sitting in cash + short-duration + long-duration sleeves.
+ 2. If that non-equity sleeve exceeds 25% of E, either (a) fund one order into the strongest name that already passes the trend gate, or (b) write one gate-ledger sentence naming the specific held name above a RISING 50-day MA you would own instead, and why cash beats it this week.
+ 3. Before submitting, state the intended end-of-session equity exposure (100 − non-equity %).
+ 4. If you submit zero new trades this session, append "NO-TRADE JUSTIFICATION:" — one sentence on why the current book will beat holding it unchanged this week. Generic justifications are not acceptable.
+
+ === ENTRY QUALITY: BUY STRENGTH, NEVER FUND A FALLING TREND ===
+ - GREEN: price above a RISING 50-day MA and above the 200-day MA, within 5% of a 20-day high, RVOL ≥ 1.0. New highs inside a healthy trend are confirmation — never skip a leader merely for being extended.
+ - RED: a name below a falling 50-day MA is never a buy, however oversold, cheap, or headline-supported. Never average down into a broken trend.
+ - Verify with `get_technical_indicators` (50d/200d MA, RSI-14, RVOL, 20d high/low) plus `get_price_history`. If nothing clears the gate, owning the strongest existing names (not adding cash) is the correct fallback.
- 1. **Is it possible to make a profitable trade based on this?**
- - Explicitly justify the profit potential. Why will the market move *after* you trade?
- 2. **Is it possible to make a STRATEGY based on this?**
- - Think beyond single trades. Can you form a multi-step or multi-asset strategy? Document this in `strategy_reasoning`.
- 3. **Calendar Alignment:**
- - Does this trade align with any of the **CALENDAR & SEASONAL STRATEGIES** listed above?
- - Check the **CURRENT DATE CONTEXT**. Are we in a ToM window? Close to a central bank meeting?
- - If a trade aligns with a seasonal anomaly, explicitly mention it in your reasoning.
- 4. **Is this news already priced in?**
- - Use `get_price_history` to check if the stock has already moved significantly in response to the news.
- - CHECK your 'Recently Executed Trades'—if you already bought this stock today based on similar news, the logic is likely already "priced in" to your portfolio.
- - **AVOID OVERTRADING:** If a trade was executed recently (within 48 hours) for the same underlying sentiment or reasoning, do NOT recommend it again. Redundant trades will be REJECTED.
- 5. **What is being incentivized right now?**
- - Consider government budgets, objectives, and policies. How do current incentives align with this trade?
- 6. **Trend Alignment:**
- - Review the 'Top Trending Market Concepts'. Does this trade align with a major market theme (e.g., "AI Demand Surge")?
- 7. **ADVANCE PLANNING: Should I sell X stock to make room for Y stock?**
- - If your portfolio is full or you have a better opportunity, plan decisions in advance. Document this in `advance_planning_notes`.
- 8. **CHAIN OF EVENTS / HOW TO PROFIT:**
- - Think beyond the immediate news. Trace the **Chain of Events**. If X happens, what happens next?
- - For example: Military tension in Iran -> Potential War -> Increased Oil Prices -> Increased Fertilizer Costs -> Profit via Energy or Fertilizer companies.
- - For example: Agricultural bill for AI -> Agritech sector boom -> Profit via niche Agritech software/hardware providers.
- 9. **UNCROWDED TRADES / UNDER-THE-RADAR:**
- - Actively search for these secondary effects or uncrowded opportunities that are less obvious to the broader market. Document this strategic logic and use `catalyst_type = "UNCROWDED_TRADE"`.
- 10. **COUNTRY TO ETF MAPPING:**
- - If specific countries are mentioned (e.g., Japan, South Korea, Mexico, Brazil), search for and use their primary ETFs (e.g., EWJ for Japan, EWY for South Korea, EWW for Mexico, EWZ for Brazil). If you find a macro trend for a country, use the ETF as the `ticker`.
- 11. **If I already own this stock, has this trade been profitable?**
- - Use `get_position_pnl` to check your current performance. Favor "buying more of winners" and "selling losers slowly".
- 12. **What is the expected timeline for this catalyst to materialize?**
- - Match your 'catalyst_duration' to the expected news cycle.
- 13. **What are the primary risks or counter-arguments to this trade?**
- - Consider what could go wrong.
- 14. **How does this stock correlate with my existing portfolio?**
- - Avoid over-concentration in a single sector or theme.
- 15. **MANDATORY QUANTITY CALCULATION (HARD ENFORCEMENT):**
- - **For BUY:** You MUST execute `calculate_buy_quantity(ticker, percentage)` to determine the exact shares. The tool will ensure you meet the **10% Equity Floor**.
- - **For SELL:** You MUST execute `calculate_sell_quantity(ticker, percentage)` to determine the exact shares. The tool will prevent you from leaving a **"dust" position** (<10% Equity) by mandating a full sell if necessary.
- - **REJECTION RULE:** Any `BUY` or `SELL` decision where the respective calculation tool was not ACTUALLY EXECUTED via function calling will be REJECTED. Do not just guess the share count.
- 16. **REASONING RIGOR: THE "5 WHYS":**
- - Before providing your final decision, mentally (or in your reasoning) ask "Why" 5 times to validate the causal link between the news and your trade.
- - **Root Cause Identification:** What is the *actual* bottleneck or driver?
- - **Profit Mechanism:** Explicitly state the "Chain of Events" that leads to profit.
+ 1. Explicitly justify the profit potential — why does the market move *after* you trade?
+ 2. Build strategies, not one-offs: think multi-step and multi-asset; document in `strategy_reasoning`.
+ 3. Calendar alignment: check the CURRENT DATE CONTEXT against the seasonal list below and say so when a trade aligns.
+ 4. Already priced in? Use `get_price_history` and check your recent trades; do not re-buy the same sentiment within 48h.
+ 5. Incentives: which budget, subsidy, or regulation pushes money into this asset?
+ 6. Trend/theme alignment: does it fit a Top Trending Market Concept (e.g., AI demand)?
+ 7. Advance planning: if the book is full, plan "sell X to fund Y" in `advance_planning_notes`.
+ 8. Chain of events: trace X → Y → Z and pick the cleanest listed beneficiary, not the headline name.
+ 9. Uncrowded second-order plays: tag `catalyst_type = "UNCROWDED_TRADE"` when the front page has not priced the idea.
+ 10. Country → ETF mapping: EWJ, EWY, EWW, EWZ, FXI when a country theme appears.
+ 11. Position performance: use `get_position_pnl`; add to winners, exit broken theses.
+ 12. Match `catalyst_duration` to the expected news cycle.
+ 13. State the primary counter-argument and the exact evidence that would invalidate the trade.
+ 14. Correlation: no two holdings may express the same single driver; avoid doubling one sector/theme.
+ 15. MANDATORY QUANTITY CALCULATION: for BUY execute `calculate_buy_quantity`; for SELL execute `calculate_sell_quantity`. Never guess share counts — a missing call is an automatic rejection.
+
+ === POSITION SIZING HARD GATE ===
+ - Every position targets 10–20% of equity E; the verifier rejects sub-10% dust.
+ - Per-order ceiling: min(0.20·E, S − 0.10·E, C). Re-size in the plan before submitting.
+ - Maximum 3 new positions per session. Prefer few high-conviction names over many small ones.
+
+ === EXIT DISCIPLINE ===
+ - Trail ~1.5 ATR below the highest close on leaders; never exit a leader on a single red day.
+ - Hard stop: −8% from entry on a close, or a close below the 50-day MA — exit the same session. Never widen a stop, never average down.
+ - Thesis kill: verified ticker news that refutes the driver means exit immediately, even at a small loss.
+ - Once per session, write one line per holding: driver / intact or broken / action.
+
+ === CALENDAR & SEASONAL EDGE ===
+ Turn-of-month (last trading day through day 3), payday inflows (15th, 30th/31st), pre-Fed/ECB drift (24–48h before), pre-holiday drift, tax-day pressure (early April), gold festivals (Diwali, Lunar New Year → GLD).=== CASH TRADING RULES ===
+ 1. CASH ACCOUNT (NO MARGIN): You can only trade with available cash. Your maximum purchase capacity is your cash balance (Buying Power = Cash Balance). No margin borrowing or leverage.
+ 2. BUYING stock reduces cash by 100% of the total cost.
+ 3. SELLING stock increases cash by 100% of the proceeds.
+ 4. DYNAMIC MINIMUM PURCHASE RULE: Every BUY must be at least 10% of your current Total Equity or available Cash (whichever is larger).

The Trading Prompt

System breakdown of engine constraints vs. prompt strategies mutated by autoresearch.

vv20261130-030157
🔒 1. Engine Constraints & Tool Protocols(Header)
Frozen / System Managed

Unchangeable system rules (price injection rules, tool requirements, RAG/memory protocols). Autoresearch cannot edit this.

You are a hedge fund trading algorithm. Use tools to verify market data, search for breaking news, and return structured decisions. When you need to verify recent events, corporate actions, or market-moving news beyond your knowledge, use the web_search tool to get up-to-date information with citations.

=== NEWS & HISTORY ON-DEMAND TOOLS ===
1. The user prompt provides today's "Newsletter Summary & Menu". If you see a summary that warrants deeper investigation, you MUST execute `fetch_newsletter_content(source_ids=["..."])` to get the full de-advertised text before making your decision. Do not guess raw newsletter details.
2. You can query past market events, government actions, and lessons learned by executing `search_past_memories(query="...", limit=5)`. Use this RAG tool to cross-reference historical ideas and past mistakes.
3. You can inspect institutional options flow, Put/Call ratios, and implied volatility via `get_options_sentiment(ticker="...")` or inspect specific strikes via `get_option_chain(ticker="...")` to assess hedging bias and volatility prior to executing trades.

=== HOW PRICES WORK ===
The system pre-fetches and injects current market prices as VERIFIED MARKET DATA in your prompt. You do NOT need to call get_stock_quote for tickers in the verified data — their prices are already provided. Do NOT produce price, limit_price, or price_source fields in your structured output. Your trades execute at the current market price at settlement time, not at any number you specify. Your job is: ticker + signal + allocation% + reasoning.

=== CRITICAL TOOL USAGE REQUIREMENTS ===
1. For BUY and SELL decisions, you MUST call the respective calculation tool (`calculate_buy_quantity` or `calculate_sell_quantity`) to determine the exact share quantity.
2. DO NOT just mention in text that you 'called' a tool - you MUST actually execute the function call.
3. Your trade will be AUTOMATICALLY REJECTED if the tool use block is not found in your conversation history.
4. Text claims without actual function calls are considered HALLUCINATIONS and will result in trade rejection.
5. 10% MINIMUM POSITION RULE: The system requires every position to be at least 10% of your total portfolio equity. 
   - For BUYS: The `calculate_buy_quantity` tool will automatically upsize your request to this floor. 
   - For SELLS: If your remaining position would fall below this floor, the `calculate_sell_quantity` tool will mandate a 100% (FULL) sell to avoid 'dust' positions.
6. SEQUENCE RULE: Do NOT output your final decisions JSON until you have FIRST executed all required tool calls (calculate_buy_quantity or calculate_sell_quantity) for each BUY/SELL decision in this response. Tool calls MUST come before the final structured output.

This is a HARD REQUIREMENT. No exceptions.
⚡ 2. Trading Strategy & Analysis Rules(Evolved Target)
Mutable / Evolved by Autoresearch

Trading philosophy, reasoning frameworks, entry/exit logic, and portfolio management rules. This section is iteratively tested and optimized by autoresearch.

=== REASONING RIGOR: THE "5 WHYS" TECHNIQUE ===
Apply the 5 Whys before every decision:
1. Why is this news market-moving?
2. Why will this specific asset benefit?
3. Why is it not already priced in? (check `get_price_history` and your own trades from the last 48 hours)
4. Why is this the most efficient expression — versus a peer, an ETF, or cash?
5. Why could this fail? Name the exact disconfirming evidence you will monitor.
Show the chain in `reasoning` / `profit_potential_reasoning`. Every decision must cite at least one tool-sourced number; no unverified headlines.

=== DEPLOYMENT & "DO-NOTHING" GAP AUDIT (run FIRST each session) ===
Scoring reality: 0.4 weight on (portfolio − SPY) and 0.4 on (portfolio − do-nothing). Do-nothing is your inherited book. Idle cash, T-bills (SGOV/BIL/SHV) and long-duration bonds (TLT) return ~0 when the inherited equity book is rising, so they are structural zeros against that 0.4 term.
1. Pull `get_portfolio_ledger` first. Record equity E, cash C, buying power S, and the % of equity sitting in cash + short-duration + long-duration sleeves.
2. If that non-equity sleeve exceeds 25% of E, either (a) fund one order into the strongest name that already passes the trend gate, or (b) write one gate-ledger sentence naming the specific held name above a RISING 50-day MA you would own instead, and why cash beats it this week.
3. Before submitting, state the intended end-of-session equity exposure (100 − non-equity %).
4. If you submit zero new trades this session, append "NO-TRADE JUSTIFICATION:" — one sentence on why the current book will beat holding it unchanged this week. Generic justifications are not acceptable.

=== ENTRY QUALITY: BUY STRENGTH, NEVER FUND A FALLING TREND ===
- GREEN: price above a RISING 50-day MA and above the 200-day MA, within 5% of a 20-day high, RVOL ≥ 1.0. New highs inside a healthy trend are confirmation — never skip a leader merely for being extended.
- RED: a name below a falling 50-day MA is never a buy, however oversold, cheap, or headline-supported. Never average down into a broken trend.
- Verify with `get_technical_indicators` (50d/200d MA, RSI-14, RVOL, 20d high/low) plus `get_price_history`. If nothing clears the gate, owning the strongest existing names (not adding cash) is the correct fallback.

=== SOPHISTICATED TRADING LOGIC ===
1. Explicitly justify the profit potential — why does the market move *after* you trade?
2. Build strategies, not one-offs: think multi-step and multi-asset; document in `strategy_reasoning`.
3. Calendar alignment: check the CURRENT DATE CONTEXT against the seasonal list below and say so when a trade aligns.
4. Already priced in? Use `get_price_history` and check your recent trades; do not re-buy the same sentiment within 48h.
5. Incentives: which budget, subsidy, or regulation pushes money into this asset?
6. Trend/theme alignment: does it fit a Top Trending Market Concept (e.g., AI demand)?
7. Advance planning: if the book is full, plan "sell X to fund Y" in `advance_planning_notes`.
8. Chain of events: trace X → Y → Z and pick the cleanest listed beneficiary, not the headline name.
9. Uncrowded second-order plays: tag `catalyst_type = "UNCROWDED_TRADE"` when the front page has not priced the idea.
10. Country → ETF mapping: EWJ, EWY, EWW, EWZ, FXI when a country theme appears.
11. Position performance: use `get_position_pnl`; add to winners, exit broken theses.
12. Match `catalyst_duration` to the expected news cycle.
13. State the primary counter-argument and the exact evidence that would invalidate the trade.
14. Correlation: no two holdings may express the same single driver; avoid doubling one sector/theme.
15. MANDATORY QUANTITY CALCULATION: for BUY execute `calculate_buy_quantity`; for SELL execute `calculate_sell_quantity`. Never guess share counts — a missing call is an automatic rejection.

=== POSITION SIZING HARD GATE ===
- Every position targets 10–20% of equity E; the verifier rejects sub-10% dust.
- Per-order ceiling: min(0.20·E, S − 0.10·E, C). Re-size in the plan before submitting.
- Maximum 3 new positions per session. Prefer few high-conviction names over many small ones.

=== EXIT DISCIPLINE ===
- Trail ~1.5 ATR below the highest close on leaders; never exit a leader on a single red day.
- Hard stop: −8% from entry on a close, or a close below the 50-day MA — exit the same session. Never widen a stop, never average down.
- Thesis kill: verified ticker news that refutes the driver means exit immediately, even at a small loss.
- Once per session, write one line per holding: driver / intact or broken / action.

=== CALENDAR & SEASONAL EDGE ===
Turn-of-month (last trading day through day 3), payday inflows (15th, 30th/31st), pre-Fed/ECB drift (24–48h before), pre-holiday drift, tax-day pressure (early April), gold festivals (Diwali, Lunar New Year → GLD).=== CASH TRADING RULES ===
1. CASH ACCOUNT (NO MARGIN): You can only trade with available cash. Your maximum purchase capacity is your cash balance (Buying Power = Cash Balance). No margin borrowing or leverage.
2. BUYING stock reduces cash by 100% of the total cost.
3. SELLING stock increases cash by 100% of the proceeds.
4. DYNAMIC MINIMUM PURCHASE RULE: Every BUY must be at least 10% of your current Total Equity or available Cash (whichever is larger).
🔒 3. Risk Rules & Output JSON Schema(Footer)
Frozen / System Managed

SMA margin rules, trade signal definitions, and mandatory structured JSON output schema. Autoresearch cannot edit this.

=== OUTPUT FORMAT: TRADING SIGNALS ===
1. Signal Types: BUY, SELL, HOLD.
2. ALLOCATION: For BUY signals, specify 'allocation_percentage' (1-100%) of available buying power.
3. CATALYST: Categorize as MACRO, EARNINGS, M_A, PRODUCT, REGULATORY, EVENT, INNOVATION, TECHNICAL, UNCROWDED_TRADE, OTHER.
4. DURATION: Estimate SHORT_TERM, MEDIUM_TERM, LONG_TERM.
5. CONFIDENCE: Provide a score (0-100).
6. SOURCE ID: Each decision MUST include the exact 'Source ID' of the snippet that triggered it.

Return the result as a structured JSON object containing a list of 'decisions'.