derivatives_binomial-tree
Price American and European options using the Cox-Ross-Rubinstein binomial tree. Computes option price, early exercise boundary, and tree node values.
Instructions
CRR binomial tree pricing for American and European options.
Use when pricing American or European options via the CRR binomial lattice. Provide spot, strike, time, rate, volatility, steps, and exercise style. Returns: option price, early exercise boundary, and tree node values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| K | Yes | Strike price | |
| S | Yes | Spot price of the underlying asset | |
| T | Yes | Time to expiration in years | |
| q | No | Continuous dividend yield | |
| r | No | Risk-free interest rate (annualized) | |
| type | No | Option type | call |
| sigma | Yes | Volatility (annualized) | |
| steps | No | Number of tree steps (higher = more accurate) | |
| exercise | No | Exercise style | european |