Files
trading_bot_v3/GLOBAL_SENTIMENT_INDICATORS.md
mindesbunister 174c155e26 feat: M2 Money Supply integration for macro sentiment analysis
- Created M2MoneySupplyIndicator class with FRED API integration
- Accounts for 3-6 month correlation delay between M2 and crypto
- Analyzes M2 growth rates and trend acceleration/deceleration
- Provides delayed impact predictions and position recommendations
- Integrated into enhanced global automation system
- Updated sentiment indicators guide with M2 as Tier 1 indicator
- M2 growth >10% = bullish liquidity conditions for crypto
- Peak correlation 0.75 with crypto at 3-6 month delay
2025-08-06 00:32:13 +02:00

248 lines
7.3 KiB
Markdown

# 🌍 Global Market Sentiment Indicators Guide
## 🔥 **YES! Fear & Greed Index is Essential**
The Crypto Fear & Greed Index is one of the **most valuable** sentiment indicators because:
- **Contrarian Signal**: Extreme fear = buying opportunity, Extreme greed = selling opportunity
- **Market Psychology**: Captures emotional extremes that drive market cycles
- **Proven Track Record**: Extreme fear often marks major bottoms (COVID crash, FTX collapse)
- **Real-time Data**: Updates daily with current market psychology
## 📊 **Essential Sentiment Indicators for Global Trading**
### **1. Fear & Greed Indicators**
```javascript
// Crypto Fear & Greed Index (0-100)
fearGreedIndex: {
value: 25, // Current reading
classification: 'Fear',
signals: {
0-25: 'EXTREME_FEAR - Strong buy signal',
25-45: 'FEAR - Cautious buy opportunity',
45-55: 'NEUTRAL - Technical analysis primary',
55-75: 'GREED - Consider profit taking',
75-100: 'EXTREME_GREED - Strong sell signal'
}
}
```
### **2. Volatility Indicators**
```javascript
// VIX (S&P 500 Volatility Index)
vix: {
value: 18.5,
interpretation: {
'<15': 'COMPLACENCY - Volatility spike risk',
'15-25': 'NORMAL - Stable market conditions',
'25-35': 'ELEVATED - Increased uncertainty',
'>35': 'PANIC - Extreme fear/opportunity'
}
}
// GVIX (Crypto Volatility Index)
cryptoVIX: {
value: 85,
interpretation: 'Higher than traditional markets = more opportunity/risk'
}
```
### **3. Macro Economic Indicators**
```javascript
// M2 Money Supply (Federal Reserve)
m2MoneySupply: {
currentGrowth: 12.8, // Annual growth rate
trend: 'ACCELERATING',
impact: {
'Expanding >10%': 'BULLISH - Increased liquidity flows to risk assets',
'Moderate 5-10%': 'NEUTRAL - Stable liquidity conditions',
'Contracting <5%': 'BEARISH - Reduced liquidity, risk-off sentiment'
},
correlationDelay: '3-6 months peak correlation with crypto',
cryptoImpact: 'Peak correlation 0.75 with 3-6 month delay'
}
// Dollar Strength Index (DXY)
dollarIndex: {
value: 103.2,
impact: {
'>105': 'STRONG_DOLLAR - Crypto/risk asset headwind',
'95-105': 'STABLE - Neutral for risk assets',
'<95': 'WEAK_DOLLAR - Crypto/risk asset tailwind'
}
}
// 10-Year Treasury Yields
bondYields: {
value: 4.2,
impact: {
'Rising': 'Competition for risk assets - bearish crypto',
'Falling': 'Money flows to risk assets - bullish crypto',
'>5%': 'Extreme competition - very bearish crypto'
}
}
```
### **4. Crypto-Specific Sentiment**
```javascript
// Bitcoin Dominance (BTC.D)
bitcoinDominance: {
value: 52.3,
signals: {
'Rising': 'Flight to quality - BTC outperforming alts',
'Falling': 'Risk-on - Altcoin season potential',
'>60%': 'Extreme BTC strength - alts struggling',
'<40%': 'Extreme alt strength - bubble risk'
}
}
// Stablecoin Dominance
stablecoinDominance: {
value: 8.5,
signals: {
'Rising': 'Money moving to sidelines - bearish',
'Falling': 'Money deploying to risk - bullish'
}
}
```
### **5. Traditional Market Sentiment**
```javascript
// CNN Fear & Greed Index (Traditional Markets)
traditionalFearGreed: {
value: 45,
impact: 'High correlation periods - crypto follows traditional markets'
}
// AAII Investor Sentiment (Retail Sentiment)
aaiSentiment: {
bullish: 35,
bearish: 40,
neutral: 25,
signal: 'Excessive bearishness = contrarian buy opportunity'
}
```
### **6. On-Chain Sentiment Indicators**
```javascript
// Long-Term Holder Behavior
onChainMetrics: {
longTermHolderMVRV: 0.85, // <1 = accumulation opportunity
netUnrealizedProfitLoss: -15, // Negative = fear/opportunity
exchangeInflowsOutflows: 'outflows', // Outflows = bullish
whaleAccumulation: 'increasing' // Whale buying = bullish
}
// Network Value Indicators
networkHealth: {
activeAddresses: 'declining', // Bearish for adoption
transactionFees: 'low', // Low usage = opportunity or concern
hashRate: 'increasing' // Security improving = bullish
}
```
### **7. Social Sentiment Indicators**
```javascript
// Google Trends
googleTrends: {
bitcoin: 45, // 0-100 relative search interest
crypto: 32,
trend: 'declining', // Low interest = potential opportunity
signal: 'Extreme low search = market bottom signal'
}
// Reddit/Twitter Sentiment
socialSentiment: {
redditPosts: 'decreasing', // Less discussion = less hype
twitterMentions: 'negative', // Negative sentiment = opportunity
influencerSentiment: 'bearish' // Contrarian signal
}
```
### **8. Institutional Sentiment**
```javascript
// Futures Market Sentiment
futuresData: {
bitcoinFuturesOI: 'declining', // Open interest trends
fundingRates: -0.01, // Negative = shorts paying longs
perpetualPremium: 0.02, // Low premium = less euphoria
optionsPutCallRatio: 1.8 // High ratio = fear/opportunity
}
// ETF Flows (When available)
etfFlows: {
bitcoinETF: 'outflows', // Institutional selling
equityETF: 'inflows', // Risk-on traditional markets
bondETF: 'outflows' // Flight from safety
}
```
## 🎯 **How to Use These Indicators**
### **Market Regime Detection**
```javascript
// Combine indicators to detect market regime
function detectMarketRegime(indicators) {
if (fearGreed < 25 && vix > 30 && dollarIndex > 105) {
return 'CRISIS_OPPORTUNITY'; // Strong buy signal
}
if (fearGreed > 75 && vix < 15 && cryptoVIX < 50) {
return 'EUPHORIA_WARNING'; // Strong sell signal
}
if (btcDominance > 60 && stablecoinDominance > 12) {
return 'CRYPTO_WINTER'; // Long-term accumulation
}
return 'NEUTRAL';
}
```
### **Position Sizing Based on Sentiment**
```javascript
// Adjust position sizes based on sentiment confluence
function calculatePositionSize(baseSize, sentiment) {
let multiplier = 1.0;
// Fear indicators (increase size)
if (fearGreed <= 25) multiplier += 0.5;
if (vix > 30) multiplier += 0.3;
if (socialSentiment === 'extremely_negative') multiplier += 0.2;
// Greed indicators (decrease size)
if (fearGreed >= 75) multiplier -= 0.5;
if (vix < 15) multiplier -= 0.3;
if (googleTrends > 80) multiplier -= 0.4;
return baseSize * Math.max(0.2, Math.min(2.0, multiplier));
}
```
## 🚀 **Most Impactful Indicators to Start With:**
### **Tier 1 (Essential)**
1. **Crypto Fear & Greed Index** - Primary sentiment gauge
2. **M2 Money Supply** - Macro liquidity conditions (3-6 month lead indicator)
3. **VIX** - Volatility/risk appetite measure
4. **Bitcoin Dominance** - Crypto market dynamics
5. **DXY (Dollar Index)** - Macro headwind/tailwind
### **Tier 2 (High Value)**
5. **Bond Yields** - Risk asset competition
6. **Funding Rates** - Crypto futures sentiment
7. **Stablecoin Dominance** - Money flow direction
8. **Google Trends** - Retail interest gauge
### **Tier 3 (Advanced)**
9. **On-chain metrics** - Whale/institutional behavior
10. **Social sentiment** - Contrarian signals
11. **Options data** - Sophisticated money positioning
## 💡 **Implementation Priority:**
**Phase 1**: Integrate Fear & Greed + VIX + Bitcoin Dominance
**Phase 2**: Add DXY and Bond Yields for macro context
**Phase 3**: Include on-chain and social sentiment for complete picture
This multi-layered approach gives you a **true global market outlook** beyond just technical analysis! 🌍