options-analyzer

📊 专业期权策略分析器 — 期权链、Greeks、IV分析、策略推荐一站式解决! 使用 yfinance 获取实时期权数据,Black-Scholes 计算 Greeks。 触发条件: 用户询问期权链、Greeks计算、IV分析、期权策略分析、策略推荐、 Iron Condor/Butterfly/Straddle/Strangle/Spread等策略、"分析期权"、 "推荐期权策略"、"看涨/看跌期权"、Delta/Gamma/Theta/Vega计算、隐含波动率。

3,891 stars

Best use case

options-analyzer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

📊 专业期权策略分析器 — 期权链、Greeks、IV分析、策略推荐一站式解决! 使用 yfinance 获取实时期权数据,Black-Scholes 计算 Greeks。 触发条件: 用户询问期权链、Greeks计算、IV分析、期权策略分析、策略推荐、 Iron Condor/Butterfly/Straddle/Strangle/Spread等策略、"分析期权"、 "推荐期权策略"、"看涨/看跌期权"、Delta/Gamma/Theta/Vega计算、隐含波动率。

Teams using options-analyzer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/options-analyzer/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/benzema216/options-analyzer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/options-analyzer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How options-analyzer Compares

Feature / Agentoptions-analyzerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

📊 专业期权策略分析器 — 期权链、Greeks、IV分析、策略推荐一站式解决! 使用 yfinance 获取实时期权数据,Black-Scholes 计算 Greeks。 触发条件: 用户询问期权链、Greeks计算、IV分析、期权策略分析、策略推荐、 Iron Condor/Butterfly/Straddle/Strangle/Spread等策略、"分析期权"、 "推荐期权策略"、"看涨/看跌期权"、Delta/Gamma/Theta/Vega计算、隐含波动率。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

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

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

## ✨ 核心能力

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

## 🚀 快速开始

```bash
pip install yfinance mibian pandas numpy  # 安装依赖
```

### 期权链

```bash
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 计算

```bash
# 手动参数 (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 分析

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

### 策略分析

```bash
# 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
```

### 策略推荐

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

## 📚 参考文档

- [strategies.md](references/strategies.md) — 15种策略详解- [greeks_guide.md](references/greeks_guide.md) — Greeks 完全指南

---

## ☕ 支持作者

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

- **GitHub Sponsors**: [@BENZEMA216](https://github.com/sponsors/BENZEMA216)
- **Buy Me a Coffee**: [buymeacoffee.com/benzema216](https://buymeacoffee.com/benzema216)
- **USDC (Base)**: `0x...` *(联系获取地址)*

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

Related Skills

Profit Margin Analyzer

3891
from openclaw/skills

Analyze and optimize profit margins across your business. Identifies margin compression, pricing opportunities, and cost levers.

Pricing Strategy Analyzer

3891
from openclaw/skills

Analyze and optimize pricing for any product or service. Covers value-based, cost-plus, competitive, and tiered pricing models.

Business Strategy & Growth

Portfolio Risk Analyzer

3891
from openclaw/skills

Complete investment portfolio risk management system. Analyze positions, calculate risk metrics, stress test scenarios, optimize allocations, and generate institutional-grade risk reports — all without external APIs.

Finance & Investing

Commercial Lease Analyzer

3891
from openclaw/skills

Analyze commercial leases (office, retail, industrial, warehouse) for hidden costs, unfavorable terms, and negotiation leverage. Use when reviewing a new lease, renegotiating a renewal, or comparing multiple lease options.

Business Analysis

Franchise Operations Analyzer

3891
from openclaw/skills

Evaluate franchise opportunities and manage multi-unit operations with data-driven frameworks.

Business & Finance

Financial Due Diligence Analyzer

3891
from openclaw/skills

Run comprehensive financial due diligence on acquisition targets, investment opportunities, or partnership prospects. Built for PE firms, corporate development teams, and founders evaluating deals.

Financial Analysis & Due Diligence

Employee Retention & Turnover Risk Analyzer

3891
from openclaw/skills

Diagnose why people leave. Fix it before they do.

HR & People Analytics

Contract Analyzer

3891
from openclaw/skills

Analyzes contracts and agreements for risks, unusual terms, and missing clauses

Legal Technology & Document Automation

Churn Risk Analyzer

3891
from openclaw/skills

Identify customers most likely to churn before they leave. Uses behavioral signals, usage patterns, and engagement data to score accounts and recommend retention actions.

Workflow & Productivity

simple-tech-analyzer - 简易技术分析器

3891
from openclaw/skills

**版本**: 1.0.0

Finance & Trading

seo-analyzer

3891
from openclaw/skills

Analyzes websites for SEO opportunities. Generates keyword ideas, checks on-page SEO factors, and provides actionable optimization recommendations.

sentiment-analyzer

3891
from openclaw/skills

Analyzes sentiment from social media, news headlines, and financial text. Outputs positive/negative/neutral scores with confidence levels and key phrase extraction.