Market Environment Analysis

by tradermontyeab8d5cb97b9No license2.9K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 3 days ago

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, 相場環境, 市場分析, マーケット状況, 投資環境.

AI-generated overview

Analyzes global market conditions and produces structured market environment reports with risk sentiment and indicator interpretation.

What it does
Collects market data on indices, forex, commodities, Treasury yields and VIX, then assesses trend direction, risk-on/risk-off sentiment, volatility and sector rotation. It produces structured reports with an executive summary, regional market overviews, forex and commodity trends, key events, risk factors and strategy implications. It ships Python helper scripts for report headers, market session times, VIX categorization and percentage formatting, plus reference documents on indicators and analysis patterns.
When to use it
Use it when a user asks for a market environment assessment, trading environment overview, investment climate summary or global market report. It suits requests covering US, European or Asian markets, forex, commodities or economic indicators, and can be tailored to day traders, swing traders, long-term investors, forex or options traders.
Requirements
Needs web search access to collect current market data, a Python runtime to run the bundled scripts, and the packages listed in requirements.txt. It ships executable scripts (market_utils.py, _market_calendar.py) and reference documents.

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:

  1. Major stock indices (S&P 500, NASDAQ, Dow, Nikkei 225, Shanghai Composite, Hang Seng)
  2. Forex rates (USD/JPY, EUR/USD, major currency pairs)
  3. Commodity prices (WTI crude, Gold, Silver)
  4. US Treasury yields (2-year, 10-year, 30-year)
  5. VIX index (Fear gauge)
  6. 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 Markets3. Forex & Commodities Trends4. Key Events & Economic Indicators5. Risk Factor Analysis6. Investment Strategy Implications

Script Usage

market_utils.py

Provides common functions for report creation:

bash
# Generate report headerpython 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:

  1. Current market phase (Bullish/Bearish/Neutral)
  2. Short-term direction (1-5 days outlook)
  3. Risk events to monitor
  4. 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

  1. Official releases (Central banks, Government statistics)
  2. Major financial media (Bloomberg, Reuters)
  3. Broker reports
  4. 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

  1. First organize the facts
  2. Reference historical similar events
  3. Verify with multiple sources
  4. 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

Source and attribution

Source:tradermonty/claude-trading-skillsinexamples/weekly-trade-strategy/skills/market-environment-analysisat commiteab8d5c

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

More from tradermonty/claude-trading-skills

Weekly Performance Digest

tradermonty

Aggregates closed trading theses into a weekly performance report with metrics, pattern breakdowns, and lessons.

Includes scripts
Data & Analytics2.9Kupdated 3 days ago

Trade Performance Coach

tradermonty

Reviews recorded trades for process adherence, risk discipline, execution quality and behavior patterns, producing a coaching report.

Includes scripts
Business & Finance2.9Kupdated 3 days ago

Strategy Pivot Designer

tradermonty

Detects backtest iteration stagnation and generates structurally different strategy pivot proposals for trading strategies.

Includes scripts
Business & Finance2.9Kupdated 3 days ago

Skill Designer

tradermonty

Design new Claude skills from structured idea specifications. Use when the skill auto-generation pipeline needs to produce a Claude CLI prompt that creates a complete skill directory (SKILL.md, references, scripts, tests) following repository conventions.

Includes scripts
Awaiting classification2.9Kupdated 3 days ago

Residual Edge Analyzer

tradermonty

Separate a strategy return series into declared baseline exposure and residual edge with returns-based OLS attribution, HAC inference, rolling stability, alternate-baseline sensitivity, and regime breakdowns. Use when evaluating whether backtest, out-of-sample, or live returns contain independent alpha beyond market, equal-weight, momentum, sector, or user-supplied factor returns; when explaining whether a drawdown came from baseline exposure or strategy-specific behavior; or when a strategy needs an attribution quality gate after backtesting. Do not use for holdings-based Brinson attribution, feature-level Shapley explanations, or analysis from summary metrics without a dated return series.

Includes scripts
Awaiting classification2.9Kupdated 3 days ago

Pre Trade Discipline Gate

tradermonty

Offline pre-trade checklist gate that approves, reviews, or blocks planned manual orders and journals the decision.

Includes scripts
Business & Finance2.9Kupdated 3 days ago