# India Market Intelligence

> Comprehensive India-focused market intelligence tool that fetches real-time data on NIFTY, SENSEX, global indices, market news, geopolitical events, and provides AI-powered analysis with probability predictions, risk assessment, and trading decisions for Indian stock market. Sources include Yahoo Finance, Moneycontrol, Economic Times.

- Skill: `knownasnaffy/india-market-intelligence-5` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add knownasnaffy/india-market-intelligence-5`
- Raw SKILL.md: https://api.skillmd.com/api/skills/knownasnaffy/india-market-intelligence-5/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: knownasnaffy (https://skillmd.com/u/knownasnaffy)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/knownasnaffy/india-market-intelligence-5

---


# Global Market Intelligence

This skill provides comprehensive market intelligence by fetching real-time global market data, financial news, geopolitical events, and delivering actionable insights for Indian and global stock markets.

## Features

- **Global Market Indices**: Real-time data for major indices (NIFTY, SENSEX, S&P 500, NASDAQ, Dow Jones, FTSE, Nikkei, Hang Seng, DAX, etc.)
- **Market News**: Aggregated news from trusted sources (Yahoo Finance, Bloomberg, Moneycontrol, Financial Times)
- **Geopolitical Events**: Monitoring of events that impact markets (elections, wars, trade policies, central bank decisions)
- **Market Analysis**: AI-powered insights on Indian stock market and global outlook
- **Sector Analysis**: Performance tracking across major sectors
- **Currency & Commodities**: Track major forex pairs and commodities (Gold, Oil, etc.)

## Commands

### 1) Complete Market Intelligence (`all`) ⭐⭐⭐ SUPER COMMAND
Execute ALL available commands in one go for complete market intelligence with advanced analytics.

```bash
uv run --script scripts/market_analysis.py all
```

This super command provides **9 comprehensive sections:**

**📊 Section 1: Global Market Overview**
- All major indices (US, Europe, Asia, India)
- Commodities (Gold, Silver, Oil)
- Currencies (USD/INR, EUR/USD)
- Market sentiment indicators

**🇮🇳 Section 2: Indian Market Analysis**
- NIFTY 50 & SENSEX performance with 30-day price charts
- Top gainers/losers
- Trend strength analysis (MA5, MA20, MA50)
- Visual ASCII charts showing price movement

**🎯 Section 3: Probability & Technical Analysis** *(NEW!)*
- Probability predictions (Bullish/Bearish percentages)
- RSI (Relative Strength Index) with buy/sell signals
- Momentum indicators
- Volatility measurements
- Technical signals for NIFTY, SENSEX, S&P 500

**⚠️ Section 4: Risk Assessment Dashboard** *(NEW!)*
- Comprehensive risk score (1-10 scale)
- Visual risk gauge with color coding
- Risk factors identification
- Trading recommendations based on risk level
- Position sizing guidelines

**📈 Section 5: Sector Performance**
- Indian sector analysis (IT, Banking, Pharma, Auto, etc.)
- Sector rotation insights

**🔗 Section 6: Intermarket Analysis**
- Stock-Bond correlations
- Dollar strength impact
- Commodity-Stock relationships

**🌐 Section 7: Geopolitical Events & VIX**
- Central bank decisions
- Political events
- VIX fear index analysis

**📰 Section 8: Market News**
- Top 5 Indian headlines
- Top 5 Global headlines

**💡 Section 9: Market Outlook & Decision Support** *(NEW!)*
- AI-generated market outlook
- Trading Decision Matrix with specific actions
- Strategic recommendations
- Risk management guidelines
- Entry/exit strategies
- Report statistics summary

**✨ Advanced Features:**
- ✅ ASCII price charts for visual analysis
- ✅ Probability models (Bullish/Bearish %)
- ✅ Risk scoring system (1-10 scale)
- ✅ Technical indicators (RSI, Momentum, Volatility)
- ✅ Trend strength calculation
- ✅ Trading decision matrix
- ✅ Position sizing recommendations
- ✅ Stop loss calculations
- ✅ Real-time risk assessment

**⏱️ Execution time: ~20-25 seconds**  
**📊 Best for: Daily morning routine, weekly analysis, complete market overview, trading decisions**

**💎 Output includes:**
- Color-coded tables and charts
- Visual probability bars
- Risk gauge visualization
- Technical indicator summaries
- Actionable trading signals
- Comprehensive decision support

---

### 2) Global Market Overview (`overview`)
Get a snapshot of all major global indices, commodities, and currencies.

```bash
uv run --script scripts/market_analysis.py overview
```

Output includes:
- Major global indices (US, Europe, Asia)
- Key commodities (Gold, Silver, Crude Oil)
- Major currency pairs
- Market sentiment indicators

### 3) Indian Market Analysis (`india`)
Focused analysis on Indian stock market with NIFTY, SENSEX, and major Indian stocks.

```bash
uv run --script scripts/market_analysis.py india
```

Output includes:
- NIFTY 50 & SENSEX performance
- Top gainers/losers
- Sector performance
- FII/DII activity indicators
- Market breadth

### 4) Market News (`news`)
Fetch latest market news from multiple trusted sources.

```bash
# All market news
uv run --script scripts/market_analysis.py news

# India-specific news
uv run --script scripts/market_analysis.py news --india

# Geopolitical news
uv run --script scripts/market_analysis.py news --geopolitical

# News for specific ticker
uv run --script scripts/market_analysis.py news --ticker AAPL
```

### 5) Geopolitical Events (`geopolitical`)
Monitor geopolitical events impacting markets.

```bash
uv run --script scripts/market_analysis.py geopolitical
```

Tracks:
- Central bank decisions (Fed, ECB, RBI, BoJ)
- Elections and political changes
- Trade wars and tariffs
- Conflicts and regional tensions
- Economic sanctions

### 6) Comprehensive Report (`report`) ⭐
Generate a complete market intelligence report with analysis and predictions.

```bash
uv run --script scripts/market_analysis.py report

# Focus on specific region
uv run --script scripts/market_analysis.py report --region india
uv run --script scripts/market_analysis.py report --region us
uv run --script scripts/market_analysis.py report --region global
```

Output includes:
- Global market summary
- Indian market detailed analysis
- Major news headlines
- Geopolitical risk assessment
- Market outlook and predictions
- Trading recommendations

### 7) Sector Analysis (`sectors`)
Analyze performance across major sectors.

```bash
# Global sectors
uv run --script scripts/market_analysis.py sectors

# Indian sectors
uv run --script scripts/market_analysis.py sectors --india
```

### 8) Intermarket Analysis (`intermarket`)
Analyze correlations between different markets and asset classes.

```bash
uv run --script scripts/market_analysis.py intermarket
```

Analyzes:
- Stock-Bond correlation
- Dollar strength impact
- Commodity-Stock relationships
- Risk-on vs Risk-off sentiment

### 9) Custom Watchlist (`watchlist`)
Monitor a custom list of symbols.

```bash
uv run --script scripts/market_analysis.py watchlist AAPL MSFT GOOGL INFY.NS TCS.NS NSEI
```

## Index Symbols Reference

### Indian Indices
- `NSEI` - NIFTY 50
- `NSEBANK` - NIFTY Bank
- `BSESN` - BSE SENSEX

### US Indices
- `GSPC` - S&P 500
- `DJI` - Dow Jones Industrial Average
- `IXIC` - NASDAQ Composite
- `RUT` - Russell 2000

### European Indices
- `FTSE` - FTSE 100 (UK)
- `GDAXI` - DAX (Germany)
- `FCHI` - CAC 40 (France)

### Asian Indices
- `N225` - Nikkei 225 (Japan)
- `HSI` - Hang Seng (Hong Kong)
- `000001.SS` - Shanghai Composite
- `STI` - Straits Times Index (Singapore)

### Commodities
- `GC=F` - Gold
- `SI=F` - Silver
- `CL=F` - Crude Oil WTI
- `BZ=F` - Brent Crude

### Currencies
- `USDINR=X` - USD/INR
- `DX-Y.NYB` - US Dollar Index
- `EURUSD=X` - EUR/USD

## Data Sources

The skill fetches data from:
- **Yahoo Finance**: Market data, historical prices, real-time quotes
- **Financial News**: Aggregated from public RSS feeds and APIs
- **Economic Calendars**: Central bank meetings, earnings reports

## Requirements

All dependencies are managed via PEP 723 inline script metadata:
- `yfinance` - Market data
- `pandas` - Data processing
- `rich` - Beautiful terminal output
- `requests` - News fetching
- `beautifulsoup4` - Web scraping
- `feedparser` - RSS feed parsing

## Notes

- Data is fetched in real-time; market hours may affect availability
- News aggregation respects rate limits and ToS of source websites
- Geopolitical events are curated from reliable news sources
- Analysis is AI-assisted and should not be considered financial advice

## Disclaimer

⚠️ **This tool is for informational purposes only. Not financial advice. Always do your own research and consult with qualified financial advisors before making investment decisions.**

---

**Hindi Note**: यह टूल वैश्विक बाजार डेटा, समाचार और भू-राजनीतिक घटनाओं को एकत्रित करके भारतीय और वैश्विक शेयर बाजारों का व्यापक विश्लेषण प्रदान करता है।

