akumidv/alphavar/pricing-and-iv
Claude Code and agent skill by akumidv/alphavar
- community
Checking that the SKILL.md file is still in the repository.
Price options and solve implied volatility with alphavar's Black-76 (forward) model — fair price from a vol, implied vol from a market price, and vega. Use when a user asks to price an option, compute or back out implied volatility, add a model price/IV column to a chain, or get vega. (Other Greeks — delta/gamma/theta/rho — are not implemented yet.)
Install
npx vskill@latest install akumidv/alphavar/pricing-and-ivSKILL.md
Price options & solve implied vol (Black-76) in alphavar
USAGE skill (concept → function → how to apply). Verified against src/ — re-confirm the API before relying on it.
Concept
alphavar prices futures-settled options with Black-76 (the forward variant of Black-Scholes): price is a function of forward, strike, time, vol, and rate. Implied volatility is the σ that makes the model reproduce an observed market price, solved numerically.
Source: Hull (Black-76, implied volatility).iv/priceare the normalized modeloutput; the venue's quoted values areexch_iv/exch_mark_iv/exch_mark_price(R4).
Implementing functions
Pure functions — alphavar.options.lib.pricer.black_scholes:
bs_forward_price(forward, strike, t_years, sigma, is_call, rate=0.0)— Black-76 price.bs_vega(forward, strike, t_years, sigma, rate=0.0)— vega (∂price/∂σ).implied_vol(price, forward, strike, t_years, is_call, rate=0.0, lo=1e-6, hi=5.0, iters=100)
— implied vol by bisection; returns NaN where the price is outside the no-arbitrage bracket (no σ reproduces it). Vectorized.
DataFrame enrichment — alphavar.options.lib.pricer: add_fair_price(...), add_model_iv(...), years_to_expiry(...).
Facade — alphavar.options.pricer_class.OptionsPricer (from OptionsData):
add_iv(market_col=EXCH_MARK_PRICE, rate=0.0)→Self— add a model-IV column.add_price(vol_col=IV, rate=0.0)→Self— add a fair-price column.get_iv(...)→ DataFrame;fit_smile(...)→ smile fit (see
How to apply
Conventions & failure modes
- Black-76 uses the forward, not spot — pass
forward, not the underlying spot. - Vol in decimals (
0.6, not60); time in years; rate is continuously compounded. implied_volreturns NaN for prices outside[intrinsic, forward-bound]— check for
NaN rather than trusting a silent value.
- Only `bs_vega` exists among the Greeks. Delta/gamma/theta/rho are not implemented
— do not claim them; they are a tracked gap (see `skills/README.md`).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pricing-and-iv/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/akumidv/alphavar/pricing-and-iv)