Scenario stress test on holdings
portfolio-analytics_stress-testApply 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"holdings": "<holdings>",
"scenarios": "<scenarios>"
},
"name": "portfolio-analytics_stress-test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holdings | Yes | holdings, array. Required. | |
| scenarios | Yes | scenarios, array. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | No | sources. Array. | |
| scenarios | No | scenarios. Array. | |
| limitations | No | limitations. Array. |