quant-risk
Portfolio risk metrics over an array of periodic returns: value-at-risk, conditional VaR, Sharpe, Sortino, max drawdown, Calmar, volatility, and more. Pure computation over your inputs.
Offering
- Provider
- payai.agentstools.dev
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Financial Analysis
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://payai.agentstools.dev/quant/risk- MIME type
- application/json
- First seen
- 2026-10-16T02:01:31.612Z
- Last seen
- Tags
- quant, Risk, var, cvar, sharpe
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "3000",
"payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
}
]Observed health
- Status
- Reachable
- Latest latency
- 368 ms
- Average latency
- 587 ms
- HTTP status
- 405
- Last checked
- Reachability
- 100% over 9 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"body": {
"metrics": [
"sharpe",
"var_historical",
"max_drawdown"
],
"returns": [
0.01,
-0.02,
0.03,
-0.01,
0.02
],
"confidence": 0.95,
"periods_per_year": 252
},
"type": "http",
"method": "POST",
"bodyType": "json"
}Output schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"required": [
"returns"
],
"properties": {
"metrics": {
"type": "array",
"items": {
"enum": [
"mean",
"std",
"volatility",
"var_historical",
"var_parametric",
"cvar",
"downside_deviation",
"sharpe",
"sortino",
"max_drawdown",
"calmar"
],
"type": "string"
},
"description": "Which metrics to compute; omit for all"
},
"returns": {
"type": "array",
"items": {
"type": "number"
},
"description": "Periodic returns as decimals, at most 10000 entries"
},
"risk_free": {
"type": "number",
"description": "Annual risk-free rate as a decimal, default 0"
},
"confidence": {
"type": "number",
"description": "Confidence for VaR and CVaR, default 0.95"
},
"periods_per_year": {
"type": "number",
"description": "Annualization factor, default 252"
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}