← Back to Intelligence

The Ironbrand Fear & Greed Index

Warren Buffett's most famous dictum—"Be fearful when others are greedy, and greedy when others are fearful"—is easy to recite but extraordinarily difficult to execute. When Bitcoin drops 30% in a week, every instinct screams sell. When it surges to new all-time highs on a wave of euphoric social media posts, rational caution evaporates. The human brain is not wired for contrarian thinking under pressure.

The Fear & Greed Index exists to quantify what humans feel but cannot measure. It transforms the collective emotional state of the cryptocurrency market into a single number between 0 (maximum fear) and 100 (maximum greed), updated continuously from multiple independent data sources. Ironbrand's implementation goes beyond simple index tracking—it integrates the index directly into the signal generation pipeline as a directional bias modifier that influences every trade decision.

Why Market Emotions Matter

Cryptocurrency markets are driven by narratives and emotions to a degree that traditional equity markets are not. There are no earnings reports to anchor valuations. There are no dividend yields to establish fair value floors. Price is determined almost entirely by supply, demand, and the collective belief of market participants about where price should be.

This makes emotional extremes powerful predictive signals:

Ironbrand's Composite Index: Five Data Components

While Ironbrand ingests the widely-followed Alternative.me Fear & Greed Index as a primary input, the internal composite index combines five weighted data components to produce a more comprehensive reading:

1. Social Sentiment (35% weight)

The largest single component. Social sentiment is measured through multiple channels:

Social sentiment is weighted at 35% because crypto markets are uniquely narrative-driven. A single influential tweet can move Bitcoin by 3-5% in minutes. Social data captures these narrative shifts faster than any other data source.

2. Market Momentum (25% weight)

Price trends and moving average alignment provide the momentum component:

3. Volatility (15% weight)

Volatility is measured primarily through the 14-period ATR on the 5-minute chart:

4. Bitcoin Dominance (15% weight)

Bitcoin's share of total cryptocurrency market capitalization provides insight into market risk appetite:

Ironbrand tracks BTC dominance as a percentage with one decimal precision. The current reading and total market cap are available in every market context snapshot.

5. Search & Social Volume (10% weight)

The smallest component, but a useful leading indicator:

How the Index Is Calculated

Each component produces a sub-score on a 0-100 scale, then the weighted average yields the composite index:

Composite F&G = (Social_Sentiment * 0.35)
              + (Market_Momentum * 0.25)
              + (Volatility * 0.15)
              + (BTC_Dominance * 0.15)
              + (Search_Volume * 0.10)

Classification:
   0 - 20:  Extreme Fear
  21 - 40:  Fear
  41 - 60:  Neutral
  61 - 80:  Greed
  81 - 100: Extreme Greed

The Alternative.me Fear & Greed Index is ingested as a cross-reference. When Ironbrand's composite score and Alternative.me diverge by more than 15 points, the system flags the discrepancy for further analysis. Sustained divergences often indicate that one data source is capturing information the other is missing.

Integration with the Signal Engine

The Fear & Greed Index does not generate trade signals directly. Instead, it modifies the directional bias score that influences whether signals from the technical engine are approved or rejected.

Bias Scoring

The market context system calculates a directional bias on a scale from -5 (strongly bearish) to +5 (strongly bullish). The Fear & Greed Index contributes to this score as follows:

F&G Reading Classification Bias Contribution Effect on Signals
0 - 20 Extreme Fear -2 points Short signals boosted, long signals require higher confidence
21 - 35 Fear -1 point Slight bearish bias
36 - 64 Neutral 0 points No bias from sentiment
65 - 79 Greed +1 point Slight bullish bias
80 - 100 Extreme Greed +2 points Long signals boosted, short signals require higher confidence

The bias score is combined with contributions from funding rates, liquidation ratios, and social sentiment to produce the final directional bias. When the total score reaches +2 or higher, the system has a "long" bias. At -2 or lower, a "short" bias. Between -1 and +1, the bias is neutral.

LLM Analysis Integration

The Fear & Greed reading is passed directly to the LLM analysis layer as part of the market context prompt. The LLM sees the raw value and classification:

## MARKET CONTEXT
- Fear & Greed: 13 (Extreme Fear)
- Funding rate: -0.0050% (short_pay)
- Open Interest: $18.5B
- Liquidations 24h: ratio L/S = 2.3x (long_liquidated)
- BTC Dominance: 61.5%
- Social sentiment: bearish (bull ratio: 30%)
- Bias: SHORT (strength: -3/5)

The LLM is instructed to evaluate whether the signal aligns with the macro context. A long signal during Extreme Fear with -3 bias strength faces a high bar for approval. The LLM must identify specific reasons why the technical setup should override the macro headwinds.

Contrarian Trading: When Fear Creates Opportunity

The most profitable application of the Fear & Greed Index is contrarian: buying when others are fearful, selling when others are greedy. But this requires nuance—blindly buying every fear reading leads to catching falling knives.

The Contrarian Conditions

Ironbrand's system does not mechanically flip to contrarian mode. Instead, it looks for specific conditions that suggest an emotional extreme is ready to reverse:

Historical Examples

The following examples illustrate how extreme Fear & Greed readings have historically preceded significant market moves:

Period F&G Reading BTC Price Action Subsequent 30-Day Return
March 2020 (COVID crash) 8 (Extreme Fear) BTC dropped to $3,800 +80% (recovered to $6,800+)
June 2022 (Luna/3AC) 6 (Extreme Fear) BTC at $17,500 +25% (bounced to $22,000)
Nov 2021 (ATH) 84 (Extreme Greed) BTC at $69,000 -20% (dropped to $55,000)
Feb 2024 (ETF euphoria) 82 (Extreme Greed) BTC near $52,000 +30% (surged to $73,000)

The February 2024 example illustrates why contrarian signals are not mechanical. Extreme greed during the Bitcoin ETF approval period was followed by more gains, not a correction. The structural catalyst (first-ever spot Bitcoin ETFs) was powerful enough to override the sentiment warning. Ironbrand's system would have captured this nuance through its multi-layered analysis: while the F&G Index was flashing caution, the BOS regime was firmly bullish, funding rates were manageable, and the on-chain data showed massive institutional inflows.

Data Source: Alternative.me API

The primary Fear & Greed Index data comes from Alternative.me's free API:

Endpoint:    https://api.alternative.me/fng/?limit=1
Response:    {
               "data": [{
                 "value": "23",
                 "value_classification": "Extreme Fear",
                 "timestamp": "1711411200"
               }]
             }
Cache TTL:   30 minutes (index updates daily, but caching
             prevents unnecessary API calls)
Fallback:    If API fails, returns last cached value.
             If no cache exists, defaults to 50 (Neutral).

The API is free and requires no authentication, making it highly reliable as a data source. The 30-minute cache ensures that even if the API temporarily goes down, the system continues operating with the last known value. Since the index updates only once per day, stale cached data remains valid for hours.

Social Sentiment Data Pipeline

Beyond the Fear & Greed Index itself, Ironbrand's social sentiment pipeline processes data from multiple sources to produce its own bull/bear ratio:

CoinGecko Community Sentiment:
  Endpoint: /api/v3/coins/bitcoin
  Fields:   sentiment_votes_up_percentage,
            sentiment_votes_down_percentage
  Logic:    bull_ratio = up_pct / 100
            if up_pct >= 65: "bullish"
            if up_pct <= 35: "bearish"
            else: "mixed"
  Cache:    30 minutes
  Bias:     +1 if bullish, -1 if bearish, 0 if mixed

CryptoPanic Sentiment:
  Endpoint: /api/developer/v2/posts/
  Filters:  bullish, bearish, important (separate requests)
  Logic:    score = (bullish_count - bearish_count) /
                    (bullish_count + bearish_count)
  Labels:   bullish (bull > bear*2)
            bearish (bear > bull*2)
            slightly_bullish (bull > bear)
            slightly_bearish (bear > bull)
            mixed (equal)
  Cache:    15 minutes

Limitations and Edge Cases

No single indicator is infallible. The Fear & Greed Index has specific limitations that Ironbrand's multi-layered architecture is designed to compensate for:

The Key Principle: The Fear & Greed Index is one voice in a chorus. It tells Ironbrand's AI how the market feels, not where it will go. Combined with technical structure (BOS, EMA, RSI), macro data (funding, liquidations, dominance), and geopolitical context (GDELT, Polymarket), it completes the picture that no single data source can provide alone. The power is in the combination.

Real-Time Dashboard Display

Ironbrand users see the Fear & Greed Index as part of their market context dashboard. The display includes:

When the index crosses between classifications (e.g., from Fear to Extreme Fear), the dashboard generates an alert. Users who have enabled signal notifications receive a push notification with the current reading and its implications for active positions.

Conclusion

The Fear & Greed Index transforms the intangible—market psychology, crowd behavior, emotional extremes—into a quantifiable metric that directly influences Ironbrand's AI signal generation. By combining data from the Alternative.me index, CoinGecko community sentiment, CryptoPanic news analysis, and GDELT news tone scoring, the system maintains a real-time pulse on market emotion.

But the index is deliberately not the loudest voice in the room. At 35% of the composite and contributing just -2 to +2 points on the directional bias scale, it influences but does not dictate. The technical engine provides structure. The macro data provides context. The geopolitical layer provides awareness. And the Fear & Greed Index provides the emotional dimension that completes the picture.

Markets are not purely rational. Any system that ignores emotion is incomplete. Any system that is ruled by emotion is doomed. Ironbrand's approach—measuring emotion precisely, weighting it appropriately, and combining it with rigorous technical and fundamental analysis—is the balance that institutional-grade trading demands.