options-payoff-diagram

Generate option strategy payoff and P&L curves across underlying prices.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/loanntc/Paave --skill options-payoff-diagram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: options-payoff-diagram
Source: https://github.com/loanntc/Paave/tree/main/skills/options-payoff
Command: npx skills add https://github.com/loanntc/Paave --skill options-payoff-diagram

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, scipy, matplotlib, plotly.

What problem does it solve?

It helps you understand how an options strategy earns or loses money across different underlying prices, including multi-leg portfolios and volatility scenarios, so you can avoid blind decision-making.

Core Features & Use Cases

  • Payoff diagram generation: Compute expiry P&L for single-leg and multi-leg option structures using strikes, directions, quantities, and premiums.
  • Black-Scholes pricing & Greeks: Price European calls/puts and derive delta, gamma, theta, vega, and rho to support scenario reasoning.
  • Breakeven, max profit/loss, and volatility scenarios: Numerically find break-even points, summarize max outcomes, and compare theoretical curves across implied-volatility levels.
  • Use Case: Model an iron condor (put spread + call spread) to visualize where the strategy profits, where it loses, and how sensitive it is to changes in IV before conducting research/backtesting.

Quick Start

Use the options-payoff-diagram skill to generate an interactive payoff diagram for an iron condor using your option legs, spot price, and a set of IV scenarios.

Frequently Asked Questions about options-payoff-diagram

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

FAQPage Schema
How do I generate an options payoff diagram for a multi-leg strategy like an iron condor?

To generate an options payoff diagram for a multi-leg strategy, you input leg definitions including type, strike, direction, quantity, and premium. The tool computes expiry P&L across underlying prices to visualize profit and loss zones for complex structures like iron condors.

How does Black-Scholes pricing calculate option Greeks and implied volatility?

Black-Scholes pricing calculates option Greeks by applying deterministic numerical methods to European calls and puts. It derives delta, gamma, theta, vega, and rho, and inverts implied volatility using Newton-Raphson with fallbacks and Brent root finding.

Can I compare theoretical P&L curves across different implied volatility scenarios?

Yes, you can compare theoretical P&L curves across different implied volatility scenarios. The tool evaluates option strategy sensitivity by adjusting IV levels, allowing you to visualize how pricing and Greeks shift before conducting research or backtesting.

What is the best way to numerically find breakeven points and max profit or loss for option spreads?

The best way to find breakeven points and max profit or loss is through numerical root finding. The tool calculates these metrics by evaluating expiry payoffs across underlying prices, summarizing maximum outcomes for single-leg and multi-leg option portfolios.

Do I need numpy and scipy to compute option strategy analytics and payoff curves?

Yes, you need numpy and scipy to compute option strategy analytics. These dependencies provide the deterministic numerical methods, such as root finding and Black-Scholes inversion, required to calculate theoretical P&L curves and option Greeks accurately.