Covers advanced options strategies including volatility surface modeling (SABR/Local Vol), Greeks rebalancing, calendar spreads, volatility arbitrage, and market-making basics. Useful for quantitative traders and risk managers.
Ships in vibe-trading-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Go beyond basic option strategies (covered call / protective put) and focus on trading opportunities along the volatility dimension. Core idea: option price = intrinsic value + time value, and advanced trading essentially trades the volatility expectations embedded behind that time value.
Applicable scenarios:
skew / term structure)Three-dimensional structure: strike × expiry × implied volatility.
Key dimensions:
| Dimension | Meaning | Typical Shape |
|---|---|---|
| Smile / Skew | IV across strikes for the same expiry | China A-shares: left-skewed (put IV > call IV) |
| Term Structure | IV across expiries for the same strike | Normal case: near-month IV < far-month IV |
| Surface dynamics | Parallel or nonlinear movement of the entire surface | In panic, the whole surface lifts, and near-month IV lifts faster |
Deterministic grid computation: quantlib_call(action="call", module="volatility", function="implied_volatility_surface", kwargs={"observations": observations, "spot": spot}) accepts explicit strike, time_to_expiry (years), and implied_volatility (decimal) observations. It interpolates IV across log-moneyness within each expiry and total variance between adjacent expiries, rejects extrapolation and duplicate quotes, and labels every point as observed or interpolated. This is a display and exploratory-analysis grid, not an arbitrage-free pricing model. The tool fetches no market data; obtain and validate the option chain first.
Interpolation uses stable log-strike differences, so changing the positive spot scale alone does not change the grid. Results must have finite IV and total variance; a total variance outside the floating-point range (including a positive value rounding to zero) is rejected explicitly rather than returned as NaN, infinity, or a fabricated zero.
Observed-slice diagnostics: volatility.diagnose_iv_surface uses the original observations, spot, continuously compounded risk-free rate and dividend yield to reconstruct European call model prices. It checks adjacent-strike vertical spread bounds and correctly weighted butterfly convexity within each expiry. It does not compare expiries, inspect interpolated points, repair the grid, or certify an arbitrage-free surface. Unlike the grid interpolation, these model prices depend on spot.
For example, the following synthetic IVs produce one vertical-spread violation:
{
"action": "call",
"module": "volatility",
"function": "diagnose_iv_surface",
"kwargs": {
"observations": [
{"strike": 90, "time_to_expiry": 1, "implied_volatility": 0.1},
{"strike": 100, "time_to_expiry": 1, "implied_volatility": 0.9}
],
"spot": 100,
"risk_free_rate": 0.03,
"dividend_yield": 0.01
}
}
Call this with quantlib_call; the HTTP equivalent is POST /options/volatility-surface/diagnostics with the kwargs object as the request body. The Web UI uses the same observed rows, with rates entered as percentages. HTTP inputs must be finite JSON numbers; booleans, numeric strings and extra fields, including output-grid parameters, are rejected.
Read checked and each entry in slices before interpreting an empty findings list. Two strikes allow a spread check; three allow a butterfly check. Numerically unpriceable slices are unavailable, never clean checks. Price residuals, bounds and tolerances use price units, not percentages. The report counts all checks and findings for up to 400 observations but returns only the first 20 findings, not the most severe 20. An empty result is not a full-surface validation. Reconstructed prices are not executable quotes: bid/ask spreads, fees and liquidity are outside the model.
SABR model parameters:
α (alpha): initial volatility level, around 0.2-0.5
β (beta): CEV exponent, equities usually use 0.5-1.0
ρ (rho): correlation between volatility and the underlying, usually -0.3 to -0.7 in China A-shares (negative = left skew)
ν (nu): volatility of volatility (vol of vol), around 0.3-0.8
Local Vol vs SABR:
First-order Greeks:
| Greek | Meaning | Management Approach |
|---|---|---|
| Delta (Δ) | Sensitivity to underlying price | Hedge frequency: daily for ATM, every 2-3 days for OTM |
| Vega (ν) | Sensitivity to IV | Calendar spreads can isolate Vega exposure |
| Theta (Θ) | Time decay | Short-option strategies are naturally positive Theta, but watch Gamma risk |
| Rho (ρ) | Sensitivity to rates | Relevant for long-dated options, usually ignorable for short-dated options |
Second-order Greeks:
| Greek | Meaning | Key Scenario |
|---|---|---|
| Gamma (Γ) | Rate of change of Delta | Highest near ATM and spikes before expiry |
| Vanna | Sensitivity of Delta to IV | Core Greek for skew trading |
| Volga / Vomma | Sensitivity of Vega to IV | Important when volatility moves sharply |
Delta hedge frequency decision:
Hedging cost = trading frequency × slippage per rebalance
Unhedged risk = Gamma exposure × underlying volatility²
Optimal frequency (Zakamouline criterion):
Trigger hedge when Gamma × S² × σ² × Δt > 2 × transaction_cost
Practical rule: ATM Gamma is large -> hedge daily; OTM -> hedge weekly or on threshold triggers
Principle: sell the near-month option and buy the far-month option at the same strike, profiting from faster near-month Theta decay.
Entry conditions:
near-month IV ≤ far-month IV)50ETF example:
Underlying: 50ETF current price 2.80
Sell: 50ETF near-month C2800 IV=18%, collect premium 0.045
Buy: 50ETF far-month C2800 IV=20%, pay premium 0.082
Net debit: 0.037 (max loss)
Breakeven: profit if the underlying stays in the 2.76-2.84 range at near-month expiry
Max profit: when near-month expires with the underlying right at 2.80, roughly 0.045 minus the time-decay differential
Risk-control points:
Long Gamma strategy (buy volatility):
Scenario: realized volatility is expected to exceed implied volatility
Trade: buy ATM straddle + Delta hedge
Profit source: Gamma-scalping gains > Theta decay
Key metric:
Breakeven volatility = IV + Theta/Gamma cost
Example in 300ETF: buy straddle at IV=16%; if realized volatility >18%, the trade is profitable
Short Gamma strategy (sell volatility):
Scenario: realized volatility is expected to stay below implied volatility
Trade: sell ATM straddle + Delta hedge
Profit source: Theta income > hedging loss
Risk control: set max loss = 2x premium received, close when hit
Risk Reversal:
Scenario: skew is too steep (put IV excessively high relative to call IV)
Trade: sell OTM put + buy OTM call (zero-cost or slight net credit)
Exposure: long skew (profit if skew mean-reverts)
50ETF example:
Sell P2700 IV=22% collect 0.025
Buy C2900 IV=16% pay 0.018
Net credit 0.007, profiting from skew mean reversion
Butterfly skew trade:
Scenario: localized skew abnormality (IV deviation at a particular strike)
Trade: build a butterfly centered on the abnormal strike
If IV is too high -> sell that strike (middle leg of the butterfly)
If IV is too low -> buy that strike
Quoting strategy:
f(Gamma risk, inventory skew, market volatility)Inventory management:
Delta limit: ±500 underlying-equivalent lots
Gamma limit: daily Gamma PnL should not exceed 2% of account equity
Vega limit: PnL from a 1% IV move should not exceed 1% of account equity
When over the limit: hedge in the market first, adjust quotes second
Volatility analysis report:
=== Volatility Surface Analysis ===
Underlying: 50ETF Current price: 2.80
ATM IV: 18.5% Historical percentile: 35% (relatively low)
Skew (25D): -3.2% (put IV is 3.2% higher than call IV) Historical percentile: 70% (relatively steep)
Term Structure: normal (near-month 17.8% < far-month 19.2%)
=== Strategy Recommendation ===
Opportunity: steep skew + low IV
Strategy: Risk Reversal (sell put / buy call) + Calendar Spread
Expectation: skew mean reversion + mild IV rise
Risk control: keep Delta neutral, keep Gamma within ±200 lots
=== Greeks Monitoring ===
Portfolio Delta: +15 (neutral)
Portfolio Gamma: -180 (short Gamma, watch gap risk)
Portfolio Vega: +3200 (long Vega, benefits from higher IV)
Portfolio Theta: -450 / day
0.5 × Gamma × (RV² - IV²) × S² × T; realized volatility must exceed IV by a meaningful margin to cover transaction costspip install pandas numpy scipy
What SKILL.md sets; muted values are Claude Code's defaults
/hkuds-vibe-trading-skills:options-advancedfrom vibe-trading-skills
Generated from the plugin's indexed repository (hkuds/vibe-trading) — no native marketplace selected
npx claudepluginhub p/hkuds-vibe-trading-skills89 skills in this plugin
/adr-hshareADR/H-share/A-share cross-listing premium analysis — track pricing gaps between US-listed ADRs, HK-listed H-shares, and A-shares for arbitrage signals, dual-listing valuation, and delisting risk assessment./akshareAKShare financial data aggregator (18k+ stars). Free, no API key. Covers A-shares, US, HK, futures, macro, forex. Primary fallback for tushare and yfinance./alpha-zooBrowse and bench the bundled alpha zoos — prebuilt cross-sectional factor libraries (Kakushadze 101, GTJA 191, Qlib 158, Fama-French / Carhart). Use when the user asks "which alphas exist", wants metadata on a named alpha, or wants to run IC/IR on a whole zoo over a universe.Other plugins' skills for the same job