market-environment-analysis

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Market Environment Analysis

市场环境分析

Comprehensive analysis tool for understanding market conditions and creating professional market reports anytime.
一款全面的分析工具,可随时了解市场状况并生成专业的市场报告。

Core Workflow

核心工作流程

1. Initial Data Collection

1. 初始数据收集

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)
使用web_search工具收集最新市场数据:
  1. 主要股票指数(S&P 500、NASDAQ、道琼斯、日经225、上证指数、恒生指数)
  2. 外汇汇率(USD/JPY、EUR/USD、主要货币对)
  3. 大宗商品价格(WTI原油、黄金、白银)
  4. 美国国债收益率(2年期、10年期、30年期)
  5. VIX指数(恐慌指标)
  6. 市场交易状态(开盘/收盘/当前数值)

2. Market Environment Assessment

2. 市场环境评估

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
从收集的数据中评估以下内容:
  • 趋势方向:上涨/下跌/区间震荡
  • 风险情绪:Risk-on/Risk-off
  • 波动状态:通过VIX判断市场焦虑程度
  • 板块轮动:资金流向

3. Report Structure

3. 报告结构

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
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

market_utils.py

Provides common functions for report creation:
bash
undefined
提供报告生成的常用函数:
bash
undefined

Generate report header

Generate report header

python scripts/market_utils.py
python scripts/market_utils.py

Available functions:

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
undefined
  • 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
undefined

Reference Documentation

参考文档

Key Indicators Interpretation (references/indicators.md)

关键指标解读(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)

分析模式(references/analysis_patterns.md)

Reference when analyzing:
  • Risk-on/Risk-off criteria
  • Economic indicator interpretation
  • Inter-market correlations
  • Seasonality and market anomalies
在分析以下内容时参考:
  • Risk-on/Risk-off判断标准
  • 经济指标解读
  • 跨市场相关性
  • 季节性与市场异常

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
📊 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
先执行摘要,再详细分析每个部分。 关键说明:
  1. 当前市场阶段(看涨/看跌/中性)
  2. 短期方向(1-5天展望)
  3. 需要关注的风险事件
  4. 建议的仓位调整

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
按重要性分类:
  • ⭐⭐⭐ 关键(FOMC、NFP、CPI等)
  • ⭐⭐ 重要(GDP、零售销售等)
  • ⭐ 参考级别

Data Source Priority

数据源优先级

  1. Official releases (Central banks, Government statistics)
  2. Major financial media (Bloomberg, Reuters)
  3. Broker reports
  4. Analyst consensus estimates
  1. 官方发布(央行、政府统计数据)
  2. 主流财经媒体(Bloomberg、Reuters)
  3. 券商报告
  4. 分析师一致预期

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
  1. 首先整理事实
  2. 参考历史类似事件
  3. 多方验证来源
  4. 保持客观分析

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
根据用户的投资风格调整:
  • 日内交易者:关注日内图表、订单流
  • 波段交易者:侧重日线/周线技术分析
  • 长期投资者:关注基本面、宏观经济
  • 外汇交易者:关注货币相关性、利差
  • 期权交易者:关注波动率分析、希腊字母监控