options-analyzer

Review·Scanned 2/17/2026

This skill fetches market data and provides options chain, IV, Greeks, strategy analysis and recommendations via scripts like scripts/options_chain.py and scripts/strategy_recommend.py. It performs network access via ticker = yf.Ticker(symbol) and includes runnable commands such as python scripts/options_chain.py AAPL.

from clawhub.ai·vac7e3fb·59.8 KB·0 installs
Scanned from 1.0.0 at ac7e3fb · Transparency log ↗
$ vett add clawhub.ai/benzema216/options-analyzerReview findings below

📊 Options Analyzer — 专业期权策略分析器

让期权交易变得简单!从数据获取到策略推荐,一站式搞定。

✨ 核心能力

功能脚本说明
期权链options_chain.py获取实时数据,筛选到期日/行权价
Greeksgreeks_calc.pyDelta/Gamma/Theta/Vega/Rho 计算
IV分析iv_analysis.pyIV Rank/Percentile, HV vs IV
策略分析strategy_analyzer.py15+种策略盈亏、Breakeven
策略推荐strategy_recommend.py基于观点+IV环境智能推荐

🚀 快速开始

pip install yfinance mibian pandas numpy  # 安装依赖

期权链

python scripts/options_chain.py AAPL
python scripts/options_chain.py AAPL --expiry 2024-03-15
python scripts/options_chain.py SPY --strike-range 5  # ATM ±5%
python scripts/options_chain.py AAPL --format json

Greeks 计算

# 手动参数 (iv/rate 用百分比)
python scripts/greeks_calc.py --spot 180 --strike 185 --dte 30 --rate 5 --iv 25 --type call

# 从实时数据
python scripts/greeks_calc.py --symbol AAPL --strike 185 --expiry 2024-03-15 --type call

IV 分析

python scripts/iv_analysis.py AAPL
# 输出: ATM IV, IV Rank, IV Percentile, HV(20/60), IV-HV Premium

策略分析

# Iron Condor
python scripts/strategy_analyzer.py --strategy iron_condor --spot 180 \
  --legs "175p@2.5,180p@4.0,185c@3.5,190c@1.5" --dte 30

# Bull Call Spread  
python scripts/strategy_analyzer.py --strategy bull_call_spread --spot 180 \
  --legs "180c@5.0,190c@2.0" --dte 30

策略推荐

python scripts/strategy_recommend.py AAPL --outlook bullish --risk moderate
python scripts/strategy_recommend.py SPY --outlook neutral --risk conservative

📚 参考文档

  • strategies.md — 15种策略详解- greeks_guide.md — Greeks 完全指南

☕ 支持作者

如果这个工具帮到了你,请考虑请我喝杯咖啡!

你的支持是我持续改进的动力 🚀