Complete setup instructions for Claude Equity Research integration with Claude Code.
# Install the trading-ideas command system-wide
curl -o ~/.claude/commands/trading-ideas.md https://raw.githubusercontent.com/quant-sentiment-ai/claude-equity-research/main/commands/trading-ideas.md
# Verify installation
ls ~/.claude/commands/trading-ideas.md
# Test the command
# (Open new Claude Code session and try: /trading-ideas AAPL)# Clone the full repository
git clone https://github.com/quant-sentiment-ai/claude-equity-research.git
cd claude-equity-research
# Copy command to Claude Code
cp commands/trading-ideas.md ~/.claude/commands/
# Optional: Set up development environment
cp config/config.example.json config/config.json- Claude Code CLI: Latest version from claude.ai/code
- Internet Connection: For real-time data retrieval
- Terminal Access: Command-line interface
- Git: For repository cloning and updates
- Text Editor: For command customization
# Start Claude Code session
claude-code
# Test the command
/trading-ideas AAPLExpected Output: Comprehensive equity research report with:
- Executive Summary with BUY/SELL/HOLD recommendation
- Fundamental analysis with specific metrics
- Price target and upside/downside calculation
- Risk assessment and position sizing
# Test enhanced analysis
/trading-ideas HOOD --detailed
# Test different sectors
/trading-ideas JPM # Financial services
/trading-ideas NVDA # Technology/AI
/trading-ideas TSLA # Growth/automotiveAfter installation, your Claude Code setup should include:
~/.claude/
├── commands/
│ └── trading-ideas.md # ✓ Main analysis command
├── settings.local.json # Your Claude Code settings
└── [other directories...]
# Optional: Full repository structure
claude-equity-research/
├── README.md
├── LICENSE
├── commands/
│ ├── trading-ideas.md
│ └── README.md
├── config/
├── docs/
├── examples/
└── utils/
The command works out-of-the-box with default settings:
- 12-month analysis timeframe
- Moderate risk assessment
- Institutional-grade formatting
- Comprehensive disclaimer inclusion
# Create custom config
mkdir -p ~/.claude/equity-research
cp claude-equity-research/config/config.example.json ~/.claude/equity-research/config.json
# Edit configuration
vim ~/.claude/equity-research/config.jsonConfiguration Options:
- Analysis timeframes (1m, 3m, 6m, 12m)
- Risk levels (conservative, moderate, aggressive)
- Output formats (terminal, markdown, detailed)
- Position sizing parameters
# Check if file exists
ls -la ~/.claude/commands/trading-ideas.md
# If missing, reinstall
curl -o ~/.claude/commands/trading-ideas.md https://raw.githubusercontent.com/quant-sentiment-ai/claude-equity-research/main/commands/trading-ideas.md
# Check file permissions
chmod 644 ~/.claude/commands/trading-ideas.md
# Restart Claude Code sessionSymptoms: Missing sections or error messages
Solutions:
- Check Internet Connection: Command requires web access
- Verify Ticker Symbol: Use valid stock tickers (1-5 letters)
- Try Different Ticker: Some stocks may have limited data
- Check Claude Code Version: Ensure latest version
# Test with known-good ticker
/trading-ideas AAPL
# Check Claude Code version
claude-code --versionSymptoms: Inconsistent output formatting
Solutions:
- Verify Command File: Ensure clean installation
- Check for Customizations: Reset to default if modified
- Restart Session: Commands reload on new sessions
# Restore default command
curl -o ~/.claude/commands/trading-ideas.md https://raw.githubusercontent.com/quant-sentiment-ai/claude-equity-research/main/commands/trading-ideas.md
# Start fresh session
exit # Exit current Claude Code session
claude-code # Start new session# Download latest version
curl -o ~/.claude/commands/trading-ideas.md https://raw.githubusercontent.com/quant-sentiment-ai/claude-equity-research/main/commands/trading-ideas.md
# Verify update
head -10 ~/.claude/commands/trading-ideas.mdcd claude-equity-research
git pull origin main
cp commands/trading-ideas.md ~/.claude/commands/# Check command version (look for version info in file header)
grep -i "version\|updated" ~/.claude/commands/trading-ideas.md# Development setup
cp commands/trading-ideas.md ~/.claude/commands/trading-ideas-dev.md
# Edit development version...
# Production setup
cp commands/trading-ideas.md ~/.claude/commands/trading-ideas.md# Create custom sector-specific commands
cp commands/trading-ideas.md ~/.claude/commands/tech-analysis.md
cp commands/trading-ideas.md ~/.claude/commands/biotech-analysis.md
# Customize each for sector-specific metrics# Batch analysis script
#!/bin/bash
tickers=("AAPL" "GOOGL" "MSFT" "TSLA")
for ticker in "${tickers[@]}"; do
echo "Analyzing $ticker..."
echo "/trading-ideas $ticker" | claude-code
done- Permission Denied: Run
chmod 644 ~/.claude/commands/trading-ideas.md - Network Errors: Check internet connection and try again
- Invalid Ticker: Use proper stock ticker symbols (AAPL, not Apple)
- Missing Data: Some newer/smaller companies may have limited coverage
# Enable verbose output for troubleshooting
export CLAUDE_DEBUG=1
/trading-ideas AAPLNext Steps:
- Try your first analysis:
/trading-ideas AAPL - Review Usage Examples
- Read Methodology for analysis framework details
- Explore Customization Guide for advanced features