Skip to content
The Consortium

Developers

gra_disaster_risk_finance_trigger_backtest

NXS Risk Finance and Capital API

Open. Reading is free and needs no key.

GET /v1/n/disaster-risk-finance/trigger-backtest EServed

All operations

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

Parameters

Parameters
NameInTypeWhat it does
observations requiredquerystringComma list of index:loss, in time order (6 to 2000)
lossThreshold requiredquerynumberThe loss at or above which a payout was wanted (required)
direction optionalquerystring (above, below)above or below (default above)
thresholds optionalquerystringTrigger thresholds, comma list (up to 40)
steps optionalqueryintegerWithout thresholds: the number of quantile steps of the index (default 9)
trainFraction optionalquerynumberShare 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)