Trading_skills greeks
Calculate option Greeks (delta, gamma, theta, vega) and implied volatility for specific options. Use when user asks about Greeks, delta, gamma, theta, vega, IV, or option sensitivity analysis.
install
source · Clone the upstream repo
git clone https://github.com/staskh/trading_skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/staskh/trading_skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/greeks" ~/.claude/skills/staskh-trading-skills-greeks && rm -rf "$T"
manifest:
.claude/skills/greeks/SKILL.mdsource content
Option Greeks
Calculate Greeks for options using Black-Scholes model. Computes IV from market price via Newton-Raphson.
Instructions
Note: If
is not installed oruvis not found, replacepyproject.tomlwithuv run pythonin all commands below.python
uv run python scripts/greeks.py --spot SPOT --strike STRIKE --type call|put [--expiry YYYY-MM-DD | --dte DTE] [--price PRICE] [--date YYYY-MM-DD] [--vol VOL] [--rate RATE]
Arguments
- Underlying spot price (required)--spot
- Option strike price (required)--strike
- Option type: call or put (required)--type
- Expiration date YYYY-MM-DD (use this OR --dte)--expiry
- Days to expiration (alternative to --expiry)--dte
- Calculate as of this date instead of today (YYYY-MM-DD)--date
- Option market price (for IV calculation)--price
- Override volatility as decimal (e.g., 0.30 for 30%)--vol
- Risk-free rate (default: 0.05)--rate
Output
Returns JSON with:
- Underlying spot pricespot
- Strike pricestrike
- Days until expirationdays_to_expiry
- Implied volatility (calculated from market price)iv
- delta, gamma, theta, vega, rhogreeks
Examples
# With expiry date and market price (calculates IV) uv run python scripts/greeks.py --spot 630 --strike 600 --expiry 2026-05-15 --type call --price 72.64 # With DTE directly uv run python scripts/greeks.py --spot 630 --strike 600 --dte 30 --type call --price 40 # As of a future date uv run python scripts/greeks.py --spot 630 --strike 600 --expiry 2026-05-15 --date 2026-03-01 --type call --price 50
Explain what each Greek means for the position.
Dependencies
scipy