source: "computed" with lag_seconds: 0.
Because these skills don’t touch the archive, the agent supplies every input. Use
vol.term_structure or market.quote first if you need market IV or spot.Skill summary
| Skill ID | Tool name | Source | Runtime | Description |
|---|---|---|---|---|
options.greeks | options_greeks | computed | interactive | Black-Scholes price + delta/gamma/vega/theta/rho |
options.implied_vol | options_implied_vol | computed | interactive | BS implied vol from observed option price |
options.greeks
Black-Scholes option price and full greek set. Arguments| Name | Type | Required | Default | Description |
|---|---|---|---|---|
S | float | yes | — | Spot price |
K | float | yes | — | Strike price |
T | float | yes | — | Time to expiry in years (e.g. 0.25 for 3 months) |
sigma | float | yes | — | Implied volatility (decimal, e.g. 0.30) |
r | float | no | 0.04 | Risk-free rate (decimal) |
q | float | no | 0.0 | Continuous dividend yield (decimal) |
type | string | no | call | call or put |
| Output | Formula |
|---|---|
d1 | (ln(S/K) + (r − q + σ²/2)T) / (σ√T) |
d2 | d1 − σ√T |
call_price | S·e^(−qT)·N(d1) − K·e^(−rT)·N(d2) |
put_price | K·e^(−rT)·N(−d2) − S·e^(−qT)·N(−d1) |
delta | call: e^(−qT)·N(d1); put: −e^(−qT)·N(−d1) |
gamma | e^(−qT)·φ(d1) / (S·σ·√T) |
vega | S·e^(−qT)·φ(d1)·√T (per 1.00 vol) |
theta | call: (−S·e^(−qT)·φ(d1)·σ/(2√T) − r·K·e^(−rT)·N(d2) + q·S·e^(−qT)·N(d1)) / 365 |
rho | call: K·T·e^(−rT)·N(d2) / 100 |
options.implied_vol
Black-Scholes implied volatility backed out from an observed option price. Uses Brent’s method on the BS pricing function. Arguments| Name | Type | Required | Default | Description |
|---|---|---|---|---|
S | float | yes | — | Spot price |
K | float | yes | — | Strike price |
T | float | yes | — | Time to expiry in years |
price | float | yes | — | Observed option price |
r | float | no | 0.04 | Risk-free rate |
q | float | no | 0.0 | Continuous dividend yield |
type | string | no | call | call or put |
tol | float | no | 1e-6 | Solver tolerance |
max_iter | int | no | 100 | Max iterations |
sigma such that BS(S, K, T, sigma, r, q, type) = price.
Example
If
converged is false, the implied vol is an approximation. This usually means the price is below intrinsic (arbitrage violation) or the inputs are inconsistent. Check warnings in the envelope.Next steps
Volatility Skills
Realized vol, IV rank, variance risk premium, and regime classification — computed from archive closes.
Computed Analytics Skills
Correlations, factor exposures, DCF, portfolio optimization, Monte Carlo, and tearsheets.