market-environment-analysis
tradermonty/claude-trading-skills
Comprehensive global market analysis with real-time data, risk sentiment assessment, and professional reporting.
What is market-environment-analysis?
Analyzes global markets (US, European, Asian, forex, commodities) and economic indicators to assess market conditions and risk sentiment. Use this when you need market overviews before trading decisions, daily briefings, or to understand sector rotation and inter-market correlations.
- Collects real-time data on major indices, forex rates, commodities, Treasury yields, and VIX
- Assesses trend direction, risk-on/risk-off sentiment, volatility levels, and sector rotation
- Generates professional market reports with executive summaries and detailed analysis
- Interprets technical indicators and economic events with timezone awareness
- Provides customized analysis for different trading styles (day, swing, long-term, forex, options)
- Includes utility functions for report formatting and market session status checking
How to install market-environment-analysis
npx skills add https://github.com/tradermonty/claude-trading-skills --skill market-environment-analysis- WebSearch access for fetching real-time market data
- Python with requirements.txt installed (for market_utils.py utility functions)
- Optional: Economic calendar data for event-driven analysis
How to use market-environment-analysis
- 1.Trigger the skill with keywords like 'market analysis', 'market environment', 'global markets', or 'trading environment'
- 2.The skill collects real-time data on indices, forex, commodities, yields, and VIX using web search
- 3.Review the market environment assessment for trend direction, risk sentiment, and volatility status
- 4.Consult references/indicators.md for technical analysis key points and important levels
- 5.Consult references/analysis_patterns.md for risk-on/risk-off criteria and inter-market correlations
- 6.Use market_utils.py functions to format reports and check market session times with timezone awareness
- 7.Customize the analysis depth based on your trading style (day trader, swing trader, long-term investor, etc.)
Use cases
- Generate daily or weekly market briefings before trading or investment decisions
- Assess global risk sentiment and determine if markets are in risk-on or risk-off mode
- Analyze sector rotation and capital flows across major markets
- Prepare professional market reports for clients or personal records
- Monitor key economic events and their market implications across timezones
- Day traders and swing traders
- Long-term investors and portfolio managers
- Forex and commodities traders
- Options traders focused on volatility analysis
- Financial advisors and analysts preparing client reports
market-environment-analysis FAQ
The skill uses web search to collect official releases from central banks and government statistics, major financial media (Bloomberg, Reuters), and broker reports. It prioritizes official sources over analyst consensus.
The skill considers all major market timezones (US, European, Asian) and uses offset-bearing ISO-8601 timestamps to ensure unambiguous instant-in-time for session status, accounting for holidays, lunch breaks, DST, and early closes.
Yes. The skill supports customization for day traders (intraday charts, order flow), swing traders (daily/weekly technicals), long-term investors (fundamentals, macro), forex traders (currency correlations), and options traders (volatility, Greeks).
Check market holidays and daylight saving time changes. Verify data with multiple sources. The skill distinguishes between flash and final economic data to ensure accuracy.
No API keys are required. The skill uses web search for data collection, though WebSearch access is mandatory.
Full instructions (SKILL.md)
Source of truth, from tradermonty/claude-trading-skills.
name: market-environment-analysis description: 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, 相場環境, 市場分析, マーケット状況, 投資環境.
Market Environment Analysis
Comprehensive analysis tool for understanding market conditions and creating professional market reports anytime.
When to Use
- When you need a comprehensive overview of global market conditions
- Before making trading or investment decisions
- For daily/weekly market briefings
- When assessing risk-on/risk-off sentiment
- For understanding inter-market correlations and sector rotation
- When preparing market reports for clients or personal records
Prerequisites
- WebSearch access: Required for fetching real-time market data
- No API keys required: This skill uses web search for data collection
- Optional: Economic calendar data for event-driven analysis
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
Exchange Calendar and Replay
Install requirements.txt before using scripts/market_utils.py. Its
--as-of flag requires an offset-bearing ISO-8601 timestamp (or Z); a bare
date is rejected because Tokyo, London, and New York status must share one
unambiguous instant. Session status is holiday-, lunch-break-, DST-, and
early-close-aware.
Reference Documentation
Key Indicators Interpretation
Load references/indicators.md when you need:
- Important levels for each index
- Technical analysis key points
- Sector-specific focus areas
Analysis Patterns
Load references/analysis_patterns.md 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
Resources
references/indicators.md- Key market indicators and interpretation guidesreferences/analysis_patterns.md- Risk-on/risk-off criteria and inter-market correlationsscripts/market_utils.py- Utility functions for report formatting and market status
Related skills
More from tradermonty/claude-trading-skills and the wider catalog.

market-news-analyst
Analyze market-moving news from the past 10 days and assess impact on equities and commodities.

market-top-detector
Detect market top probability in 2-8 weeks using O'Neil distribution days, Minervini deterioration, and defensive sector rotation.

mt5-robot-tester
Batch-test and optimize MetaTrader 5 Expert Advisors through a 3-round pipeline to select the best performers.

news-reaction-failure-analyzer
Confirm whether a crowded market failed to react to favorable news using statistically validated drift analysis.

options-strategy-advisor
Analyze options strategies with Black-Scholes pricing, Greeks, and P/L simulation for education and risk management.

pair-trade-screener
Identify statistical arbitrage opportunities by detecting cointegrated stock pairs and analyzing mean-reversion spreads.