AI Trading Claude
AI trading research engine for Claude Code. Analyze stocks (technical, fundamental, sentiment, risk, thesis), options strategies, sector rotation, portfolio analysis, and PDF reports. 16 skills, 5 parallel agents. Research tool only — not financial advice.
Install / Use
npx skills add zubair-trabzada/ai-trading-claudeInstalls into whichever agent you are using.
Quality Score
Category
Education & ResearchSupported Platforms
README
WARNING: This tool is for educational and research purposes only. It is NOT financial advice. It does NOT execute trades. It does NOT manage money. Always do your own due diligence and consult a licensed financial advisor before making investment decisions.
Quick Start
curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-trading-claude/main/install.sh | bash
That's it. One command installs all 16 skills, 5 agents, and the PDF generation scripts.
What Is This?
AI Trading Analyst is a research and analysis tool built as Claude Code skills. It is not a trading bot. It does not connect to brokerages. It does not execute trades.
What it does: takes a ticker symbol and runs a comprehensive multi-dimensional analysis using 5 parallel AI agents — technical, fundamental, sentiment, risk, and thesis — then produces a composite Trade Score (0-100) with a clear signal (Strong Buy / Buy / Hold / Caution / Avoid).
Run /trade analyze AAPL and 5 AI agents launch in parallel to produce a complete investment research report.
No API keys. No brokerage accounts. No financial data subscriptions. Just Claude Code.
Architecture
/trade analyze <ticker>
|
┌─────────────┼─────────────┐
| | |
┌─────┴──────┐ ┌───┴─────┐ ┌─────┴──────┐
| trade- | | trade- | | trade- |
| technical | | funda- | | sentiment |
| agent | | mental | | agent |
| (price, | | agent | | (news, |
| patterns, | | (value, | | social, |
| indicators)| | growth)| | analysts) |
└─────────────┘ └────────┘ └────────────┘
| | |
┌─────┴──────┐ ┌───┴─────┐
| trade-risk | | trade- |
| agent | | thesis |
| (volatility,| | agent |
| sizing, | | (bull/ |
| drawdown) | | bear, |
| | | entry) |
└─────────────┘ └────────┘
| | |
└─────────────┼─────────────┘
|
┌─────────────┴─────────────┐
| Composite Trade Score |
| (0-100) + Grade + Signal |
| + PDF Investment Report |
└───────────────────────────┘
All 16 Commands
Analysis & Research
| Command | What It Does |
|---------|-------------|
| /trade analyze <ticker> | Flagship — Full stock analysis with 5 parallel agents. Returns Trade Score (0-100), technical levels, fundamental metrics, sentiment reading, risk profile, investment thesis, and entry/exit plan. |
| /trade quick <ticker> | 60-second stock snapshot — price, trend, key metrics, signal. No subagents. |
| /trade technical <ticker> | Technical analysis — price action, chart patterns, indicators, support/resistance levels. |
| /trade fundamental <ticker> | Fundamental analysis — financials, valuation metrics, competitive moat, growth trajectory. |
| /trade sentiment <ticker> | News and social sentiment — analyst ratings, insider activity, social buzz, news tone. |
| /trade sector <sector> | Sector rotation and momentum — relative strength, fund flows, top/bottom performers. |
Thesis & Strategy
| Command | What It Does |
|---------|-------------|
| /trade thesis <ticker> | Complete investment thesis — bull/bear cases, catalysts, entry/exit strategy with price levels. |
| /trade compare <t1> <t2> | Head-to-head stock comparison across all dimensions with a winner recommendation. |
| /trade options <ticker> | Options strategy recommendations — covered calls, spreads, protective puts based on outlook. |
| /trade earnings <ticker> | Pre-earnings analysis — expected move, historical reactions, positioning strategy. |
Portfolio & Risk
| Command | What It Does |
|---------|-------------|
| /trade portfolio | Portfolio analysis — correlation matrix, sector exposure, rebalancing recommendations. |
| /trade risk <ticker> | Risk assessment — position sizing, max drawdown, scenario analysis, risk/reward ratio. |
| /trade screen <criteria> | Stock screener — filter by strategy (momentum, value, dividend, growth, etc.). |
| /trade watchlist | Build and update a scored watchlist with ranked opportunities. |
Reporting
| Command | What It Does |
|---------|-------------|
| /trade report-pdf | Professional 6-page PDF investment report with score gauges, charts, and thesis. |
Scoring Methodology
The Trade Score (0-100) is a weighted composite of 5 dimensions:
| Category | Weight | What It Measures | |----------|--------|------------------| | Technical Strength | 25% | Trend, momentum, volume, pattern quality, support/resistance | | Fundamental Quality | 25% | Valuation, growth, profitability, balance sheet, moat | | Sentiment & Momentum | 20% | News tone, social buzz, analyst consensus, insider signals | | Risk Profile | 15% | Volatility, drawdown potential, correlation, liquidity | | Thesis Conviction | 15% | Catalyst clarity, timeline, asymmetry, edge identification |
Grade & Signal Interpretation
| Score | Grade | Signal | Meaning | |-------|-------|--------|---------| | 85-100 | A+ | Strong Buy | High conviction across all dimensions | | 70-84 | A | Buy | Favorable setup with manageable risks | | 55-69 | B | Hold | Mixed signals, wait for confirmation | | 40-54 | C | Caution | No clear edge, stay on sidelines | | 25-39 | D | Caution | Significant headwinds or overvaluation | | 0-24 | F | Avoid | Major red flags across multiple dimensions |
Sample Output
/trade analyze AAPL
╔══════════════════════════════════════════════════════════════╗
║ AI TRADING ANALYSIS ║
║ AAPL — Apple Inc. ║
╚══════════════════════════════════════════════════════════════╝
TRADE SCORE: 74/100 (Grade: A) Signal: BUY
┌──────────────────────┬───────┬────────┬──────────┐
│ Category │ Score │ Weight │ Status │
├──────────────────────┼───────┼────────┼──────────┤
│ Technical Strength │ 78 │ 25% │ Strong │
│ Fundamental Quality │ 82 │ 25% │ Strong │
│ Sentiment & Momentum │ 68 │ 20% │ Mixed │
│ Risk Profile │ 62 │ 15% │ Mixed │
│ Thesis Conviction │ 71 │ 15% │ Strong │
└──────────────────────┴───────┴────────┴──────────┘
ENTRY: $178-$182 | TARGET: $198-$205 | STOP: $168
RISK/REWARD: 2.8:1 | POSITION: 3-5% of portfolio
TOP 3 CATALYSTS:
1. Q3 earnings (Jul 31) — services growth + AI roadmap
2. iPhone 17 launch (Sep) — AI features as upgrade driver
3. Margin expansion from services mix shift
Saved: TRADE-ANALYSIS-AAPL.md
/trade quick NVDA
⚡ TRADE SNAPSHOT — NVDA (NVIDIA Corp.)
Score: 81/100 (A) — BUY
Price: $892.40 (+2.3% today)
Trend: Strong uptrend, above all major MAs
✓ Revenue growth +122% YoY (AI demand)
✓ RSI 58 — bullish, not overbought
✓ Institutional accumulation pattern
✗ P/E 65x — premium valuation
✗ High beta (1.7) — volatile
✗ Concentration risk in AI capex cycle
Run /trade analyze NVDA for the full multi-agent analysis
Use Cases
Day Traders
Use /trade technical for real-time support/resistance levels, indicator readings, and pattern recognition. Run /trade quick for fast pre-market scans.
Swing Traders
Run /trade analyze for multi-dimensional analysis. Use /trade thesis to build entry/exit plans with specific price levels and timeframes.
Long-Term Investors
Focus on /trade fundamental for deep valuation and moat analysis. Use /trade compare to evaluate alternatives. Run /trade portfolio for allocation guidance.
Options Traders
Use /trade options for strategy recommendations based on the current setup. Combine with /trade earnings for pre-earnings positioning and expected move analysis.
Portfolio Managers
Run /trade portfolio for correlation analysis and rebalancing suggestions. Use /trade screen to find new opportunities. Build ranked watchlists with /trade watchlist.
Installation
Prerequisites
- Claude Code (with an active Anthropic API key)
- Python 3.8+ (for PDF generation only)
- reportlab —
pip3 install reportlab(for PDF generation only)
One-Line Install
curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-trading-claude/main/install.sh | bash
Manual Install
git clone https://github.com/zubair-trabzada/ai-trading-claude.git
cd ai-trading-claude
chmod +x install.sh
./install.sh
Uninstall
curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-trading-claude/main/uninstall
Related Skills
mcp
Use the `mcp_perplexity-ask_perplexity_search` tools to answer questions. You should use this instead of the `web_search` tool because it is a lot more accurate.
practical-power-systems-synthesis
This skill enables synthesis in the domain of power-systems (engineering). It represents research-level-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform synthesis operations related to power-systems.
semi-supervised-optogenetics-testing
This skill enables testing in the domain of optogenetics (neuroscience). It represents intermediate-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform testing operations related to optogenetics.
data-mining-interpretation-fundamental
This skill enables interpretation in the domain of data-mining (data-science). It represents fundamental-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform interpretation operations related to data-mining.
