Price an American option on a binomial tree
options-analytics_american-binomial-pricePrice an American or European option on a Cox-Ross-Rubinstein tree with optional discrete cash dividends (escrowed method), and return tree delta, gamma, theta, the early-exercise boundary and the Black-Scholes-Merton European value for comparison. Price $0.04 USDC. POST /api/v1/options-analytics/american-binomial-price. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"spot": "<spot>",
"strike": "<strike>",
"timeYears": "<timeYears>",
"sigma": "<sigma>"
},
"name": "options-analytics_american-binomial-price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | rate, number, from -0.2 to 1. Required. | |
| spot | Yes | spot, number. Required. | |
| type | Yes | type, string, one of call, put. Required. | |
| sigma | Yes | sigma, number, from any to 5. Required. | |
| steps | No | steps, integer, from 1 to 5000. Required. | |
| style | No | style, string, one of american, european. Required. | american |
| strike | Yes | strike, number. Required. | |
| dividends | No | dividends, array. Required. | |
| timeYears | Yes | timeYears, number, from 0 to 50. Required. | |
| dividendYield | No | dividendYield, number, from -0.2 to 1. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | No | delta. Number. | |
| gamma | No | gamma. Number. | |
| model | No | model. String. | |
| price | No | price. Number. | |
| steps | No | steps. Number. | |
| theta | No | theta. Number. | |
| sources | No | sources. Array. | |
| inputsUsed | No | inputsUsed. Object. | |
| convergence | No | convergence. Object. | |
| limitations | No | limitations. Array. | |
| europeanPrice | No | europeanPrice. Number. | |
| earlyExerciseBoundary | No | earlyExerciseBoundary. Array. |