Compute lognormal option probabilities
options-analytics_probability-of-profitCompute lognormal probabilities of finishing above or below levels, touching a level before expiry, and finishing in profit for a strategy given its breakevens, under risk-neutral or real-world drift. Price $0.02 USDC. POST /api/v1/options-analytics/probability-of-profit. 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": {
"spot": "<spot>",
"sigma": "<sigma>",
"timeYears": "<timeYears>"
},
"name": "options-analytics_probability-of-profit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | rate, number, from -0.2 to 1. Required. | |
| spot | Yes | spot, number. Required. | |
| drift | No | drift, value. Optional. | |
| sigma | Yes | sigma, number, from any to 5. Required. | |
| levels | No | levels, array. Required. | |
| measure | No | measure, string, one of risk_neutral, real_world. Required. | risk_neutral |
| timeYears | Yes | timeYears, number, from any to 50. Required. | |
| breakevens | No | breakevens, array. Optional. | |
| profitAbove | No | profitAbove, boolean. Optional. | |
| dividendYield | No | dividendYield, number, from -0.2 to 1. Required. | |
| profitBetween | No | profitBetween, array. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | model. String. | |
| levels | No | levels. Array. | |
| sources | No | sources. Array. | |
| inputsUsed | No | inputsUsed. Object. | |
| limitations | No | limitations. Array. | |
| probabilityOfProfit | No | probabilityOfProfit. Number. |