Fear & Greed Index Indicator Development
Fear & Greed Index is an aggregated indicator of market sentiment, with values from 0 (Extreme Fear) to 100 (Extreme Greed). Developed by Alternative.me, it has become a standard tool for understanding the current emotional state of the market. We develop either integration of a ready-made index or our own implementation with custom weights.
Components of Classic Fear & Greed Index
The original Alternative.me methodology uses several data sources:
| Component | Weight | Description |
|---|---|---|
| Volatility | 25% | Current BTC volatility vs 30d/90d average |
| Market Momentum/Volume | 25% | Trading volume vs average + momentum |
| Social Media | 15% | Activity on Twitter/Reddit by crypto tags |
| Surveys | 15% | Surveys (temporarily disabled) |
| Bitcoin Dominance | 10% | Increase in dominance = fear (flight to BTC) |
| Google Trends | 10% | Search queries for "bitcoin" |
Custom Implementation
For a custom index we build a data collection pipeline for each component:
Volatility component — calculated through standard deviation of daily returns over rolling 30d window, normalized to historical range. OHLCV data from Binance/CoinGecko API.
Volume/Momentum — 24h volume relative to 30-day average + price change momentum. Available through exchange APIs.
Social sentiment — number of mentions and sentiment score from Twitter/X API (Basic tier gives 500k tweets/month), Reddit Pushshift or LunarCrush API.
Google Trends — through pytrends (unofficial Python client) or official Trends API. Relative value of search queries.
Each component is normalized to 0–100 range, then weighted. The final value is recorded in the database once daily (or more frequently for realtime version).
Visualization
Gauge (speedometer) from 0 to 100 with color zones: red (0–25 Extreme Fear), orange (25–45 Fear), yellow (45–55 Neutral), light green (55–75 Greed), green (75–100 Extreme Greed).
Line graph of historical index values overlaid on BTC price chart — key visualization for understanding correlation. Periods of Extreme Fear historically correspond to cycle bottoms and best entry points.
Data from Alternative.me API (https://api.alternative.me/fng/) returns current value and history. For integration of a ready-made index this is the fastest approach — polling once per hour, caching in Redis.
We develop both simple integration of a ready-made API with beautiful visualization and a complete custom implementation with custom components and weights for a specific market.







