Use this skill when analyzing stocks, performing technical analysis, or evaluating market conditions.
Activate this skill when the user asks to:
Located in refs/TradingAgents/, this provides:
# Import the abstracted data tools
from tradingagents.agents.utils.agent_utils import (
get_stock_data, # Price data via yfinance/Alpha Vantage
get_indicators, # Technical indicators
get_fundamentals, # Company fundamentals
get_balance_sheet, # Balance sheet data
get_cashflow, # Cash flow statements
get_income_statement,# Income statement
get_news, # Company news
get_global_news, # Market-wide news
get_insider_sentiment, # Insider trading sentiment
get_insider_transactions # Insider transactions
)
Purpose: Technical analysis with indicators
Key indicators to select (choose 8 complementary ones):
Process:
get_stock_data(ticker, start_date, end_date) firstget_indicators(ticker, indicator_list, start_date, end_date)Purpose: Analyze company financials and health
Key metrics:
Purpose: Analyze news impact and sentiment
Process:
get_news(ticker)get_global_news()Purpose: Gauge retail investor sentiment
Data sources:
# Get price data (ALWAYS call this first)
stock_data = get_stock_data(ticker, start_date, end_date)
# Calculate technical indicators
indicators = get_indicators(
ticker,
["rsi", "macd", "boll_ub", "boll_lb", "close_50_sma", "close_200_sma", "atr", "vwma"],
start_date,
end_date
)
# Get fundamentals
fundamentals = get_fundamentals(ticker)
balance_sheet = get_balance_sheet(ticker)
# Get news
news = get_news(ticker)
global_news = get_global_news()
Analyze across these dimensions:
Technical:
Fundamental:
Sentiment:
Required Format:
## Market Analysis Report: {TICKER}
**Date**: {current_date}
### Executive Summary
[One paragraph with key takeaway]
### Technical Analysis
**Trend**: [Bullish/Bearish/Neutral]
**Key Signals**:
- RSI ({value}): {interpretation}
- MACD ({value}): {interpretation}
- Bollinger Bands: {position relative to bands}
- Support: ${level}, Resistance: ${level}
**Volume Analysis**: {increasing/decreasing/stable}
### Fundamental Analysis
**Valuation**: P/E {value} (vs industry avg {value})
**Financial Health**: [Strong/Moderate/Weak]
**Growth Metrics**:
- Revenue: {YoY %}
- EPS: {YoY %}
- Margins: {%}
**Concerns**: {list any red flags}
### News & Sentiment
**Recent Headlines**:
1. {headline 1}
2. {headline 2}
3. {headline 3}
**Overall Sentiment**: [Positive/Neutral/Negative]
**Catalysts**: {upcoming events}
### Key Metrics Table
| Metric | Value | Interpretation |
|--------|-------|----------------|
| Price | ${X} | {vs SMA levels} |
| RSI | {X} | {overbought/neutral/oversold} |
| P/E | {X} | {vs industry} |
| Revenue Growth | {X%} | {strong/weak} |
### Trading Recommendation
[Detailed reasoning combining all analysis]
**Action**: BUY/HOLD/SELL
**Confidence**: High/Medium/Low
**Risk Level**: High/Medium/Low
All code located in refs/TradingAgents/:
tradingagents/agents/analysts/market_analyst.pytradingagents/agents/analysts/fundamentals_analyst.pytradingagents/agents/analysts/news_analyst.pytradingagents/agents/analysts/social_media_analyst.pytradingagents/agents/utils/agent_utils.pytradingagents/dataflows/User: "Analyze NVDA stock"
Response:
When multiple AI models use this skill: