Paid Options Analytics API via x402. Unpaid tool calls return 402.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Price 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.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http options-analytics https://www.brainiac.software/mcp/options-analytics
Price 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.
| Argument | Type | Description |
|---|---|---|
| rate | number | |
| spot* | number | |
| type* | string | |
| sigma* | number | |
| steps | integer | |
| style | string | |
| strike* | number | |
| dividends | array | |
| timeYears* | number | |
| dividendYield | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"spot",
"strike",
"timeYears",
"sigma"
],
"properties": {
"rate": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"enum": [
"call",
"put"
],
"type": "string"
},
"sigma": {
"type": "number",
"maximum": 5,
"exclusiveMinimum": 0
},
"steps": {
"type": "integer",
"default": 500,
"maximum": 5000,
"minimum": 1
},
"style": {
"enum": [
"american",
"european"
],
"type": "string",
"default": "american"
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"dividends": {
"type": "array",
"items": {
"type": "object",
"required": [
"timeYears",
"amount"
],
"properties": {
"amount": {
"type": "number",
"minimum": 0
},
"timeYears": {
"type": "number",
"exclusiveMinimum": 0
}
}
},
"default": [],
"maxItems": 50
},
"timeYears": {
"type": "number",
"maximum": 50,
"minimum": 0
},
"dividendYield": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
}
}
}Price a European option with Black-Scholes-Merton and return delta, gamma, vega, theta, rho, vanna and charm from caller-supplied spot, strike, time, rate, dividend yield and volatility. Pure computation with a high-accuracy normal CDF. Price $0.02 USDC. POST /api/v1/options-analytics/black-scholes-greeks. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| rate | number | |
| spot* | number | |
| type* | string | |
| sigma* | number | |
| greeks | array | |
| strike* | number | |
| dayCount | string | |
| timeYears* | number | |
| dividendYield | number |
Compute static and if-called returns, annualised returns, downside protection and breakeven for a covered call, or the return on collateral for a cash-secured put. Price $0.02 USDC. POST /api/v1/options-analytics/covered-call-yield. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| strike* | number | |
| premium* | number | |
| strategy* | string | |
| commission | number | |
| stockPrice | number | |
| daysToExpiry* | integer | |
| dividendsBeforeExpiry | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"strategy",
"strike",
"premium",
"daysToExpiry"
],
"properties": {
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"premium": {
"type": "number",
"exclusiveMinimum": 0
},
"strategy": {
"enum": [
"covered_call",
"cash_secured_put"
],
"type": "string"
},
"commission": {
"type": "number",
"default": 0,
"minimum": 0
},
"stockPrice": {
"type": "number",
"exclusiveMinimum": 0
},
"daysToExpiry": {
"type": "integer",
"maximum": 1095,
"minimum": 1
},
"dividendsBeforeExpiry": {
"type": "number",
"default": 0,
"minimum": 0
}
}
}Compute the one and two standard deviation expected move and price ranges from implied volatility or from the at-the-money straddle price. Price $0.02 USDC. POST /api/v1/options-analytics/expected-move. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| iv | any | |
| spot* | number | |
| dayBasis | any | |
| daysToExpiry* | number | |
| straddlePrice | any |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"spot",
"daysToExpiry"
],
"properties": {
"iv": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"dayBasis": {
"anyOf": [
{
"type": "number",
"const": 365
},
{
"type": "number",
"const": 252
}
],
"default": 365
},
"daysToExpiry": {
"type": "number",
"maximum": 3650,
"exclusiveMinimum": 0
},
"straddlePrice": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
}
}
}Compute close-to-close, Parkinson, Garman-Klass, Rogers-Satchell and Yang-Zhang realised volatility from OHLC bars, optionally excluding flagged days and returning a rolling series. Price $0.04 USDC. POST /api/v1/options-analytics/historical-volatility. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| bars* | array | |
| window | any | |
| estimators | array | |
| annualization | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"bars"
],
"properties": {
"bars": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"open",
"high",
"low",
"close"
],
"properties": {
"low": {
"type": "number",
"exclusiveMinimum": 0
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"high": {
"type": "number",
"exclusiveMinimum": 0
},
"open": {
"type": "number",
"exclusiveMinimum": 0
},
"close": {
"type": "number",
"exclusiveMinimum": 0
},
"exclude": {
"type": "boolean",
"default": false
}
}
},
"maxItems": 10000,
"minItems": 3
},
"window": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 3
},
{
"type": "null"
}
]
},
"estimators": {
"type": "array",
"items": {
"enum": [
"close_to_close",
"parkinson",
"garman_klass",
"rogers_satchell",
"yang_zhang"
],
"type": "string"
},
"default": [
"close_to_close",
"parkinson",
"garman_klass",
"rogers_satchell",
"yang_zhang"
],
"minItems": 1
},
"annualization": {
"type": "integer",
"default": 252,
"maximum": 366,
"minimum": 1
}
}
}Solve implied volatility for 1 to 500 option prices with Newton and Brent root-finding on Black-Scholes-Merton, or on a Cox-Ross-Rubinstein tree for American options. Prices outside the no-arbitrage bounds return a status instead of a number. Price $0.04 USDC. POST /api/v1/options-analytics/implied-volatility-solve. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| rate | number | |
| spot* | number | |
| style | string | |
| options* | array | |
| treeSteps | integer | |
| dividendYield | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"spot",
"options"
],
"properties": {
"rate": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"style": {
"enum": [
"european",
"american"
],
"type": "string",
"default": "european"
},
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"strike",
"timeYears",
"price"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"type": {
"enum": [
"call",
"put"
],
"type": "string"
},
"price": {
"type": "number",
"exclusiveMinimum": 0
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"timeYears": {
"type": "number",
"maximum": 50,
"minimum": 0
}
}
},
"maxItems": 500,
"minItems": 1
},
"treeSteps": {
"type": "integer",
"default": 200,
"maximum": 2000,
"minimum": 50
},
"dividendYield": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
}
}
}Compute IV rank and IV percentile of the current implied volatility against caller-supplied history over a trailing window of observations. Price $0.02 USDC. POST /api/v1/options-analytics/iv-rank-percentile. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| current* | number | |
| history* | array | |
| windowDays | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"current",
"history"
],
"properties": {
"current": {
"type": "number",
"exclusiveMinimum": 0
},
"history": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"iv"
],
"properties": {
"iv": {
"type": "number",
"exclusiveMinimum": 0
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
}
}
},
"maxItems": 5000,
"minItems": 2
},
"windowDays": {
"type": "integer",
"default": 252,
"maximum": 2520,
"minimum": 5
}
}
}Compute the max-pain strike, per-strike payout, put/call open-interest ratio and the highest open-interest call and put walls for one expiry from a supplied option chain. Price $0.02 USDC. POST /api/v1/options-analytics/max-pain-oi. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| chain* | array | |
| topWalls | integer | |
| multiplier | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"chain"
],
"properties": {
"chain": {
"type": "array",
"items": {
"type": "object",
"required": [
"strike",
"callOi",
"putOi"
],
"properties": {
"putOi": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"callOi": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
}
}
},
"maxItems": 2000,
"minItems": 2
},
"topWalls": {
"type": "integer",
"default": 3,
"maximum": 50,
"minimum": 1
},
"multiplier": {
"type": "number",
"default": 100,
"exclusiveMinimum": 0
}
}
}Parse or build OCC Options Symbology Initiative 21-character option symbols, validating the calendar date and flagging roots that look adjusted. Price $0.02 USDC. POST /api/v1/options-analytics/occ-symbol-parse. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| build | array | |
| parse | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"build": {
"type": "array",
"items": {
"type": "object",
"required": [
"root",
"expiry",
"type",
"strike"
],
"properties": {
"root": {
"type": "string",
"pattern": "^[A-Za-z0-9]{1,6}$"
},
"type": {
"enum": [
"call",
"put"
],
"type": "string"
},
"expiry": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"strike": {
"type": "number",
"exclusiveMaximum": 100000,
"exclusiveMinimum": 0
}
}
},
"default": [],
"maxItems": 1000
},
"parse": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"default": [],
"maxItems": 1000
}
}
}Aggregate share delta, dollar delta, gamma, vega, theta per day and beta-weighted delta across option and stock positions, computing Black-Scholes-Merton Greeks unless the caller supplies them. Price $0.03 USDC. POST /api/v1/options-analytics/position-greeks-aggregate. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| positions* | array | |
| benchmarkSpot* | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"benchmarkSpot",
"positions"
],
"properties": {
"positions": {
"type": "array",
"items": {
"type": "object",
"required": [
"underlying",
"spot",
"kind",
"qty"
],
"properties": {
"qty": {
"type": "number"
},
"beta": {
"type": "number",
"default": 1
},
"kind": {
"enum": [
"option",
"stock"
],
"type": "string"
},
"rate": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"enum": [
"call",
"put"
],
"type": "string"
},
"vega": {
"type": "number"
},
"delta": {
"type": "number"
},
"gamma": {
"type": "number"
},
"sigma": {
"type": "number",
"maximum": 5,
"exclusiveMinimum": 0
},
"theta": {
"type": "number"
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"timeYears": {
"type": "number",
"maximum": 50,
"minimum": 0
},
"multiplier": {
"type": "number",
"exclusiveMinimum": 0
},
"underlying": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"dividendYield": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
}
}
},
"maxItems": 1000,
"minItems": 1
},
"benchmarkSpot": {
"type": "number",
"exclusiveMinimum": 0
}
}
}Compute 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.
| Argument | Type | Description |
|---|---|---|
| rate | number | |
| spot* | number | |
| drift | any | |
| sigma* | number | |
| levels | array | |
| measure | string | |
| timeYears* | number | |
| breakevens | array | |
| profitAbove | boolean | |
| dividendYield | number | |
Infer the implied forward and carry from call and put quote pairs, solve the rate by least squares when omitted, and flag pairs whose bid and ask break the European or American parity band. Price $0.03 USDC. POST /api/v1/options-analytics/put-call-parity-check. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| rate | any | |
| spot* | number | |
| pairs* | array | |
| style | string | |
| timeYears* | number | |
| toleranceAbs | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"spot",
"timeYears",
"pairs"
],
"properties": {
"rate": {
"anyOf": [
{
"type": "number",
"maximum": 1,
"minimum": -0.2
},
{
"type": "null"
}
]
},
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"pairs": {
"type": "array",
"items": {
"type": "object",
"required": [
"strike",
"callBid",
"callAsk",
"putBid",
"putAsk"
],
"properties": {
"putAsk": {
"type": "number",
"minimum": 0
},
"putBid": {
"type": "number",
"minimum": 0
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"callAsk": {
"type": "number",
"minimum": 0
},
"callBid": {
"type": "number",
"minimum": 0
}
}
},
"maxItems": 500,
"minItems": 1
},
"style": {
"enum": [
"european",
"american"
],
"type": "string",
"default": "european"
},
"timeYears": {
"type": "number",
"maximum": 50,
"exclusiveMinimum": 0
},
"toleranceAbs": {
"type": "number",
"default": 0.01,
"minimum": 0
}
}
}Compute 25-delta risk reversal, butterfly, skew slope and term-structure slope from strike and implied volatility quotes by expiry, with linear interpolation in log-moneyness and no extrapolation. Price $0.03 USDC. POST /api/v1/options-analytics/skew-metrics. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| rate | number | |
| spot* | number | |
| expiries* | array | |
| dividendYield | number | |
| deltaConvention | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"spot",
"expiries"
],
"properties": {
"rate": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"expiries": {
"type": "array",
"items": {
"type": "object",
"required": [
"timeYears",
"points"
],
"properties": {
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"strike",
"iv"
],
"properties": {
"iv": {
"type": "number",
"maximum": 10,
"exclusiveMinimum": 0
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
}
}
},
"maxItems": 500,
"minItems": 3
},
"timeYears": {
"type": "number",
"maximum": 50,
"exclusiveMinimum": 0
}
}
},
"maxItems": 50,
"minItems": 1
},
"dividendYield": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"deltaConvention": {
"enum": [
"spot",
"forward"
],
"type": "string",
"default": "spot"
}
}
}Compute payoff and profit or loss of a multi-leg option and stock position at expiry and at a valuation date, with exact breakevens, maximum profit and loss, and unlimited-risk flags. Price $0.03 USDC. POST /api/v1/options-analytics/strategy-payoff. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| grid | object | |
| legs* | array | |
| rate | number | |
| spot* | number | |
| multiplier | number | |
| dividendYield | number | |
| valuationTimeYears | any |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"spot",
"legs"
],
"properties": {
"grid": {
"type": "object",
"required": [
"from",
"to",
"step"
],
"properties": {
"to": {
"type": "number",
"exclusiveMinimum": 0
},
"from": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
}
}
},
"legs": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"qty",
"premium"
],
"properties": {
"qty": {
"type": "number"
},
"kind": {
"enum": [
"option",
"stock"
],
"type": "string"
},
"type": {
"enum": [
"call",
"put"
],
"type": "string"
},
"sigma": {
"type": "number",
"maximum": 5,
"exclusiveMinimum": 0
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"premium": {
"type": "number",
"minimum": 0
},
"timeYears": {
"type": "number",
"maximum": 50,
"minimum": 0
}
}
},
"maxItems": 20,
"minItems": 1
},
"rate": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"multiplier": {
"type": "number",
"default": 100,
"exclusiveMinimum": 0
},
"dividendYield": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"valuationTimeYears": {
"anyOf": [
{
"type": "number",
"maximum": 50,
"minimum": 0
},
{
"type": "null"
}
]
}
}
}Fit a raw-SVI slice per expiry to strike implied volatilities with the Zeliade quasi-explicit method, interpolate the surface in total variance, and report butterfly and calendar static-arbitrage violations. Price $0.05 USDC. POST /api/v1/options-analytics/volatility-surface-fit. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| query | array | |
| points* | array | |
| forwardByExpiry* | object |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"forwardByExpiry",
"points"
],
"properties": {
"query": {
"type": "array",
"items": {
"type": "object",
"required": [
"timeYears",
"strike"
],
"properties": {
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"timeYears": {
"type": "number",
"exclusiveMinimum": 0
}
}
},
"maxItems": 1000
},
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"timeYears",
"strike",
"iv"
],
"properties": {
"iv": {
"type": "number",
"maximum": 10,
"exclusiveMinimum": 0
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"timeYears": {
"type": "number",
"maximum": 50,
"exclusiveMinimum": 0
}
}
},
"maxItems": 5000,
"minItems": 5
},
"forwardByExpiry": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number",
"exclusiveMinimum": 0
}
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 19, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type",
"spot",
"strike",
"timeYears",
"sigma"
],
"properties": {
"rate": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"enum": [
"call",
"put"
],
"type": "string"
},
"sigma": {
"type": "number",
"maximum": 5,
"exclusiveMinimum": 0
},
"greeks": {
"type": "array",
"items": {
"enum": [
"delta",
"gamma",
"vega",
"theta",
"rho",
"vanna",
"charm"
],
"type": "string"
},
"default": [
"delta",
"gamma",
"vega",
"theta",
"rho",
"vanna",
"charm"
],
"minItems": 1
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"dayCount": {
"enum": [
"ACT/365",
"ACT/360",
"TRADING/252"
],
"type": "string",
"default": "ACT/365"
},
"timeYears": {
"type": "number",
"maximum": 50,
"minimum": 0
},
"dividendYield": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
}
}
}| profitBetween |
| array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"spot",
"sigma",
"timeYears"
],
"properties": {
"rate": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"drift": {
"anyOf": [
{
"type": "number",
"maximum": 2,
"minimum": -1
},
{
"type": "null"
}
]
},
"sigma": {
"type": "number",
"maximum": 5,
"exclusiveMinimum": 0
},
"levels": {
"type": "array",
"items": {
"type": "number",
"exclusiveMinimum": 0
},
"default": [],
"maxItems": 50
},
"measure": {
"enum": [
"risk_neutral",
"real_world"
],
"type": "string",
"default": "risk_neutral"
},
"timeYears": {
"type": "number",
"maximum": 50,
"exclusiveMinimum": 0
},
"breakevens": {
"type": "array",
"items": {
"type": "number",
"exclusiveMinimum": 0
},
"maxItems": 10,
"minItems": 1
},
"profitAbove": {
"type": "boolean"
},
"dividendYield": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": -0.2
},
"profitBetween": {
"type": "array",
"items": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "number",
"exclusiveMinimum": 0
}
],
"maxItems": 2,
"minItems": 2,
"additionalItems": false
}
}
}