options-payoff

Analyze option portfolios with Black-Scholes pricing and Greeks calculation.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/hxhyyy/Vibe-Trading --skill options-payoff-hxhyyy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: options-payoff
Source: https://github.com/hxhyyy/Vibe-Trading/tree/main/agent/src/skills/options-payoff
Command: npx skills add https://github.com/hxhyyy/Vibe-Trading --skill options-payoff-hxhyyy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill addresses the complexity of evaluating multi-leg option strategies by providing a quantitative framework for P&L visualization, breakeven analysis, and Greeks-based risk assessment.

Core Features & Use Cases

  • Strategy Analysis: Generate expiry and theoretical P&L curves for single-leg, vertical spreads, straddles, and complex structures like Iron Condors.
  • Greeks & Pricing: Calculate Black-Scholes theoretical values and Greeks (Delta, Gamma, Theta, Vega, Rho) to understand sensitivity to price, time, and volatility.
  • Use Case: A trader can input a multi-leg Iron Condor structure to visualize the impact of implied volatility shifts on the current theoretical value versus the expiry payoff.

Quick Start

Use the options-payoff skill to calculate the breakeven points and generate a payoff diagram for a long straddle strategy with the provided strike prices and volatility parameters.

Frequently Asked Questions about options-payoff

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

FAQPage Schema
How do I calculate payoff curves for multi-leg option strategies?

To calculate payoff curves for multi-leg option strategies, you generate P&L curves and breakeven points using numpy and scipy. This skill supports complex structures like vertical spreads, straddles, and Iron Condors for both expiry and theoretical valuations.

How do I calculate option Greeks using Black-Scholes?

Calculating option Greeks using Black-Scholes involves computing theoretical values for Delta, Gamma, Theta, Vega, and Rho. This skill performs these sensitivity calculations to quantify portfolio risk regarding underlying price, time decay, and volatility shifts.

Can I visualize the impact of implied volatility shifts on an Iron Condor?

You can visualize the impact of implied volatility shifts on an Iron Condor by modeling volatility scenarios against theoretical values. The skill uses matplotlib or plotly to render the current theoretical value compared to the expiry payoff.

Does this options analysis tool require numpy and scipy?

This options analysis tool requires numpy, scipy, and either matplotlib or plotly. These dependencies are essential for performing the quantitative Black-Scholes pricing, numerical computation, and derivative payoff visualization.

What is the best way to find breakeven points for a long straddle?

The best way to find breakeven points for a long straddle is by generating an expiry P&L curve using the provided strike prices and volatility parameters. The skill mathematically identifies the exact underlying prices where the strategy becomes profitable.

Why do I need theoretical P&L curves instead of just expiry payoff diagrams?

You need theoretical P&L curves instead of just expiry payoff diagrams to evaluate risk before expiration. Theoretical curves use Black-Scholes pricing and Greeks to show current portfolio value and sensitivity to time decay and volatility prior to expiry.