options-payoff

仓库创建 2026年3月14日最近提交 1 个月前SkillHot 收录 20 天前
▸ 精选理由

能直观展示复杂期权策略的盈亏特性,交易决策利器。

这个 Skill 做什么

生成交互式期权到期/理论价格收益曲线并可调整参数实时查看。

把一个期权仓位可视化成可交互的盈亏曲线小组件(HTML),同时展示到期价值线和理论价(Black‑Scholes),并提供滑杆实时调参。适合你上传券商截图、贴行权价/保费/到期日,或问“这笔交易怎么赚钱/亏损”。特点是能立即算出最大盈亏、平衡点和当前 P&L,方便比对不同 IV/到期情形。

▸ 展开 SKILL.md 英文原文

Generate an interactive options payoff curve chart with dynamic parameter controls. Use this skill whenever the user shares an options position screenshot, describes an options strategy, or asks to visualize how an options trade makes or loses money. Triggers include: any mention of butterfly, spread (vertical/calendar/diagonal/ratio), straddle, strangle, condor, covered call, protective put, iron condor, or any multi-leg options structure. Also triggers when a user pastes strike prices, premiums, expiry dates, or says things like "show me the payoff", "draw the P&L curve", "what does this trade look like", or uploads a screenshot from a broker (IBKR, TastyTrade, Robinhood, etc). Always use this skill even if the user only provides partial info — extract what you can and use defaults for the rest.

研究检索期权收益图可视化交互控件通用
3.0k
Stars
334
Forks
25
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/himself65/finance-skills/main/plugins/market-analysis/skills/options-payoff/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/himself65/finance-skills/main/plugins/market-analysis/skills/options-payoff/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Options Payoff Curve Skill

Generates a fully interactive HTML widget (via `visualize:show_widget`) showing:
- **Expiry payoff curve** (dashed gray line) — intrinsic value at expiration
- **Theoretical value curve** (solid colored line) — Black-Scholes price at current DTE/IV
- Dynamic sliders for all key parameters
- Real-time stats: max profit, max loss, breakevens, current P&L at spot

---

## Step 1: Extract Strategy From User Input

When the user provides a screenshot or text, extract:

| Field | Where to find it | Default if missing |
|---|---|---|
| Strategy type | Title bar / leg description | "custom" |
| Underlying | Ticker symbol | SPX |
| Strike(s) | K1, K2, K3... in title or l
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有