开发者
gra_disaster_risk_finance_trigger_backtest
NXS Risk Finance and Capital API
GET /v1/n/disaster-risk-finance/trigger-backtest EServed
Your own index and loss history read at many trigger thresholds, with a training and test split (disaster-risk-finance)
Niche resource of disaster-risk-finance: Your own index and loss history read at many trigger thresholds, with a training and test split. An open calculator on your own inputs; illustrative, method published in the answer. State: exists.
MCP tool: gra.disaster-risk-finance.trigger_backtest
参数
| 名称 | 在 | 类型 | 功能 |
|---|---|---|---|
observations required | query | string | Comma list of index:loss, in time order (6 to 2000) |
lossThreshold required | query | number | The loss at or above which a payout was wanted (required) |
direction optional | query | string (above, below) | above or below (default above) |
thresholds optional | query | string | Trigger thresholds, comma list (up to 40) |
steps optional | query | integer | Without thresholds: the number of quantile steps of the index (default 9) |
trainFraction optional | query | number | Share of the history, in order, used as the training part, 0.3 to 0.9 |
Responses
- 200 Records with provenance
- 304 Not modified (If-None-Match matched the strong ETag) (a problem, RFC 9457)
- 400 Bad request (a problem, RFC 9457)
- 429 Open-tier rate limit (a problem, RFC 9457)
- 500 Internal error (a problem, RFC 9457)