Saltar al contenido
Skillpedia
Análisis y hojas de cálculo37 mil · #7538

options-payoff

Qué hace

Esta skill explica qué podría ganar o perder una operación con opciones al vencimiento. Está pensada para traders y estudiantes que quieren ver el resultado de una estrategia antes de ejecutarla.

Cuándo usarla

  • ✓Cuando quieres ver el gráfico de ganancias y pérdidas de una sola opción o de una estrategia de varias patas.
  • ✓Cuando necesitas el precio de equilibrio y la pérdida máxima de una posición con opciones.
  • ✓Cuando quieres comparar cómo se comporta una estrategia con distintos niveles de volatilidad.

Link de la skill

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/options-payoff/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/options-payoff/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Muéstrame el gráfico de ganancias y pérdidas de comprar una call y vender una call de precio más alto sobre Apple.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Toma las patas de una operación, como comprar o vender calls y puts, y calcula su valor al vencimiento. También valora las opciones con el modelo Black-Scholes para mostrar escenarios.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Options Payoff — Option P&L Analysis Methodology

Overview

This skill is designed for option strategy analysis scenarios within the Vibe-Trading quantitative framework, covering:

  • P&L curve generation for single-leg and multi-leg option portfolios
  • Black-Scholes pricing and Greeks calculation
  • Implied volatility inversion
  • Strategy selection decision support

Constraint: For research and backtesting only. Do not output live trading instructions, in line with the project's guardrails.

Built-in execution tool

Load this skill for methodology, then call options_payoff for production calculations. Pass signed legs (qty > 0 long, qty < 0 short), entry_spot, and expiry_days; optionally pass actual per-share premiums, multiplier, commission, chart bounds, and IV scenarios. The tool returns an expiry curve, a spot × IV scenario matrix, and analytic breakeven/max-risk results that do not depend on the display grid containing every strike.


1. Supported Strategy Types

1.1 Single-Leg Strategies

Strategy Bias Premium Max Profit Max Loss
Long Call Bullish Paid Unlimited Premium
Long Put Bearish Paid Strike - premium Premium
Short Call Neutral / mildly bearish Received Premium Unlimited
Short Put Neutral / mildly bullish Received Premium Strike - premium

1.2 Vertical Spreads

Strategy Structure Market View Net Premium
Bull Call Spread Long Call (lower K) + Short Call (higher K) Moderately bullish Net debit
Bear Put Spread Long Put (higher K) + Short Put (lower K) Moderately bearish Net debit
Bull Put Spread Short Put (higher K) + Long Put (lower K) Moderately bullish Net credit
Bear Call Spread Short Call (lower K) + Long Call (higher K) Moderately bearish Net credit

1.3 Straddles / Strangles (Volatility Strategies)

Strategy Structure Market View
Long Straddle Long Call (ATM) + Long Put (ATM) Large move up or down, low volatility
Short Straddle Short Call (ATM) + Short Put (ATM) Range-bound market, high volatility
Long Strangle Long Call (OTM) + Long Put (OTM) Large move, lower cost than a straddle
Short Strangle Short Call (OTM) + Short Put (OTM) Tight range, collect two-sided premium

1.4 Butterflies / Iron Butterflies

Strategy Structure Feature
Long Butterfly (Call) Long Call (K1) + 2× Short Call (K2) + Long Call (K3) Low-cost bet that the underlying expires near K2
Long Butterfly (Put) Long Put (K3) + 2× Short Put (K2) + Long Put (K1) Same logic, built with puts
Iron Butterfly Short Call (K2) + Short Put (K2) + Long Call (K3) + Long Put (K1) Net credit, max profit at K2

1.5 Condors / Iron Condors

Strategy Structure Feature
Long Condor (Call) Long Call (K1) + Short Call (K2) + Short Call (K3) + Long Call (K4) Bet that the underlying stays between K2 and K3
Iron Condor Short Put (K2) + Long Put (K1) + Short Call (K3) + Long Call (K4) Most common neutral strategy with capped risk on both sides

Here K1 < K2 < K3 < K4, and K2 / K3 are usually OTM.

1.6 Calendar Spreads (Time Spreads)

Strategy Structure Market View
Calendar Spread Short near-month Call/Put (K) + Long far-month Call/Put (K) Short-term range-bound market + rising forward volatility
Diagonal Spread Short near-month Call/Put (K1) + Long far-month Call/Put (K2) Calendar spread with mild directional bias

Calendar spreads profit because near-month Theta decay is faster than far-month Theta decay.

1.7 Ratio Spreads

Strategy Structure Feature
Ratio Call Spread Long 1× Call (K1) + Short N× Call (K2), N>1 Limited upside profit, losses if the upside move becomes extreme
Ratio Put Spread Long 1× Put (K2) + Short N× Put (K1) Limited downside profit, losses if the downside move becomes extreme
Call Back Spread Short 1× Call (K1) + Long N× Call (K2), N>1 Profits from extreme upside, loses on a modest rally
Put Back Spread Short 1× Put (K2) + Long N× Put (K1), N>1 Profits from extreme downside, loses on a mild decline

1.8 Protective / Hedging Strategies

Strategy Structure Use Case
Covered Call L
Preguntas frecuentes

¿Qué son los puntos de equilibrio?

Son los precios del activo subyacente en los que una operación no gana ni pierde dinero al vencimiento.

¿Da instrucciones de trading en vivo?

No. Es solo para investigación y backtests, y no genera órdenes de trading.

¿Qué estrategias cubre?

Cubre operaciones de una sola pata, como comprar calls y puts, y estrategias de varias patas construidas con varias opciones.

Detalles

Descripción original del autor

Option P&L analysis methodology: payoff diagrams, breakeven calculation, multi-leg strategy visualization, and Greeks-based scenario analysis.

repo: HKUDS/Vibe-Trading

Popularidad

Estrellas en GitHub
37 mil
Posición en el ranking
#7538
Licencia
MIT
Actualizada
1/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas