/trading-agents-plugin:trading-analysis runs instead · from trading-agents-plugin
Runs multi-agent trading analysis for a stock ticker: technical, news, fundamentals, and macro analysts in parallel, then adversarial bull/bear debate and portfolio decision to produce BUY/SELL/HOLD with entry, stop, and sizing.
This skill never runs in Claude Code
It ships in trading-agents-plugin at skills/, but /trading-agents-plugin:trading-analysis (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Extract the ticker symbol from $ARGUMENTS (e.g. "NVDA"). If no ticker is provided, ask the user for one before proceeding.
Set TODAY to the current date in YYYY-MM-DD format.
Spawn these 4 subagents IN PARALLEL using the Agent tool (all at once, do not wait for one before starting the others). Each subagent has Bash access to fetch data.
Subagent 1 — Technical Analyst:
You are a technical analyst for $TICKER as of $TODAY.
Fetch data:
```bash
uv run --project /Users/davidchen/repo/TradingAgents python /Users/davidchen/repo/TradingAgents/scripts/fetch_market_data.py --ticker $TICKER --type technical --date $TODAY
Write a technical analysis report (150-200 words) covering:
End with exactly: TECHNICAL SIGNAL: BULLISH, BEARISH, or NEUTRAL
**Subagent 2 — News & Sentiment Analyst:**
You are a news and sentiment analyst for $TICKER as of $TODAY.
Fetch data:
uv run --project /Users/davidchen/repo/TradingAgents python /Users/davidchen/repo/TradingAgents/scripts/fetch_market_data.py --ticker $TICKER --type news --date $TODAY
Write a sentiment report (150-200 words) covering:
End with exactly: SENTIMENT SIGNAL: POSITIVE, NEGATIVE, or NEUTRAL
**Subagent 3 — Fundamentals Analyst:**
You are a fundamentals analyst for $TICKER as of $TODAY.
Fetch data:
uv run --project /Users/davidchen/repo/claude-trading-agents python /Users/davidchen/repo/claude-trading-agents/scripts/fetch_market_data.py --ticker $TICKER --type fundamentals --date $TODAY
Write a fundamentals report (200-250 words) covering:
End with exactly: FUNDAMENTAL SIGNAL: STRONG, FAIR, or WEAK
**Subagent 4 — Macro Analyst:**
You are a macro analyst providing global market context as of $TODAY.
Fetch data:
uv run --project /Users/davidchen/repo/claude-trading-agents python /Users/davidchen/repo/claude-trading-agents/scripts/fetch_market_data.py --ticker MACRO --type macro --date $TODAY
Write a macro context report (100-150 words) covering:
End with exactly: MACRO SIGNAL: RISK-ON, RISK-OFF, or NEUTRAL
Wait for all 4 subagents to complete. Collect their full reports.
---
## Phase 2 — Adversarial Bull/Bear Debate
Run these 2 subagents SEQUENTIALLY: Bull first, then Bear receives Bull's full argument.
**Subagent 5 — Bull Analyst:**
You are a Bull Analyst advocating for investing in $TICKER. Your task is to build a strong, evidence-based case emphasizing growth potential, competitive advantages, and positive market indicators.
Key points to focus on:
Resources available:
TECHNICAL REPORT: [insert full technical report from Phase 1]
NEWS REPORT: [insert full news report from Phase 1]
MACRO REPORT: [insert full macro report from Phase 1]
FUNDAMENTALS REPORT: [insert full fundamentals report from Phase 1]
Write 150-200 words. Use specific data points from the reports above.
End with exactly: BULL CONVICTION: HIGH, MEDIUM, or LOW
Wait for Subagent 5 to complete. Collect the full bull report.
**Subagent 6 — Bear Analyst:**
You are a Bear Analyst making the case against investing in $TICKER. Your goal is to present a well-reasoned argument emphasizing risks, challenges, and negative indicators — and to directly rebut the Bull Analyst's specific claims.
Key points to focus on:
Resources available:
TECHNICAL REPORT: [insert full technical report from Phase 1]
NEWS REPORT: [insert full news report from Phase 1]
MACRO REPORT: [insert full macro report from Phase 1]
FUNDAMENTALS REPORT: [insert full fundamentals report from Phase 1]
BULL ANALYST'S ARGUMENT (respond to this directly): [insert full bull report from Subagent 4]
Write 150-200 words. Rebut the bull's specific arguments using data from the reports.
End with exactly: BEAR CONVICTION: HIGH, MEDIUM, or LOW
Wait for Subagent 6 to complete. Collect the full bear report.
**Subagent 7 — Risk Analyst:**
You are a conservative Risk Analyst. Your job is NOT to repeat what the Bull or Bear said — it is to stress-test the trade from a risk management perspective and surface factors that neither side adequately addressed.
Focus on:
Resources available:
FUNDAMENTALS REPORT: [insert full fundamentals report from Phase 1]
MACRO REPORT: [insert full macro report from Phase 1]
BULL ARGUMENT: [insert full bull report]
BEAR ARGUMENT: [insert full bear report]
Write 150-200 words. Be specific — cite numbers (beta, D/E, short ratio, yield levels). Do not simply side with the bear. Raise risks that neither analyst addressed.
End with exactly: RISK LEVEL: HIGH, MEDIUM, or LOW
Wait for Subagent 7 to complete. Collect the full risk report.
---
## Phase 3 — Research Manager
You are now the Research Manager and debate facilitator. Your role is to critically
evaluate the bull/bear debate and deliver a clear, actionable investment plan for
the trader.
**Rating Scale** (use exactly one):
- **Buy**: Strong conviction in the bull thesis; recommend taking or growing the position
- **Overweight**: Constructive view; recommend gradually increasing exposure
- **Hold**: Balanced view; recommend maintaining the current position
- **Underweight**: Cautious view; recommend trimming exposure
- **Sell**: Strong conviction in the bear thesis; recommend exiting or avoiding the position
Commit to a clear stance whenever the debate's strongest arguments warrant one;
reserve Hold for situations where the evidence on both sides is genuinely balanced.
**Debate to evaluate:**
BULL ANALYST:
[insert full bull report]
BEAR ANALYST:
[insert full bear report]
RISK ANALYST:
[insert full risk report from Subagent 7]
Output your investment plan in this format:
RECOMMENDATION: [Buy / Overweight / Hold / Underweight / Sell]
RATIONALE: [2-3 sentences — who won the debate and why, citing specific evidence]
STRATEGIC ACTIONS: [2-3 sentences — what the trader should specifically do: entry approach, sizing, conditions to watch]
---
## Phase 4 — Trader
You are a Trader converting the Research Manager's plan into a concrete transaction proposal.
Anchor your reasoning in the analyst reports and the investment plan. Be specific on price levels.
INVESTMENT PLAN FROM RESEARCH MANAGER:
[insert Research Manager output from Phase 3]
TECHNICAL REPORT (for price levels):
[insert full technical report from Phase 1]
Output your transaction proposal in this format:
ACTION: [Buy / Hold / Sell]
REASONING: [2-3 sentences anchored in the reports — why this action, why now]
ENTRY: $[specific price level, or range, based on technical support/resistance] STOP: $[specific price level — where the thesis is invalidated] SIZE: [e.g. "3-5% of portfolio, add in 2 tranches" or "maintain current position"]
---
## Phase 5 — Portfolio Manager Decision
You are now the Portfolio Manager. Synthesize all inputs and deliver the final decision.
RESEARCH MANAGER'S PLAN:
[insert Phase 3 output]
TRADER'S PROPOSAL:
[insert Phase 4 output]
BULL ARGUMENT:
[insert bull report]
BEAR ARGUMENT:
[insert bear report]
RISK ANALYST:
[insert full risk report]
Output the final decision in this EXACT format:
TICKER: [ticker] DATE: [today] SIGNAL: [BUY / SELL / HOLD] RATING: [Overweight / Equal Weight / Underweight] ENTRY: $[price from Trader] STOP: $[price from Trader] SIZE: [sizing from Trader]
BULL: [one sentence — the single strongest bull argument] BEAR: [one sentence — the single strongest bear argument] VERDICT: [2-3 sentences — why the bull or bear case won and what specifically to do]
Display the full PM decision to the user.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lucemia/trading-agents-plugin --plugin trading-agents-pluginOther plugins' skills for the same job