返回顶部
o

options-analyzer期权分析器

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,781
下载量
免费
免费
4
收藏
概述
安装方式
版本历史

options-analyzer

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

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

✨ 核心能力

功能脚本说明
期权链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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部