搜索

PythonReactSEOPDF
OpenClaw

options-analyzer

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

benzema2160 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install benzema216/options-analyzer

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

📊 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环境智能推荐

🚀 快速开始

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

📚 参考文档


☕ 支持作者

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

  • GitHub Sponsors: @BENZEMA216
  • Buy Me a Coffee: [buymeacoffee.com/benze...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/benzema216/options-analyzer
Version
—
Commit
920b162d1376483b0ac118d892a333d8313196d5
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 📊 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/benze...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

parakeet-stt

carlulsoe

Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...

OpenClaw

feishu-process-feedback

carlzhao007

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...