Market Environment Analysis
Comprehensive analysis tool for understanding market conditions and creating professional market reports anytime.
Core Workflow
1. Initial Data Collection
Collect latest market data using web_search tool:
- Major stock indices (S&P 500, NASDAQ, Dow, Nikkei 225, Shanghai Composite, Hang Seng)
- Forex rates (USD/JPY, EUR/USD, major currency pairs)
- Commodity prices (WTI crude, Gold, Silver)
- US Treasury yields (2-year, 10-year, 30-year)
- VIX index (Fear gauge)
- Market trading status (open/close/current values)
2. Market Environment Assessment
Evaluate the following from collected data:
- Trend Direction: Uptrend/Downtrend/Range-bound
- Risk Sentiment: Risk-on/Risk-off
- Volatility Status: Market anxiety level from VIX
- Sector Rotation: Where capital is flowing
3. Report Structure
Standard Report Format:
1. Executive Summary (3-5 key points)
2. Global Market Overview
- US Markets
- Asian Markets
- European Markets
3. Forex & Commodities Trends
4. Key Events & Economic Indicators
5. Risk Factor Analysis
6. Investment Strategy Implications
Script Usage
market_utils.py
Provides common functions for report creation:
# Generate report header
python scripts/market_utils.py
# Available functions:
- format_market_report_header(): Create header
- get_market_session_times(): Check trading hours
- categorize_volatility(vix): Interpret VIX levels
- format_percentage_change(value): Format price changes
Reference Documentation
Key Indicators Interpretation (references/indicators.md)
Reference when you need:
- Important levels for each index
- Technical analysis key points
- Sector-specific focus areas
Analysis Patterns (references/analysis_patterns.md)
Reference when analyzing:
- Risk-on/Risk-off criteria
- Economic indicator interpretation
- Inter-market correlations
- Seasonality and market anomalies
Output Examples
Quick Summary Version
📊 Market Summary [2025/01/15 14:00]
━━━━━━━━━━━━━━━━━━━━━
【US】S&P 500: 5,123.45 (+0.45%)
【JP】Nikkei 225: 38,456.78 (-0.23%)
【FX】USD/JPY: 149.85 (↑0.15)
【VIX】16.2 (Normal range)
⚡ Key Events
- Japan GDP Flash
- US Employment Report
📈 Environment: Risk-On Continues
Detailed Analysis Version
Start with executive summary, then analyze each section in detail.
Key clarifications:
- Current market phase (Bullish/Bearish/Neutral)
- Short-term direction (1-5 days outlook)
- Risk events to monitor
- Recommended position adjustments
Important Considerations
Timezone Awareness
- Consider all major market timezones
- US markets: Evening to early morning (Asian time)
- European markets: Afternoon to evening (Asian time)
- Asian markets: Morning to afternoon (Local time)
Economic Calendar Priority
Categorize by importance:
- ⭐⭐⭐ Critical (FOMC, NFP, CPI, etc.)
- ⭐⭐ Important (GDP, Retail Sales, etc.)
- ⭐ Reference level
Data Source Priority
- Official releases (Central banks, Government statistics)
- Major financial media (Bloomberg, Reuters)
- Broker reports
- Analyst consensus estimates
Troubleshooting
Data Collection Notes
- Check market holidays (holiday calendars)
- Be aware of daylight saving time changes
- Distinguish between flash and final data
Market Volatility Response
- First organize the facts
- Reference historical similar events
- Verify with multiple sources
- Maintain objective analysis
Customization Options
Adjust based on user's investment style:
- Day Traders: Intraday charts, order flow focus
- Swing Traders: Daily/weekly technicals emphasis
- Long-term Investors: Fundamentals, macro economics focus
- Forex Traders: Currency correlations, interest rate differentials
- Options Traders: Volatility analysis, Greeks monitoring
1---
2name: market-environment-analysis
3description: Comprehensive market environment analysis and reporting tool. Analyzes global markets including US, European, Asian markets, forex, commodities, and economic indicators. Provides risk-on/risk-off assessment, sector analysis, and technical indicator interpretation. Triggers on keywords like market analysis, market environment, global markets, trading environment, market conditions, investment climate, market sentiment, forex analysis, stock market analysis, 相場環境, 市場分析, マーケット状況, 投資環境.
4metadata:
5 source: https://skillmd.com/skills/modbender/market-environment-analysis
6---
7
8# Market Environment Analysis
9
10Comprehensive analysis tool for understanding market conditions and creating professional market reports anytime.
11
12## Core Workflow
13
14### 1. Initial Data Collection
15Collect latest market data using web_search tool:
161. Major stock indices (S&P 500, NASDAQ, Dow, Nikkei 225, Shanghai Composite, Hang Seng)
172. Forex rates (USD/JPY, EUR/USD, major currency pairs)
183. Commodity prices (WTI crude, Gold, Silver)
194. US Treasury yields (2-year, 10-year, 30-year)
205. VIX index (Fear gauge)
216. Market trading status (open/close/current values)
22
23### 2. Market Environment Assessment
24Evaluate the following from collected data:
25- **Trend Direction**: Uptrend/Downtrend/Range-bound
26- **Risk Sentiment**: Risk-on/Risk-off
27- **Volatility Status**: Market anxiety level from VIX
28- **Sector Rotation**: Where capital is flowing
29
30### 3. Report Structure
31
32#### Standard Report Format:
33```
341. Executive Summary (3-5 key points)
352. Global Market Overview
36 - US Markets
37 - Asian Markets
38 - European Markets
393. Forex & Commodities Trends
404. Key Events & Economic Indicators
415. Risk Factor Analysis
426. Investment Strategy Implications
43```
44
45## Script Usage
46
47### market_utils.py
48Provides common functions for report creation:
49```bash
50# Generate report header
51python scripts/market_utils.py
52
53# Available functions:
54- format_market_report_header(): Create header
55- get_market_session_times(): Check trading hours
56- categorize_volatility(vix): Interpret VIX levels
57- format_percentage_change(value): Format price changes
58```
59
60## Reference Documentation
61
62### Key Indicators Interpretation (references/indicators.md)
63Reference when you need:
64- Important levels for each index
65- Technical analysis key points
66- Sector-specific focus areas
67
68### Analysis Patterns (references/analysis_patterns.md)
69Reference when analyzing:
70- Risk-on/Risk-off criteria
71- Economic indicator interpretation
72- Inter-market correlations
73- Seasonality and market anomalies
74
75## Output Examples
76
77### Quick Summary Version
78```
79📊 Market Summary [2025/01/15 14:00]
80━━━━━━━━━━━━━━━━━━━━━
81【US】S&P 500: 5,123.45 (+0.45%)
82【JP】Nikkei 225: 38,456.78 (-0.23%)
83【FX】USD/JPY: 149.85 (↑0.15)
84【VIX】16.2 (Normal range)
85
86⚡ Key Events
87- Japan GDP Flash
88- US Employment Report
89
90📈 Environment: Risk-On Continues
91```
92
93### Detailed Analysis Version
94Start with executive summary, then analyze each section in detail.
95Key clarifications:
961. Current market phase (Bullish/Bearish/Neutral)
972. Short-term direction (1-5 days outlook)
983. Risk events to monitor
994. Recommended position adjustments
100
101## Important Considerations
102
103### Timezone Awareness
104- Consider all major market timezones
105- US markets: Evening to early morning (Asian time)
106- European markets: Afternoon to evening (Asian time)
107- Asian markets: Morning to afternoon (Local time)
108
109### Economic Calendar Priority
110Categorize by importance:
111- ⭐⭐⭐ Critical (FOMC, NFP, CPI, etc.)
112- ⭐⭐ Important (GDP, Retail Sales, etc.)
113- ⭐ Reference level
114
115### Data Source Priority
1161. Official releases (Central banks, Government statistics)
1172. Major financial media (Bloomberg, Reuters)
1183. Broker reports
1194. Analyst consensus estimates
120
121## Troubleshooting
122
123### Data Collection Notes
124- Check market holidays (holiday calendars)
125- Be aware of daylight saving time changes
126- Distinguish between flash and final data
127
128### Market Volatility Response
1291. First organize the facts
1302. Reference historical similar events
1313. Verify with multiple sources
1324. Maintain objective analysis
133
134## Customization Options
135
136Adjust based on user's investment style:
137- **Day Traders**: Intraday charts, order flow focus
138- **Swing Traders**: Daily/weekly technicals emphasis
139- **Long-term Investors**: Fundamentals, macro economics focus
140- **Forex Traders**: Currency correlations, interest rate differentials
141- **Options Traders**: Volatility analysis, Greeks monitoring