Overview
Theyf_ticker_upgrades_downgrades tool provides a detailed history of analyst rating changes, including upgrades, downgrades, initiations, and reiterations.
yf_ticker_upgrades_downgrades
Retrieves the complete history of analyst rating actions for a ticker.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ticker | string | Yes | Ticker symbol (e.g., “AAPL”) |
response_format | string | No | Output format: “json” (default) or “markdown” |
preview_limit | number | No | Max rows to preview (1-200, default: 25) |
save | object | No | Save options with format (“csv” or “json”) and optional filename |
Response Data
Returns a DataFrame with columns typically including:- GradeDate - Date of the rating action
- Firm - Name of the analyst firm
- ToGrade - New rating assigned
- FromGrade - Previous rating (if applicable)
- Action - Type of action (e.g., “up”, “down”, “init”, “main”, “reit”)
Action Types
| Action | Description |
|---|---|
| up | Upgrade - firm raised its rating |
| down | Downgrade - firm lowered its rating |
| init | Initiated coverage - first rating from this firm |
| main | Maintained - reaffirmed existing rating |
| reit | Reiterated - restated rating without change |
Example
Sample Response (Markdown)
Understanding Rating Grades
Different firms use different terminology for their ratings. Common rating scales include:Five-Tier Scale
- Strong Buy / Buy / Hold / Sell / Strong Sell
Three-Tier Scale
- Buy (or Overweight) / Hold (or Neutral/Equal-Weight) / Sell (or Underweight)
Firm-Specific Terms
- Outperform ≈ Buy
- Market Perform ≈ Hold
- Underperform ≈ Sell
- Overweight ≈ Buy (relative to benchmark)
- Equal-Weight ≈ Hold
- Underweight ≈ Sell (relative to benchmark)
Use Cases
Tracking Recent Activity
Identify which firms have recently changed their stance:Analyzing Firm Behavior
Filter historical data to see how specific firms have rated the stock over time:Pre-Earnings Positioning
Check if analysts are positioning ahead of earnings by upgrading/downgrading:Sentiment Shifts
Monitor the ratio of upgrades to downgrades to gauge shifting sentiment:- Retrieve full history
- Count actions by type
- Track whether recent activity is net positive or negative
Interpreting Rating Changes
Upgrade Significance
- Positive signal: Analyst increased confidence in the stock
- May indicate: Improved fundamentals, raised estimates, or better outlook
- Impact: Often correlates with positive price momentum
Downgrade Significance
- Negative signal: Analyst reduced confidence
- May indicate: Deteriorating fundamentals, lowered estimates, or concerns
- Impact: Often correlates with negative price momentum
Initiation Coverage
- New coverage: Firm begins tracking the stock
- Often bullish: Firms typically initiate with Buy/Overweight ratings
- Visibility boost: Can increase institutional awareness
Maintained/Reiterated Ratings
- Confirmation: Firm reaffirms its view
- Context matters: May be noteworthy if issued after major news or earnings
- Less impactful: Generally has minimal price impact
Combining with Other Tools
For comprehensive analyst analysis, combine with:yf_ticker_recommendations
Get the full historical recommendation data (similar but may have different data structure).yf_ticker_recommendations_summary
See aggregated counts of current recommendations.yf_ticker_analyst_price_targets
Understand the price targets associated with these ratings.yf_ticker_eps_revisions
Correlate rating changes with estimate revisions.Example Workflow
Notes
- Not all rating changes appear immediately (may have data lag)
- Some firms issue ratings without prior coverage (FromGrade will be empty)
- Historical data depth varies by ticker
- Ratings reflect analyst opinions and should be one input among many
- Some firms may have proprietary rating scales not immediately comparable
Best Practices
- Look for clusters: Multiple downgrades in a short period may be more significant than a single change
- Consider the source: Ratings from top-tier firms often have more market impact
- Check the date: Recent actions are more relevant than old ratings
- Cross-reference: Combine with price action, estimates, and other analyst data
- Watch for reversals: Firms that frequently flip ratings may be less reliable
Related Tools
- yf_ticker_recommendations - Full recommendation history
- yf_ticker_analyst_price_targets - Price target data
- yf_ticker_eps_revisions - Estimate revision tracking