Apply caller-defined asset-class, factor and rate shocks to holdings and report ...
https://www.brainiac.software/api/v1/portfolio-analytics/stress-testOverview
Apply caller-defined asset-class, factor and rate shocks to holdings and report P/L by holding and in total. Docs: https://www.brainiac.software/api/portfolio-analytics/stress-test
Protocol
x402 (POST)
Price
$0.03
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
crypto/defi
Provider
Scenario Stress Test on Holdings
Source
bazaar
Indexed
2026-11-24 19:01:01
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"holdings": [
{
"betas": {
"equity": 1
},
"id": "VTI",
"mapping": {
"assetClass": "us_equity"
},
"value": 50000
},
{
"duration": 6.2,
"id": "BND",
"mapping": {
"assetClass": "bonds"
},
"value": 21600
}
],
"scenarios": [
{
"assetClassShocks": {
"us_equity": -0.2
},
"factorShocks": {},
"name": "equity -20%, rates +100bp",
"rateShockBp": 100
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Outputs are calculations on caller-supplied inputs for human review. No market data is fetched, and this is not investment or tax advice.",
"Asset-class shocks take priority over factor betas. Bonds with duration apply ΔP/P = −D·Δy + ½C·Δy². Options are not repriced."
],
"scenarios": [
{
"byHolding": [
{
"id": "VTI",
"pnl": -10000
},
{
"id": "BND",
"pnl": -1339.2
}
],
"name": "equity -20%, rates +100bp",
"pnl": -11339.2,
"pnlPct": -0.1583687150837989,
"unmapped": []
}
],
"sources": [
{
"retrievedAt": "2026-11-14",
"source": "Caller-supplied holdings, returns, valuations and transactions processed locally",
"status": "ok",
"url": "https://www.brainiac.software/api/v1/portfolio-analytics"
}
]
},
"type": "json"
}