Return Stats
Performance stats from period returns: average, volatility, Sharpe, Sortino, compound growth and max drawdown.
GET https://invest-math.x402tookit.com/return-stats
0.02 USDC on Base · payTo 0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"periodsPerYear": 12,
"returnsPct": "2,-1,3,1.5,-2,4,0.5,-0.5,2.5,1,-1.5,3",
"riskFreePct": 2
}{
"annualisedMeanPct": 12.5,
"annualisedVolatilityPct": 6.78735,
"asOf": "2026-10-11T20:30:30.520Z",
"bestPeriodPct": 4,
"cagrPct": 13.0071,
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"maxDrawdownPct": 2,
"meanReturnPct": 1.04167,
"notChecked": [
"small samples: a Sharpe ratio from a dozen periods is very noisy",
"non-normal returns, fat tails and serial correlation, which the annualisation assumes away",
"…2 more"
],
"periods": 12,
"reasons": [
"Sharpe = (mean - risk-free) / sample standard deviation x sqrt(periods per year); Sortino uses downside deviation below the risk-free rate.",
"Only 12 periods: treat the ratios as rough."
],
"sharpe": 1.54699,
"sortino": 3.44721,
"source": "computed locally",
"summary": "12 periods: average 1.042%/period, volatility 6.79% a year, Sharpe 1.55, Sortino 3.45, CAGR 13.01%, max drawdown 2%.",
"totalReturnPct": 13.0071,
"verdict": "COMPUTED",
"volatilityPerPeriodPct": 1.95934,
"winRatePct": 66.67,
"worstPeriodPct": -2
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 65 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 667 ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
| Facilitator-reported (30d) | 3 calls · 2 payers (CDP Bazaar) |
How to call
GET https://invest-math.x402tookit.com/return-stats · input in query · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"returnsPct": {
"type": "string",
"description": "Period returns in percent, comma separated, at least 3"
},
"periodsPerYear": {
"type": "integer",
"description": "12 monthly (default), 52 weekly, 252 daily, 4 quarterly, 1 yearly"
},
"riskFreePct": {
"type": "number",
"description": "Annual risk-free rate in percent, default 0"
}
},
"required": [
"returnsPct"
]
}Output schema
{
"type": "object",
"properties": {
"verdict": {
"type": [
"null",
"string"
]
},
"summary": {
"type": [
"null",
"string"
]
},
"reasons": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"periods": {
"type": [
"null",
"number"
]
},
"meanReturnPct": {
"type": [
"null",
"number"
]
},
"volatilityPerPeriodPct": {
"type": [
"null",
"number"
]
},
"annualisedVolatilityPct": {
"type": [
"null",
"number"
]
},
"annualisedMeanPct": {
"type": [
"null",
"number"
]
},
"sharpe": {
"type": [
"null",
"number"
]
},
"sortino": {
"type": [
"null",
"number"
]
},
"totalReturnPct": {
"type": [
"null",
"number"
]
},
"cagrPct": {
"type": [
"null",
"number"
]
},
"maxDrawdownPct": {
"type": [
"null",
"number"
]
},
"bestPeriodPct": {
"type": [
"null",
"number"
]
},
"worstPeriodPct": {
"type": [
"null",
"number"
]
},
"winRatePct": {
"type": [
"null",
"number"
]
},
"degraded": {
"type": [
"boolean",
"null"
]
},
"notChecked": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"source": {
"type": [
"null",
"string"
]
},
"asOf": {
"type": [
"null",
"string"
]
},
"disclaimer": {
"type": [
"null",
"string"
]
}
}
}curl -i -X GET 'https://invest-math.x402tookit.com/return-stats?returnsPct=2%2C-1%2C3%2C1.5%2C-2%2C4%2C0.5%2C-0.5%2C2.5%2C1%2C-1.5%2C3&periodsPerYear=12&riskFreePct=2'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs