Options analytics
Price a European option on a live stock: pull the current quote, estimate volatility from recent history, run Black-Scholes for fair value + the full greeks, and check the news for catalysts.
When to use this pack
Sizing an options trade or hedging a position — you want a fair value and the greeks (delta, gamma, vega, theta, rho) grounded in the stock's live price and realized volatility, not a stale textbook input.
Tools in this pack
-
Stock quote
$0.010
GET /api/stock-quote
Live stock/index/FX/crypto quote: last price, day range, 52-week range, previous close, currency, exchange, and a relative change vs. previous close, as clean JSON. Backed by Yahoo Finance's public chart endpoint — keyless, no rate limits in practice. Symbols: equities (AAPL), indices (^GSPC), FX (EURUSD=X), crypto (BTC-USD).
-
Stock historical bars
$0.015
GET /api/stock-history
Historical OHLCV bars for a symbol. Configurable interval (1m, 5m, 15m, 30m, 60m, 1d, 1wk, 1mo, 3mo) and range (1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max). Intraday intervals are limited by Yahoo to ~60 days of data. Returns a flat array of bars (time, open, high, low, close, volume) ready for charting or backtests.
-
Black-Scholes option price
$0.002
POST /api/black-scholes
Price a European option (call or put) with the Black-Scholes-Merton model, plus the greeks (delta, gamma, vega, theta, rho). Continuous dividend yield supported. Greeks are per unit: theta is per year, vega per 1.00 change in volatility, rho per 1.00 change in rate. Deterministic — matches standard references to the cent.
-
Web search
$0.02
GET /api/search
Live web search: ranked results (title, URL, snippet, age) from an independent search index as clean JSON — fresh pages your model's training cutoff has never seen. Optional freshness filter (pd/pw/pm/py = past day/week/month/year).
Workflow
- Get the live spot price from stock-quote — the underlying S for the option.
- Pull ~60 days of closes from stock-history and compute annualized realized volatility (stddev of daily log returns × sqrt(252)) — the sigma input.
- Run black-scholes with the live spot, your strike/expiry, the current risk-free rate, and that volatility to get fair value plus delta, gamma, vega, theta, and rho.
- Search the web for any earnings, guidance, or events before expiry that could move implied vol beyond the realized estimate.
Run it in Claude
claude mcp add agent402 -s user -- npx -y agent402-mcp@latest
Then paste this prompt into Claude:
Price a call option on AAPL using Agent402's options-analytics skill pack. (1) Get the live quote for the spot price, (2) pull 60 days of history and compute annualized realized volatility, (3) run black-scholes with spot=live price, strike=nearest round number, 30 days to expiry, riskFreeRate=0.05 and the realized vol, (4) search for events before expiry. Report the fair value, all five greeks, and whether the option looks rich or cheap versus the model.
← All skill packs