Black-Scholes option price
black_scholes_pricePrice a single European call or put with the Black-Scholes-Merton model. Input spot, strike, maturity, risk-free rate, and volatility to return the option price and used inputs.
Instructions
Price a European call or put with the Black-Scholes-Merton model. Use this for a single European option; for swaps, convertible bonds, futures, or greeks use the delegated derivatives tools. Returns the option price and the inputs used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spot | Yes | Current underlying spot price. | |
| strike | Yes | Option strike price. | |
| maturity | Yes | Time to expiry in years (e.g. 0.5 for six months). | |
| risk_free | Yes | Continuously-compounded risk-free rate as a decimal. | |
| volatility | Yes | Annualized volatility of the underlying as a decimal. | |
| option_type | No | Option type; defaults to 'call' when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error detail, present only when status='error'. | |
| steps | No | Ordered computation steps, when the method reports them. | |
| value | No | Primary result: a number for scalar tools, an object for valuation tools. | |
| method | No | Method or tool name that produced the result. | |
| status | Yes | 'ok' on success, 'error' on failure. | |
| ticker | No | Ticker the result pertains to, when applicable. | |
| assumptions | No | Inputs and assumptions used, echoed for traceability. | |
| formula_ref | No | Formula or standards reference for the method. | |
| data_timestamp | No | ISO-8601 UTC timestamp of the underlying data, when fetched. |