# options-and-vol-pricing

> Price and review on-chain options and vaults: Black-Scholes/Black-76, vol surface, Greeks, settlement risk.

options-and-vol-pricing is a free AI agent skill on Agensi by BanditXBT. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [BanditXBT](https://www.agensi.io/creators/banditxbt)
- Version: 1.0
- Last updated: 2026-11-21
- Security: scan passed (2026-11-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/options-and-vol-pricing
- Tags: web3-crypto, trading-investing, finance-accounting

## About this skill

European vs. American; call/put; strike, expiry timestamp, underlying/quote/collateral tokens and decimals; cash- vs. physically-settled; settlement price source (spot at expiry vs. TWAP window); exercise rights (auto-exercise? window?); who can write, who is the counterparty (peer-to-peer, vault, AMM). Ambiguity here causes more loss than math errors.

- **Black-Scholes-Merton** (European, lognormal): `C = S·N(d1) − K·e^{−rT}·N(d2)`, `d1 = [ln(S/K) + (r+σ²/2)T]/(σ√T)`, `d2 = d1 − σ√T`. Crypto: set `r` ≈ funding/borrow basis or 0 with explicit justification; for perp/futures underlyings use Black-76 on the forward `F`.
- Sanity checks (use as unit tests): put-call parity `C − P = S − K·e^{−rT}` (or `F` form), monotonicity in S, K, σ, T; price ≥ intrinsic; price → 0 / intrinsic as T → 0 or σ → 0.
- **Vol surface:** implied vol varies by strike (skew/smile) and tenor. Flat-vol pricing is exploitable. Parametrize (SVI/SABR or per-expiry delta-vol buckets), enforce no-arbitrage (calendar and butterfly), calibrate from liquid venues (Deribit, CEX/DEX quotes) and reject stale inputs.
- **Greeks:** delta, gamma, vega, theta, rho. Aggregate book Greeks; compute analytically on-chain only if gas permits, otherwise off-chain with on-chain bounds checks.
- **Numerics on-chain:** fixed-point (WAD/RAY) normal CDF approximation (Abramowitz-Stegun or lookup/polynomial), `ln`/`exp` libraries (e.g., PRBMath/Solmate/Solady); bound error and test against a high-precision reference (Python `scipy`/`mpmath`) over a dense grid including extremes (deep ITM/OTM, tiny T, huge σ). Overflow and sign handling at `d1` extremes.

- **Writer collateral:** covered calls (underlying), cash-secured puts (strike×size), or margined short options (portfolio margin by scenario/SPAN-style grid: spot ±x%, vol ±y%). Under-collateralization for short gamma near expiry is the classic failure.
- **Vault/LP risk:** short-vol strategies earn premium and suffer tail losses; model PnL under jump scenarios; check withdrawal timing (epoch/queue) so late LPs cannot dump losses on remaining LPs; share price accounting with unsettled options.
- **AMM-style options:** inventory risk → dynamic spread from vega/gamma exposure and skew; ensure quotes widen as book Greeks grow; cap net delta/vega; hedging bot assumptions (slippage, latency, gas).
- **Perpetual options (e.g., LP-position-based):** mapping between concentrated-liquidity positions and option payoffs; streaming premium (funding-like) accounting; liquidation as price crosses range.

- Expiry price must be manipulation-resistant: TWAP over a window or median of sources; avoid single spot block. Attackers will move price near expiry if cost < payoff difference (compute `max payoff swing × OI` vs. manipulation cost).
- Handle: expiry exactly at timestamp boundary, no-price-available fallbacks, oracle downtime at expiry, disputes.
- Unexercised ITM options: auto-exercise rule and who pays gas.

## Requires

- Optional: Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the options-and-vol-pricing skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does options-and-vol-pricing do?

Price and review on-chain options and vaults: Black-Scholes/Black-76, vol surface, Greeks, settlement risk.

### Which AI agents support options-and-vol-pricing?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use options-and-vol-pricing?

Connect your AI agent to Agensi through MCP, then ask it to use options-and-vol-pricing on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
