闲社服务运行正常AI智能体自动化平台
o

期权分析器

技能标识:options-analyzer

|

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
4
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

期权分析器

📊 期权分析器 — 专业期权策略分析工具

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

✨ 核心能力

功能脚本说明
期权链optionschain.py获取实时数据,筛选到期日/行权价
Greeks
greekscalc.py | Delta/Gamma/Theta/Vega/Rho 计算 | | IV分析 | iv_analysis.py | IV Rank/Percentile, HV vs IV | | 策略分析 | strategy_analyzer.py | 15+种策略盈亏、盈亏平衡点 | | 策略推荐 | 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/strategyanalyzer.py --strategy ironcondor --spot 180 \
--legs 175p@2.5,180p@4.0,185c@3.5,190c@1.5 --dte 30

Bull Call Spread

python scripts/strategyanalyzer.py --strategy bullcall_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

📚 参考文档


☕ 支持作者

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

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

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 options-analyzer-1776371796 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 options-analyzer-1776371796 技能

通过命令行安装

skillhub install options-analyzer-1776371796

下载

⬇ 下载 options-analyzer v1.0.0(免费)

文件大小: 22.35 KB | 发布时间: 2026-4-17 14:54

v1.0.0 最新 2026-4-17 14:54
- Initial release of options-analyzer.
- Provides one-stop professional analysis for options: option chains, Greeks calculation, IV analysis, P&L and break-even computation for 15+ strategies, and intelligent strategy recommendations.
- Utilizes yfinance for real-time data and Black-Scholes model for Greek calculations.
- Includes detailed CLI usage examples and documentation for ease of use.
- Supports popular option strategies such as Iron Condor, Butterfly, Straddle, Strangle, and Spreads.
返回顶部