calculate_black_scholes
Value European options and compute delta using the Black-Scholes model. Input spot price, strike, interest rate, volatility, and time to expiration.
Instructions
Theoretical European option price (Black-Scholes) and delta. Use for 'what is a fair option premium', option valuation, implied pricing. volatility is annualised in percent (e.g. 20 for 20%).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spot | Yes | ||
| years | Yes | ||
| strike | Yes | ||
| volatility | Yes | ||
| annual_rate | Yes | ||
| option_type | No | call |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |