Paid Portfolio 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.
Aggregate caller-supplied fund look-through holdings by asset class, sector, region and top underlying positions. Price $0.03 USDC. POST /api/v1/portfolio-analytics/allocation-xray. 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 portfolio-analytics https://www.brainiac.software/mcp/portfolio-analytics
Aggregate caller-supplied fund look-through holdings by asset class, sector, region and top underlying positions. Price $0.03 USDC. POST /api/v1/portfolio-analytics/allocation-xray. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| top | integer | |
| positions* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"positions"
],
"properties": {
"top": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"positions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"value"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"value": {
"type": "number"
},
"region": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"sector": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"assetClass": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"otherClass": {
"type": "object",
"properties": {
"region": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"sector": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"assetClass": {
"type": "string",
"maxLength": 64,
"minLength": 1
}
}
},
"lookThrough": {
"type": "array",
"items": {
"type": "object",
"required": [
"security",
"weight"
],
"properties": {
"region": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"sector": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"weight": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"security": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"assetClass": {
"type": "string",
"maxLength": 64,
"minLength": 1
}
}
},
"maxItems": 100000
},
"otherWeight": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"maxItems": 10000,
"minItems": 1
}
}
}Allocation, selection and interaction effects by segment for one or more periods, with optional Carino linking. Price $0.04 USDC. POST /api/v1/portfolio-analytics/brinson-attribution. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| linking | string | |
| periods* | array | |
| normalizeWeights | boolean | |
| allowNegativeWeights | boolean |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"periods"
],
"properties": {
"linking": {
"enum": [
"carino",
"none"
],
"type": "string",
"default": "carino"
},
"periods": {
"type": "array",
"items": {
"type": "object",
"required": [
"segments"
],
"properties": {
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"wp",
"wb",
"rp",
"rb"
],
"properties": {
"rb": {
"type": "number"
},
"rp": {
"type": "number"
},
"wb": {
"type": "number"
},
"wp": {
"type": "number"
},
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1
}
}
},
"maxItems": 200,
"minItems": 1
}
}
},
"maxItems": 600,
"minItems": 1
},
"normalizeWeights": {
"type": "boolean",
"default": true
},
"allowNegativeWeights": {
"type": "boolean",
"default": false
}
}
}Pearson and Spearman correlation, optional covariance, rolling windows and Ledoit-Wolf shrinkage covariance from caller series. Price $0.03 USDC. POST /api/v1/portfolio-analytics/correlation-matrix. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| series* | object | |
| methods | array | |
| missing | string | |
| rollingWindow | any |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"series"
],
"properties": {
"series": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"additionalProperties": {
"type": "array",
"items": {
"type": [
"number",
"null"
]
}
}
},
"methods": {
"type": "array",
"items": {
"enum": [
"pearson",
"spearman",
"ledoit_wolf",
"covariance"
],
"type": "string"
},
"default": [
"pearson",
"spearman",
"ledoit_wolf"
],
"minItems": 1
},
"missing": {
"enum": [
"pairwise",
"listwise"
],
"type": "string",
"default": "pairwise"
},
"rollingWindow": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 3
},
{
"type": "null"
}
]
}
}
}OLS of portfolio excess returns on caller-supplied factors with intercept, betas, alpha and optional Newey-West standard errors. Price $0.04 USDC. POST /api/v1/portfolio-analytics/factor-regression. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| factors* | object | |
| returns* | array | |
| riskFree | any | |
| neweyWestLags | integer | |
| periodsPerYear | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"returns",
"factors"
],
"properties": {
"factors": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"additionalProperties": {
"type": "array",
"items": {
"type": "number"
}
}
},
"returns": {
"type": "array",
"items": {
"type": "number",
"exclusiveMinimum": -1
},
"maxItems": 100000,
"minItems": 4
},
"riskFree": {
"anyOf": [
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "number"
}
}
],
"default": 0
},
"neweyWestLags": {
"type": "integer",
"default": 0,
"maximum": 100,
"minimum": 0
},
"periodsPerYear": {
"type": "number",
"default": 12,
"exclusiveMinimum": 0
}
}
}Compare terminal wealth with and without expense ratios, advisory fees and loads under multiplicative or subtractive fee methods. Price $0.02 USDC. POST /api/v1/portfolio-analytics/fee-drag-project. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| fees | array | |
| years* | integer | |
| initial* | number | |
| feeMethod | string | |
| frontLoad | number | |
| grossReturn* | number | |
| includeByYear | boolean | |
| annualContribution | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"initial",
"years",
"grossReturn"
],
"properties": {
"fees": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"rate"
],
"properties": {
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"rate": {
"type": "number",
"maximum": 0.2,
"minimum": 0
}
}
},
"default": [],
"maxItems": 20
},
"years": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"initial": {
"type": "number",
"exclusiveMinimum": 0
},
"feeMethod": {
"enum": [
"multiplicative",
"subtractive"
],
"type": "string",
"default": "multiplicative"
},
"frontLoad": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": 0
},
"grossReturn": {
"type": "number"
},
"includeByYear": {
"type": "boolean",
"default": false
},
"annualContribution": {
"type": "number",
"default": 0
}
}
}Minimum variance, target return, max Sharpe or target volatility portfolios from expected returns and a covariance matrix, with bounds. Price $0.05 USDC. POST /api/v1/portfolio-analytics/mean-variance-optimize. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| assets* | array | |
| bounds | object | |
| groups | array | |
| returns | array | |
| riskFree | number | |
| objective* | string | |
| shrinkage | string | |
| covariance | array | |
| targetReturn | number | |
| frontierPoints | integer | |
| expectedReturns |
Project a contribution/withdrawal plan with mulberry32 Monte Carlo paths and report success probability and terminal wealth percentiles. Price $0.05 USDC. POST /api/v1/portfolio-analytics/monte-carlo-goal. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| seed | integer | |
| paths | integer | |
| years* | integer | |
| timing | string | |
| inflation | number | |
| meanReturn* | number | |
| startValue* | number | |
| volatility* | number | |
| percentiles | array | |
| annualWithdrawal | number | |
Compute linked TWR, Modified Dietz and XIRR from valuations and external cash flows, with optional annualisation. Price $0.04 USDC. POST /api/v1/portfolio-analytics/performance-twr-mwr. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| flows | array | |
| annualize | boolean | |
| valuations* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"valuations"
],
"properties": {
"flows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"amount"
],
"properties": {
"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])))$"
},
"amount": {
"type": "number"
}
}
},
"default": [],
"maxItems": 100000
},
"annualize": {
"type": "boolean",
"default": false
},
"valuations": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"value"
],
"properties": {
"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])))$"
},
"value": {
"type": "number"
},
"beforeFlow": {
"type": "boolean"
}
}
},
"maxItems": 100000,
"minItems": 2
}
}
}Compute buys and sells that restore target weights with tolerance bands, a cash buffer, minimum trade size and whole-share rounding. Price $0.03 USDC. POST /api/v1/portfolio-analytics/rebalance-trades. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| band | object | |
| cash | number | |
| targets* | object | |
| holdings* | array | |
| cashBuffer | number | |
| fractional | boolean | |
| restricted | array | |
| minTradeValue | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"holdings",
"targets"
],
"properties": {
"band": {
"type": "object",
"default": {
"type": "absolute",
"value": 0
},
"required": [
"type",
"value"
],
"properties": {
"type": {
"enum": [
"absolute",
"relative"
],
"type": "string"
},
"value": {
"type": "number",
"maximum": 1,
"minimum": 0
}
}
},
"cash": {
"type": "number",
"default": 0,
"minimum": 0
},
"targets": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"additionalProperties": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"holdings": {
"type": "array",
"items": {
"type": "object",
"required": [
"symbol",
"quantity",
"price"
],
"properties": {
"price": {
"type": "number",
"exclusiveMinimum": 0
},
"symbol": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"quantity": {
"type": "number"
}
}
},
"maxItems": 10000,
"minItems": 1
},
"cashBuffer": {
"type": "number",
"default": 0,
"maximum": 0.5,
"minimum": 0
},
"fractional": {
"type": "boolean",
"default": false
},
"restricted": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"default": []
},
"minTradeValue": {
"type": "number",
"default": 0,
"minimum": 0
}
}
}Annualised volatility, Sharpe, Sortino, Calmar, max drawdown with peak/trough/recovery indices, skewness and excess kurtosis from a return series. Price $0.03 USDC. POST /api/v1/portfolio-analytics/risk-metrics. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| mar | number | null | |
| returns* | array | |
| periodsPerYear | number | |
| riskFreePerPeriod | any |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"returns"
],
"properties": {
"mar": {
"type": [
"number",
"null"
]
},
"returns": {
"type": "array",
"items": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": -1
},
{
"type": "object",
"required": [
"date",
"r"
],
"properties": {
"r": {
"type": "number",
"exclusiveMinimum": -1
},
"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": 100000,
"minItems": 3
},
"periodsPerYear": {
"type": "number",
"default": 12,
"exclusiveMinimum": 0
},
"riskFreePerPeriod": {
"anyOf": [
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "number"
}
}
],
"default": 0
}
}
}Spinu ERC (or caller risk-budget) weights and inverse-volatility weights with risk-contribution breakdown. Price $0.04 USDC. POST /api/v1/portfolio-analytics/risk-parity-weights. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| assets* | array | |
| method | string | |
| covariance* | array | |
| riskBudget | any |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"assets",
"covariance"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 500,
"minItems": 2
},
"method": {
"enum": [
"erc",
"inverse_volatility"
],
"type": "string",
"default": "erc"
},
"covariance": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"maxItems": 500,
"minItems": 2
},
"riskBudget": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number",
"exclusiveMinimum": 0
}
},
{
"type": "null"
}
]
}
}
}Apply caller-defined asset-class, factor and rate shocks to holdings and report P/L by holding and in total. Price $0.03 USDC. POST /api/v1/portfolio-analytics/stress-test. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| holdings* | array | |
| scenarios* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"holdings",
"scenarios"
],
"properties": {
"holdings": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"value"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"betas": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
"value": {
"type": "number"
},
"mapping": {
"type": "object",
"properties": {
"assetClass": {
"type": "string",
"maxLength": 64,
"minLength": 1
}
}
},
"duration": {
"type": "number"
},
"convexity": {
"type": "number"
}
}
},
"maxItems": 10000,
"minItems": 1
},
"scenarios": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"rateShockBp": {
"type": "number"
},
"factorShocks": {
"type": "object",
"default": {},
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
"assetClassShocks": {
"type": "object",
"default": {},
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
}
}
},
"maxItems": 100,
"minItems": 1
}
}
}Tracking error, information ratio, up/down capture, batting average and optional active share versus a benchmark. Price $0.03 USDC. POST /api/v1/portfolio-analytics/tracking-error-capture. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| holdings | object | |
| benchmark* | array | |
| portfolio* | array | |
| captureMethod | string | |
| periodsPerYear | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"portfolio",
"benchmark"
],
"properties": {
"holdings": {
"type": "object",
"required": [
"portfolio",
"benchmark"
],
"properties": {
"benchmark": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
"portfolio": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
}
}
},
"benchmark": {
"type": "array",
"items": {
"type": "number",
"exclusiveMinimum": -1
},
"maxItems": 100000,
"minItems": 2
},
"portfolio": {
"type": "array",
"items": {
"type": "number",
"exclusiveMinimum": -1
},
"maxItems": 100000,
"minItems": 2
},
"captureMethod": {
"enum": [
"arithmetic",
"geometric"
],
"type": "string",
"default": "arithmetic"
},
"periodsPerYear": {
"type": "number",
"default": 12,
"exclusiveMinimum": 0
}
}
}Historical, parametric normal and Monte Carlo VaR/ES at caller confidence levels from a return series. Price $0.04 USDC. POST /api/v1/portfolio-analytics/var-cvar. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| seed | integer | |
| methods | array | |
| returns* | array | |
| confidence* | array | |
| simulations | integer | |
| horizonPeriods | integer | |
| portfolioValue | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"returns",
"confidence"
],
"properties": {
"seed": {
"type": "integer",
"default": 42,
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"methods": {
"type": "array",
"items": {
"enum": [
"historical",
"parametric",
"monte_carlo"
],
"type": "string"
},
"default": [
"historical",
"parametric",
"monte_carlo"
],
"minItems": 1
},
"returns": {
"type": "array",
"items": {
"type": "number",
"exclusiveMinimum": -1
},
"maxItems": 100000,
"minItems": 10
},
"confidence": {
"type": "array",
"items": {
"type": "number",
"exclusiveMaximum": 0.9999,
"exclusiveMinimum": 0.5
},
"maxItems": 20,
"minItems": 1
},
"simulations": {
"type": "integer",
"default": 10000,
"maximum": 200000,
"minimum": 1000
},
"horizonPeriods": {
"type": "integer",
"default": 1,
"maximum": 9007199254740991,
"minimum": 1
},
"portfolioValue": {
"type": "number",
"exclusiveMinimum": 0
}
}
}Flag IRC §1091 wash sales in caller transactions with FIFO lots, disallowed losses and replacement basis adjustments per IRS Publication 550. Price $0.04 USDC. POST /api/v1/portfolio-analytics/wash-sale-detect. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| lotMethod | string | |
| transactions* | array | |
| identicalGroups | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"transactions"
],
"properties": {
"lotMethod": {
"enum": [
"fifo"
],
"type": "string",
"default": "fifo"
},
"transactions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"date",
"symbol",
"side",
"quantity",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"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])))$"
},
"side": {
"enum": [
"buy",
"sell"
],
"type": "string"
},
"amount": {
"type": "number",
"exclusiveMinimum": 0
},
"symbol": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"quantity": {
"type": "number",
"exclusiveMinimum": 0
}
}
},
"maxItems": 100000,
"minItems": 1
},
"identicalGroups": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"minItems": 2
},
"default": []
}
}
}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.
| array |
| targetVolatility | number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"assets",
"expectedReturns",
"objective"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 500,
"minItems": 2
},
"bounds": {
"type": "object",
"default": {
"max": 1,
"min": 0
},
"properties": {
"max": {
"type": "number",
"default": 1
},
"min": {
"type": "number",
"default": 0
}
}
},
"groups": {
"type": "array",
"items": {
"type": "object",
"required": [
"assets",
"min",
"max"
],
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"assets": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
}
},
"default": [],
"maxItems": 100
},
"returns": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
"riskFree": {
"type": "number",
"default": 0
},
"objective": {
"enum": [
"min_variance",
"target_return",
"max_sharpe",
"target_volatility"
],
"type": "string"
},
"shrinkage": {
"enum": [
"none",
"ledoit_wolf"
],
"type": "string",
"default": "none"
},
"covariance": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
"targetReturn": {
"type": "number"
},
"frontierPoints": {
"type": "integer",
"default": 0,
"maximum": 100,
"minimum": 0
},
"expectedReturns": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 500,
"minItems": 2
},
"targetVolatility": {
"type": "number",
"exclusiveMinimum": 0
}
}
}| annualContribution |
| number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"startValue",
"years",
"meanReturn",
"volatility"
],
"properties": {
"seed": {
"type": "integer",
"default": 42,
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"paths": {
"type": "integer",
"default": 2000,
"maximum": 100000,
"minimum": 100
},
"years": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"timing": {
"enum": [
"start",
"end"
],
"type": "string",
"default": "start"
},
"inflation": {
"type": "number",
"default": 0,
"minimum": 0
},
"meanReturn": {
"type": "number"
},
"startValue": {
"type": "number",
"exclusiveMinimum": 0
},
"volatility": {
"type": "number",
"minimum": 0
},
"percentiles": {
"type": "array",
"items": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"default": [
10,
50,
90
],
"maxItems": 21,
"minItems": 1
},
"annualWithdrawal": {
"type": "number",
"default": 0,
"minimum": 0
},
"annualContribution": {
"type": "number",
"default": 0
}
}
}