Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

options-payoff

Skill by charliedream1

options-payoff is a skill that sets out an option P&L analysis method, covering payoff diagrams, break-even points and Greeks-based scenario analysis. It is intended for research and backtesting only, not for live trading instructions.

  • Score 91
  • 6.8k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install options-payoff

Built from the published package, never by AI.

git clone --depth 1 https://github.com/charliedream1/ai_quant_trade /tmp/ai_quant_trade && mkdir -p ~/.claude/skills && cp -r /tmp/ai_quant_trade/egs_skill/vibe_trading_skills/options-payoff ~/.claude/skills/options-payoff

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install options-payoff in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill describes how to analyze option strategies within the Vibe-Trading quantitative framework. It covers P&L curves for single-leg and multi-leg option portfolios, including vertical spreads, straddles, strangles, butterflies, condors, calendar spreads, ratio spreads and protective strategies. It also covers Black-Scholes pricing, Greeks calculation and implied volatility inversion using Newton-Raphson.

The method builds an expiry payoff curve from each leg's strike, quantity and direction, and a theoretical value curve from Black-Scholes pricing. Break-even points are found numerically with scipy's brentq, and volatility scenarios use multiples of current implied volatility. Python templates for bs_price and bs_greeks are included. The source states that it is for research and backtesting only and is aimed at people analyzing option strategies.

Written from the project's SKILL.md and checked against it.

What it can do

  • Expiry payoff curvesBuilds profit and loss at expiration for single-leg and multi-leg option portfolios.
  • Theoretical value curvesPlots current Black-Scholes value of a portfolio across underlying prices.
  • Break-even calculationSolves payoff roots numerically with scipy brentq, plus closed forms for single legs.
  • Max profit and max lossDerives maximum profit and loss from the payoff curve and labels unlimited cases.
  • Black-Scholes pricingPrices European calls and puts, with an optional continuous dividend yield.
  • Greeks calculationComputes delta, gamma, theta, vega and rho, with theta per day and vega per 1% vol.
  • Implied volatility inversionSolves implied volatility with Newton-Raphson and falls back to bisection near zero vega.
  • Volatility scenario analysisCompares theoretical value curves at 0.5 to 1.5 times current implied volatility.
  • Strategy referenceCovers verticals, straddles, butterflies, condors, calendars, ratio spreads and hedges.
  • Put-call parity checkVerifies pricing consistency and helps detect arbitrage.

What you need

  • Python
  • numpy
  • scipy

Try asking

  • Show the payoff diagram and break-even points for an iron condor.
  • Calculate the Black-Scholes price and Greeks for a 30-day call at strike 100.
  • Solve implied volatility from a market put price using Newton-Raphson.

Good to know

  • For research and backtesting only. The source gives no live trading instructions.
  • Black-Scholes assumes constant volatility and a constant risk-free rate.
  • Covers European options only, exercised at expiration.
  • Implied volatility above 500% is treated as an outlier and should be filtered.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: egs_skill/vibe_trading_skills/options-payoff/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md28 KB

Alternatives to options-payoff

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

options-payoff: common questions

Is this skill meant for live trading?

No. The source says it is for research and backtesting only and does not output live trading instructions.

Which option pricing model does it use?

It uses the Black-Scholes model for European options, with an optional continuous dividend yield.

Which Greeks does it cover?

It covers delta, gamma, theta, vega and rho, with theta per day and vega and rho per 1% change.

How do I install options-payoff?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is options-payoff free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is options-payoff safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to options-payoff?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

options-payoff Install

Add to stack

Loading.