Install
openclaw skills install @ericn26-star/ai-trading-consortiumAI-powered hedge fund that combines multi-expert trading strategies with comprehensive information gathering. Analyzes stocks through systematic data collection, analyst reports, bull/bear debates, and a council of legendary investor personas (Buffett, Graham, Lynch, Burry, Munger, Wood, Druckenmiller, Marks). Produces executive summary slides. Trigger keywords: stock analysis, trading decision, investment analysis, market evaluation, buy/sell/hold recommendation.
openclaw skills install @ericn26-star/ai-trading-consortiumAn AI-powered hedge fund system that combines sophisticated information gathering with multi-expert trading wisdom. It coordinates a full analysis pipeline: data collection, four-analyst assessment, structured bull/bear debate, an 8-member legendary investor council, risk management, portfolio decision, and executive summary slide generation (PDF + PPTX).
Important: Never provide financial advice — always clarify this is for educational/research purposes only.
If the user provides a company name, partial name, or ambiguous query instead of a ticker symbol:
Examples:
Output for symbol lookup:
{
"query": "user's original query",
"identified_stock": {
"company_name": "Full Legal Name Inc.",
"ticker": "TICK",
"exchange": "NASDAQ",
"sector": "Technology",
"confidence": "high/medium/low"
},
"alternatives": [
{"ticker": "OTHER", "reason": "Similar name..."}
]
}
Each analyst produces a structured report (see Analyst Frameworks below).
For each analysis, provide all of the following:
Configure data gathering from multiple sources:
| Category | Sources |
|---|---|
| Stock Price Data | Yahoo Finance (yfinance) — Primary for OHLCV; Alpha Vantage — Validation |
| Fundamental Data | Alpha Vantage, SEC filings (10-K, 10-Q, 8-K) |
| Technical Indicators | Yahoo Finance, Alpha Vantage |
| News Data | Alpha Vantage, Google News, financial news APIs |
| Sentiment Data | Social media APIs (Reddit, Twitter/X, StockTwits) |
{
"ticker": "SYMBOL",
"timestamp": "ISO datetime",
"price_data": {
"current_price": 0.00,
"52_week_high": 0.00,
"52_week_low": 0.00,
"volume": 0,
"avg_volume": 0
},
"fundamentals": {
"market_cap": 0,
"pe_ratio": 0.00,
"pb_ratio": 0.00,
"revenue_growth": 0.00,
"earnings_growth": 0.00
},
"technicals": {
"rsi_14": 0.00,
"macd_signal": "bullish/bearish",
"trend": "uptrend/downtrend/sideways"
},
"news_summary": "Recent news highlights",
"sentiment_score": 0.00
}
Evaluate companies based on financial health, competitive position, and intrinsic value.
Profitability
Growth Metrics
Balance Sheet Strength
Cash Flow Quality
# Fundamentals Analysis Report: [TICKER]
## Financial Health Score: [1-10]
### Profitability Analysis
- [Key findings]
### Growth Assessment
- [Key findings]
### Balance Sheet Strength
- [Key findings]
### Cash Flow Quality
- [Key findings]
## Valuation Summary
| Method | Intrinsic Value | Upside/Downside |
|--------|-----------------|-----------------|
| DCF | $XX.XX | +/-XX% |
| Comps | $XX.XX | +/-XX% |
## Signal: [BULLISH/BEARISH/NEUTRAL]
## Confidence: [1-10]
## Key Risks
- [Risk factors]
Analyze price patterns, volume, and technical indicators to forecast price movements and identify entry/exit points.
Trend Analysis:
Momentum Indicators:
Volume Analysis:
Chart Patterns:
Support & Resistance:
# Technical Analysis Report: [TICKER]
## Trend Summary
- Primary Trend: [UPTREND/DOWNTREND/SIDEWAYS]
- Short-term: [description]
- Medium-term: [description]
## Key Indicators
| Indicator | Value | Signal |
|-----------|-------|--------|
| RSI (14) | XX.X | Bullish/Bearish/Neutral |
| MACD | XX.X | Bullish/Bearish/Neutral |
| 50 SMA | $XX.X | Above/Below |
| 200 SMA | $XX.X | Above/Below |
## Support & Resistance
- Key Support: $XX.XX, $XX.XX
- Key Resistance: $XX.XX, $XX.XX
## Pattern Recognition
- [Identified patterns and implications]
## Signal: [BULLISH/BEARISH/NEUTRAL]
## Confidence: [1-10]
## Entry/Exit Levels
- Suggested Entry: $XX.XX
- Stop Loss: $XX.XX
- Target 1: $XX.XX
- Target 2: $XX.XX
Analyze market sentiment from various sources to understand investor psychology and crowd behavior.
Social Media:
Investor Behavior:
Market Indicators:
Composite sentiment score from -1 to +1:
| Range | Interpretation |
|---|---|
| -1.0 to -0.5 | Extremely Bearish |
| -0.5 to -0.2 | Bearish |
| -0.2 to +0.2 | Neutral |
| +0.2 to +0.5 | Bullish |
| +0.5 to +1.0 | Extremely Bullish |
# Sentiment Analysis Report: [TICKER]
## Overall Sentiment Score: [X.XX] ([BULLISH/BEARISH/NEUTRAL])
### Social Media Sentiment
| Source | Score | Trend | Notable |
|--------|-------|-------|---------|
| Reddit | X.XX | ↑/↓ | [notes] |
| Twitter| X.XX | ↑/↓ | [notes] |
### Investor Behavior
- Put/Call Ratio: X.XX ([interpretation])
- Short Interest: X.X% ([interpretation])
- Insider Activity: [Net buying/selling]
### Institutional Sentiment
- Recent 13F changes: [summary]
- Notable positions: [key funds]
## Contrarian Signals
- [Any extreme readings that suggest reversal]
## Signal: [BULLISH/BEARISH/NEUTRAL]
## Confidence: [1-10]
## Key Observations
- [Notable sentiment shifts or anomalies]
Monitor and analyze news, events, and macroeconomic factors impacting stock prices.
Company-Specific News:
Industry & Sector:
Macroeconomic Events:
Rate each news item:
# News Analysis Report: [TICKER]
## Breaking News Summary
| Date | Headline | Impact | Direction |
|------|----------|--------|-----------|
| MM/DD | [news] | High/Med/Low | +/-/= |
## Company News
### Recent Developments
- [Key news items with analysis]
### Upcoming Events
- [Earnings date, ex-dividend, etc.]
## Industry Context
- [Relevant industry news]
## Macro Environment
- [Relevant macro factors]
## News-Driven Catalysts
### Positive Catalysts
- [List with timing]
### Negative Risks
- [List with timing]
## Signal: [BULLISH/BEARISH/NEUTRAL]
## Confidence: [1-10]
## Key Takeaways
- [Summary of most important news impacts]
Take all four analyst reports and conduct a structured investment debate.
BULL CASE — Build arguments around:
BEAR CASE — Build arguments around:
# INVESTMENT DEBATE: [TICKER]
## ROUND 1: OPENING ARGUMENTS
### 🐂 BULL CASE
**Thesis**: [One sentence]
**Key Arguments:**
1. **[Argument 1]**
- Evidence: [data from reports]
- Implication: [why this matters]
2. **[Argument 2]**
- Evidence: [data from reports]
- Implication: [why this matters]
3. **[Argument 3]**
- Evidence: [data from reports]
- Implication: [why this matters]
**Upside Target**: $XX.XX (+XX%)
---
### 🐻 BEAR CASE
**Thesis**: [One sentence]
**Key Arguments:**
1. **[Argument 1]**
- Evidence: [data from reports]
- Implication: [why this matters]
2. **[Argument 2]**
- Evidence: [data from reports]
- Implication: [why this matters]
3. **[Argument 3]**
- Evidence: [data from reports]
- Implication: [why this matters]
**Downside Target**: $XX.XX (-XX%)
---
## ROUND 2: REBUTTALS
### 🐂 Bull Rebuts Bear
| Bear Argument | Bull Counter |
|---------------|--------------|
| [point] | [rebuttal] |
| [point] | [rebuttal] |
### 🐻 Bear Rebuts Bull
| Bull Argument | Bear Counter |
|---------------|--------------|
| [point] | [rebuttal] |
| [point] | [rebuttal] |
---
## ROUND 3: CLOSING ARGUMENTS
### 🐂 Bull's Final Statement
[2-3 sentences summarizing strongest case]
### 🐻 Bear's Final Statement
[2-3 sentences summarizing strongest case]
---
## DEBATE VERDICT
**Winner**: [BULL / BEAR]
**Margin**: [Decisive / Narrow / Too Close to Call]
**Confidence**: [1-10]
### Scoring Breakdown
| Category | Bull Score | Bear Score |
|----------|------------|------------|
| Evidence Quality | X/10 | X/10 |
| Logic & Reasoning | X/10 | X/10 |
| Risk Assessment | X/10 | X/10 |
| **Total** | XX/30 | XX/30 |
### Key Takeaways
- **Strongest Bull Point**: [summary]
- **Strongest Bear Point**: [summary]
- **Unresolved Uncertainty**: [what remains unclear]
### Recommendation to Portfolio Manager
[Summary of debate outcome and suggested weighting of bull vs bear perspectives]
Channel 8 legendary investors, each with distinct investment philosophies.
Philosophy: "Buy wonderful companies at fair prices"
Philosophy: "Margin of safety is paramount"
Philosophy: "Invest in what you know"
Philosophy: "Bet against the crowd when they're wrong"
Philosophy: "All intelligent investing is value investing"
Philosophy: "Invest in disruptive innovation"
Philosophy: "Soros taught me to bet big when you're right"
Philosophy: "Risk control is paramount"
# INVESTMENT COUNCIL VERDICT: [TICKER]
## Council Summary
| Investor | Verdict | Conviction | Key Reasoning |
|----------|---------|------------|---------------|
| Buffett | BUY/HOLD/SELL | 1-10 | [one line] |
| Graham | BUY/HOLD/SELL | 1-10 | [one line] |
| Lynch | BUY/HOLD/SELL | 1-10 | [one line] |
| Burry | BUY/HOLD/SELL | 1-10 | [one line] |
| Munger | BUY/HOLD/SELL | 1-10 | [one line] |
| Wood | BUY/HOLD/SELL | 1-10 | [one line] |
| Druckenmiller | BUY/HOLD/SELL | 1-10 | [one line] |
| Marks | BUY/HOLD/SELL | 1-10 | [one line] |
## Individual Perspectives
### Warren Buffett's View
[2-3 paragraph analysis in Buffett's style]
### Benjamin Graham's View
[2-3 paragraph analysis in Graham's style]
### Peter Lynch's View
[2-3 paragraph analysis in Lynch's style]
### Michael Burry's View
[2-3 paragraph analysis in Burry's style]
### Charlie Munger's View
[2-3 paragraph analysis in Munger's style]
### Cathie Wood's View
[2-3 paragraph analysis in Wood's style]
### Stanley Druckenmiller's View
[2-3 paragraph analysis in Druckenmiller's style]
### Howard Marks's View
[2-3 paragraph analysis in Marks's style]
## Consensus Analysis
- **Bulls**: [X] investors (names)
- **Bears**: [X] investors (names)
- **Neutral**: [X] investors (names)
## Weighted Council Decision
- Aggregate Score: X.X / 10
- Recommendation: [BUY/HOLD/SELL]
- Key Agreement Areas: [common themes]
- Key Disagreements: [divergent views]
Evaluate risks, calculate position sizes, and ensure the portfolio stays within defined risk parameters.
Calculate optimal position size based on:
Per-Position:
Portfolio-Level:
| Limit | Threshold |
|---|---|
| Maximum single position | 10% of portfolio |
| Maximum sector exposure | 25% |
| Maximum drawdown tolerance | 15% |
| Maximum portfolio VaR (95%) | X% |
| Risk Category | Low | Medium | High | Critical |
|---|---|---|---|---|
| Volatility | <20% | 20-40% | 40-60% | >60% |
| Liquidity | >10M | 1-10M | 100K-1M | <100K |
| Position Size | <2% | 2-5% | 5-10% | >10% |
| Correlation | <0.3 | 0.3-0.5 | 0.5-0.7 | >0.7 |
# RISK ASSESSMENT: [TICKER]
## Position Risk Profile
| Metric | Value | Rating |
|--------|-------|--------|
| Volatility (30d) | XX% | Low/Med/High |
| Beta | X.XX | Low/Med/High |
| Average Volume | $XXM | Adequate/Concern |
| VaR (95%, 1d) | -X.X% | Low/Med/High |
## Recommended Position Sizing
- **Max Position Size**: $XXX,XXX (X% of portfolio)
- **Sizing Method**: [Kelly/Volatility-adjusted/Fixed]
- **Rationale**: [explanation]
## Stop-Loss Recommendations
- **Initial Stop**: $XX.XX (-X%)
- **Trailing Stop**: X ATR or X%
- **Max Loss per Trade**: $X,XXX (X% of portfolio)
## Portfolio Impact Analysis
- Current portfolio correlation: X.XX
- Sector exposure after trade: X%
- New portfolio VaR: X%
## Risk Flags
- 🟢 [Low risk items]
- 🟡 [Medium risk items]
- 🔴 [High risk items requiring attention]
## Risk-Adjusted Recommendation
- **Risk/Reward Ratio**: X:1
- **Approval Status**: APPROVED / APPROVED WITH CONDITIONS / REJECTED
- **Conditions**: [if applicable]
Strong Buy Signals:
Strong Sell Signals:
| Category | Weight | Notes |
|---|---|---|
| Fundamentals | 25% | [key point] |
| Technicals | 20% | [key point] |
| Sentiment | 15% | [key point] |
| News | 15% | [key point] |
| Expert Council | 25% | [X/8 bullish] |
# TRADING DECISION: [TICKER]
## Executive Summary
[2-3 sentence summary of the decision and key reasoning]
## Decision: [STRONG BUY / BUY / HOLD / SELL / STRONG SELL]
## Conviction: [1-10]
## Analysis Summary
| Category | Signal | Weight | Notes |
|----------|--------|--------|-------|
| Fundamentals | Bull/Bear/Neutral | 25% | [key point] |
| Technicals | Bull/Bear/Neutral | 20% | [key point] |
| Sentiment | Bull/Bear/Neutral | 15% | [key point] |
| News | Bull/Bear/Neutral | 15% | [key point] |
| Expert Council | Bull/Bear/Neutral | 25% | [X/8 bullish] |
## Research Debate Outcome
- Winner: [BULL/BEAR]
- Key Arguments: [summary]
## Trade Order
| Field | Value |
|-------|-------|
| Action | BUY / SELL |
| Ticker | [TICKER] |
| Quantity | [shares] |
| Order Type | LIMIT / MARKET |
| Limit Price | $XX.XX |
| Stop Loss | $XX.XX (-X%) |
| Target 1 | $XX.XX (+X%) |
| Target 2 | $XX.XX (+X%) |
| Time Horizon | [days/weeks/months] |
## Risk Management
- Position Size: X% of portfolio
- Max Loss: $X,XXX (X% of portfolio)
- Risk/Reward: X:1
## Thesis & Exit Criteria
**Investment Thesis**:
[Clear statement of why we're making this trade]
**Exit Triggers**:
- [ ] Target price reached
- [ ] Stop loss hit
- [ ] Thesis broken: [specific conditions]
- [ ] Time stop: [date if applicable]
## Disclaimers
This is for educational/research purposes only. Not financial advice. Past performance does not guarantee future results. Always do your own research.
Create 3 visually polished slides that feel like a Premium Financial Journal or High-End Strategic Report.
Use image generation tools to create slides:
content_script.md as pure information architecture before generatingDesign concept: Minimalist infographic track.
Design concept: "The Council Table" — Visual arrangement of investor personas, NOT a standard Excel-style table.
Create a visual card or portrait layout for the 8 investors. Do NOT use a standard table.
Data to Visualize:
| Investor | Vote | Conviction | Key Reasoning (Short) |
|---|---|---|---|
| Warren Buffett | [Vote] | X/10 | [Reasoning] |
| Benjamin Graham | [Vote] | X/10 | [Reasoning] |
| Peter Lynch | [Vote] | X/10 | [Reasoning] |
| Michael Burry | [Vote] | X/10 | [Reasoning] |
| Charlie Munger | [Vote] | X/10 | [Reasoning] |
| Cathie Wood | [Vote] | X/10 | [Reasoning] |
| Stanley Druckenmiller | [Vote] | X/10 | [Reasoning] |
| Howard Marks | [Vote] | X/10 | [Reasoning] |
Visual concept options (choose the most impactful):
Design emphasis: This should look like an exciting "moment of truth" reveal, not a boring table.
Design concept: Clean, asymmetric editorial layout.
When constructing image generation prompts for each slide: