Provides comprehensive real-time analysis of the Hong Kong stock market, including major index performance, sector rotation, market sentiment, and liquidity conditions.
Core Features
📊 Overall Market Performance
- Hang Seng Index (HSI) real-time performance
- Hang Seng China Enterprises Index (HSCEI) trend analysis
- Hang Seng China-Affiliated Corporations Index (HSCCI) performance
- Hang Seng TECH Index (HSTECH) dynamics
- Market turnover and activity
🏢 Sector Rotation Analysis
- Performance comparison of 11 major sectors
- Sector capital flow analysis
- Sector relative strength ranking
- Sector rotation signal identification
💹 Market Sentiment Indicators
- Advancers and decliners statistics
- Market breadth indicators
- Fear and Greed Index
- VIX volatility index
💰 Liquidity Monitoring
- Total market turnover
- Southbound capital net inflow
- Market depth analysis
- Liquidity risk assessment
Use Cases
Investment Decision Support
- Quickly understand the overall market condition
- Identify hot sectors and cold sectors
- Assess market risks and opportunities
- Formulate asset allocation strategies
Risk Management
- Monitor systemic market risk
- Identify liquidity risk
- Assess extreme market sentiment conditions
- Adjust positions in a timely manner
Research and Analysis
- Market trend research
- Sector rotation pattern analysis
- Relationship between market sentiment and returns
- Analysis of macroeconomic factor impacts
Output Content
📈 Market Overview
恒生指数: 18,500.00 (+1.2%)
国企指数: 6,200.00 (+1.5%)
红筹指数: 3,800.00 (+0.8%)
科技指数: 4,200.00 (+2.1%)
总成交额: 1,200亿港元
南向资金净流入: +35亿港元
🏢 Top 5 Sector Performance
1. 科技板块: +3.2% (净流入15亿)
2. 医疗保健: +2.8% (净流入8亿)
3. 消费品: +2.1% (净流入6亿)
4. 金融板块: +1.5% (净流入12亿)
5. 地产板块: +0.9% (净流出2亿)
📊 Market Sentiment
上涨家数: 850
下跌家数: 650
平盘家数: 100
市场宽度: +56.8%
恐慌贪婪指数: 65 (贪婪)
VIX指数: 18.5 (正常)
Technical Indicators
Trend Indicators
- MA moving average system
- MACD indicator
- RSI relative strength
- Bollinger Bands analysis
Volume-Price Indicators
- Volume change rate
- Volume ratio indicator
- OBV energy tide
- Capital flow indicator
Sentiment Indicators
- Advance-decline ratio
- Market breadth
- New high-new low ratio
- Fear and Greed Index
Data Sources
Main Data Sources
- Hong Kong Exchanges and Clearing: real-time market data
- Bloomberg: index and sector data
- Reuters: capital flow data
- Major brokerages: research report data
Data Update Frequency
- Real-time data: updated every minute during trading hours
- Sector data: updated every 5 minutes
- Capital flows: updated after daily market close
- Technical indicators: calculated in real time
How to Use
Basic Queries
# 获取市场概览
python scripts/market_overview.py
# 获取特定指数详情
python scripts/market_overview.py --index HSI
# 获取板块表现
python scripts/market_overview.py --sectors
# 获取市场情绪
python scripts/market_overview.py --sentiment
Advanced Analysis
# 获取历史趋势
python scripts/market_overview.py --history 30
# 获取板块轮动信号
python scripts/market_overview.py --rotation
# 获取风险评估
python scripts/market_overview.py --risk
Configuration Options
Display Options
# 简洁模式
python scripts/market_overview.py --simple
# 详细模式
python scripts/market_overview.py --detailed
# JSON格式输出
python scripts/market_overview.py --json
Time Options
# 实时数据
python scripts/market_overview.py --live
# 日线数据
python scripts/market_overview.py --daily
# 周线数据
python scripts/market_overview.py --weekly
Output Format
Table Format
┌─────────────┬──────────┬─────────┬──────────┐
│ 指数名称 │ 当前值 │ 涨跌幅 │ 成交额 │
├─────────────┼──────────┼─────────┼──────────┤
│ 恒生指数 │ 18500.00 │ +1.2% │ 1200亿 │
│ 国企指数 │ 6200.00 │ +1.5% │ 450亿 │
│ 红筹指数 │ 3800.00 │ +0.8% │ 280亿 │
│ 科技指数 │ 4200.00 │ +2.1% │ 320亿 │
└─────────────┴──────────┴─────────┴──────────┘
JSON Format
{
"timestamp": "2026-02-15 16:00:00",
"market_overview": {
"hsi": {"value": 18500.00, "change": 1.2, "volume": 120000000000},
"hscei": {"value": 6200.00, "change": 1.5, "volume": 45000000000},
"hscci": {"value": 3800.00, "change": 0.8, "volume": 28000000000},
"hstech": {"value": 4200.00, "change": 2.1, "volume": 32000000000}
},
"sentiment": {
"up_count": 850,
"down_count": 650,
"breadth": 56.8,
"fear_greed": 65
}
}
Notes
- Trading Hours: Hong Kong stock market trading hours are 9:30-12:00, 13:00-16:00
- Data Delay: Real-time data may have a 1-2 minute delay
- Exchange Rate Impact: Hong Kong stocks are denominated in Hong Kong dollars, and exchange rate risk must be considered
- Market Mechanism: Hong Kong stocks have no price limit restrictions, and volatility may be relatively high
Update Log
v1.0.0 (2026-02-15)
- Initial version released
- Supports monitoring of major indices
- Sector rotation analysis feature
- Market sentiment indicators
- Southbound capital flow monitoring
Hong Kong Stock Market Overview Analyzer - A professional Hong Kong stock market monitoring tool