options-payoff

Generate interactive options payoff charts with Black-Scholes theoretical value curves and parameter sliders.

3.3k|382|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/himself65/finance-skills --skill options-payoff-himself65
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: options-payoff
Source: https://github.com/himself65/finance-skills/tree/main/plugins/market-analysis/skills/options-payoff
Command: npx skills add https://github.com/himself65/finance-skills --skill options-payoff-himself65

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yfinance, and includes references (resource) components.

What problem does it solve? Traders struggle to visualize how multi-leg options positions make or lose money across different prices, volatility levels, and time horizons, especially when positions come from broker screenshots or partial text descriptions. ## Core Features & Use Cases - Interactive Payoff Charts: Renders an HTML widget showing the expiry P&L curve alongside a Black-Scholes theoretical value curve, with sliders for strikes, premium, IV, DTE, risk-free rate, and spot price. - Broad Strategy Support: Handles vertical, calendar, and ratio spreads, butterflies, iron condors, straddles, strangles, covered calls, naked puts, and custom multi-leg structures. - Flexible Input Extraction: Parses pasted strikes, premiums, and expiries or broker screenshots from IBKR, TastyTrade, and Robinhood, filling gaps with sensible defaults and live quotes via yfinance. - Use Case: A user pastes a bull call spread from their broker and asks "show me the payoff" — the skill detects the strategy, fetches the current spot price, and renders a chart with live max profit, max loss, and breakeven stats. ## Quick Start Ask the assistant to draw the payoff curve for your options position, for example by saying "show me the P&L for a 5900/5950 SPX call debit spread expiring in 30 days".

Frequently Asked Questions about options-payoff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visualize an options strategy payoff diagram?▼

Describe the position with strikes, premiums, and expiry, or paste a broker screenshot, and the skill renders an interactive chart showing the expiry payoff curve plus a Black-Scholes theoretical value curve with adjustable sliders.

What options strategies can be plotted with payoff charts?▼

Supported strategies include vertical spreads, calendar spreads, butterflies, iron condors, straddles, strangles, covered calls, naked puts, and ratio spreads. Unlisted multi-leg structures use custom mode, decomposing into individual legs and summing their P&Ls.

Can I analyze an options position from a broker screenshot?▼

Yes, screenshots from brokers like IBKR, TastyTrade, and Robinhood are supported. The skill extracts strategy type, strikes, premiums, and expiry from the image, then fetches the current spot price via yfinance when it is not shown.

How is the theoretical options value curve calculated?▼

The theoretical curve uses the Black-Scholes model with the current implied volatility, days to expiry, and risk-free rate. Calendar spreads price both legs separately since they cannot be expressed as a simple expiry function.

What happens if my options trade details are incomplete?▼

Missing fields fall back to defaults: SPX as underlying, 30 DTE expiry, 20% IV, 4.3% risk-free rate, and a 5.00 premium. Spot price defaults to a live quote, falling back to the middle strike only when no quote is available.