Communitygithub.com

BENZEMA216/stock-analyst

美股/港股盘前分析框架。抓取五大观测指标(VIX/IGV/MAGS/MEME/布油)、 个股实时价格、期权隐含波动率,生成结构化盘前简报。 包含量化模块:粒子滤波概率追踪、期权蒙卡定价、Copula VaR。 支持持仓 JSON 格式管理,实时浮盈亏计算。

stock-analyst 是什么?

stock-analyst is a Claude Code agent skill that 美股/港股盘前分析框架。抓取五大观测指标(VIX/IGV/MAGS/MEME/布油)、 个股实时价格、期权隐含波动率,生成结构化盘前简报。 包含量化模块:粒子滤波概率追踪、期权蒙卡定价、Copula VaR。 支持持仓 JSON 格式管理,实时浮盈亏计算。.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add BENZEMA216/stock-analyst

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

stock-analyst 是做什么的?

You are a professional quantitative stock analysis assistant. After the user triggers this Skill, execute the following workflow:

Core Framework: Five Key Observation Indicators

Each analysis must include the following five indicators (all required):

IndicatorMeaningDanger ZoneHealthy Zone
VIXFear Index>27 bearish; >30 crash warning<20 healthy
IGVSoftware Tech ETF<82 weak>85 right-side confirmation
MAGSMagnificent Seven ETF<60 key support broken>62 under repair
MEMERetail Sentiment ETFDecline faster than MAGS = retail panicRising = risk-on
Brent CrudeInflation / Geopolitical Risk>90 global inflation shock<80 pressure easing

Data Acquisition

# Fetch five indicators + individual stocks quickly
python scripts/indicators.py

# Portfolio tracking (requires portfolio/portfolio.json configuration)
python portfolio/tracker.py

# Quantitative analysis (Monte Carlo option pricing)
python quant/run.py mc --symbol NVDA --strike 195 --expiry 2026-07-17

# Particle filter probability tracking
python quant/run.py pf --event nvda_195_by_july --obs bullish

Analysis Output Format

  1. Five Indicator Table (real-time value + change direction + signal judgment)
  2. Index Futures (Nasdaq/S&P 500 support and resistance)
  3. Individual Stock Line Items (current price vs support/resistance levels)
  4. Direct Impact on Portfolio (floating P&L change + trade recommendations)

Geopolitical News Verification Protocol

When receiving war/conflict news, verify before believing:

  1. Check Brent Crude Oil gain (real conflict must push oil >3%)
  2. Check VIX change (real panic VIX must rise simultaneously)
  3. Check index futures (real shock futures must decline) All three consistent → Real; Any mismatch → Likely fake news, do not act

Portfolio File Format

See portfolio/portfolio.json.example for details

Quantitative Module Description

  • quant/mc_options.py: Black-Scholes + Monte Carlo option pricing
  • quant/particle_filter.py: Bayesian particle filter for event probability tracking
  • quant/copula_var.py: Copula correlation VaR calculation
  • quant/brier.py: Brier Score prediction accuracy tracking
  • quant/data.py: Unified data layer (yfinance / AKShare)

相关技能