Server definition
- Hash
- sha256:dfd4d674359a0f791184636e4b40cdf355aa80755f4a615b3123db0457495ee7
- What it is
- What a remote MCP server returned when asked what it offers: 29 tools
The blob, as servednamed by its sha256
{
"instructions": "Portfolio risk service. It computes VaR and Expected Shortfall under several tail models with backtests, signed linear exposure, option Greeks and revaluation, VaR and ES attribution, limits and what-if, liquidity, explicit, historical and reverse stress, SA-CCR, credit VaR and FRTB capital pieces, over data the caller supplies, or over a shipped synthetic example when no request is given. It fetches no market data, opens no broker connection, fits a model only to the values in the request, and places no order. Always report the degraded flag, the sign convention, the base currency and the horizon before any loss figure; a loss figure without them is unreadable. Loss is positive: a positive VaR or ES is a loss and a negative one is a gain, and neither is floored at zero. Amounts must already be translated into one stated base currency before they are sent. Never invent a position, a shock, an observation or a provenance field. Counterparty XVA is not available here; it needs a local ORE project directory. For supplied requests, require permission for hosted processing and output delivery and set rights_confirmed=true only after that confirmation. This does not verify a licence. Read https://riskdesk.avidquant.com/terms and https://riskdesk.avidquant.com/privacy.",
"tools": [
{
"description": "Backtest a VaR (and optional ES) series against realised P&L: Kupiec, Christoffersen, Basel zone and Acerbi-Szekely Z2. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"BacktestRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"confidence": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Confidence",
"type": "number"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"es_null": {
"anyOf": [
{
"enum": [
"normal",
"student-t"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Es Null"
},
"es_null_dof": {
"anyOf": [
{
"exclusiveMinimum": 1,
"maximum": 1000,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Es Null Dof"
},
"expected_shortfall": {
"anyOf": [
{
"items": {
"type": "number"
},
"maxItems": 10000,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Shortfall"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"pnl": {
"items": {
"type": "number"
},
"maxItems": 10000,
"minItems": 2,
"title": "Pnl",
"type": "array"
},
"seed": {
"default": 0,
"minimum": 0,
"title": "Seed",
"type": "integer"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"var": {
"items": {
"type": "number"
},
"maxItems": 10000,
"minItems": 2,
"title": "Var",
"type": "array"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"pnl",
"var",
"confidence",
"horizon_days"
],
"title": "BacktestRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/BacktestRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_backtestArguments",
"type": "object"
},
"name": "risk_backtest",
"outputSchema": {
"additionalProperties": true,
"title": "risk_backtestDictOutput",
"type": "object"
}
},
{
"description": "Sample, EWMA or Ledoit-Wolf covariance, volatility and correlation of a supplied return history. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"CovarianceRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assets": {
"items": {
"type": "string"
},
"maxItems": 1000,
"minItems": 1,
"title": "Assets",
"type": "array"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"decay": {
"anyOf": [
{
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Decay"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"method": {
"enum": [
"sample",
"ewma",
"ledoit_wolf"
],
"title": "Method",
"type": "string"
},
"returns": {
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"maxItems": 100000,
"minItems": 2,
"title": "Returns",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"assets",
"returns",
"horizon_days",
"method"
],
"title": "CovarianceRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/CovarianceRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_covarianceArguments",
"type": "object"
},
"name": "risk_covariance",
"outputSchema": {
"additionalProperties": true,
"title": "risk_covarianceDictOutput",
"type": "object"
}
},
{
"description": "Vasicek asymptotic single risk factor credit VaR, expected and unexpected loss. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"AsrfObligor": {
"additionalProperties": false,
"properties": {
"correlation": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Correlation",
"type": "number"
},
"exposure": {
"exclusiveMinimum": 0,
"title": "Exposure",
"type": "number"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"lgd": {
"maximum": 1,
"minimum": 0,
"title": "Lgd",
"type": "number"
},
"pd": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Pd",
"type": "number"
}
},
"required": [
"id",
"exposure",
"pd",
"lgd",
"correlation"
],
"title": "AsrfObligor",
"type": "object"
},
"AsrfRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"confidence": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Confidence",
"type": "number"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"obligors": {
"items": {
"$ref": "#/$defs/AsrfObligor"
},
"maxItems": 1000000,
"minItems": 1,
"title": "Obligors",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"confidence",
"horizon_days",
"obligors"
],
"title": "AsrfRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/AsrfRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_credit_asrfArguments",
"type": "object"
},
"name": "risk_credit_asrf",
"outputSchema": {
"additionalProperties": true,
"title": "risk_credit_asrfDictOutput",
"type": "object"
}
},
{
"description": "Seeded one-factor Gaussian copula Monte Carlo credit VaR and ES for a finite portfolio. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"CopulaObligor": {
"additionalProperties": false,
"properties": {
"exposure": {
"exclusiveMinimum": 0,
"title": "Exposure",
"type": "number"
},
"factor_loading": {
"exclusiveMaximum": 1,
"exclusiveMinimum": -1,
"title": "Factor Loading",
"type": "number"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"lgd": {
"maximum": 1,
"minimum": 0,
"title": "Lgd",
"type": "number"
},
"pd": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Pd",
"type": "number"
}
},
"required": [
"id",
"exposure",
"pd",
"lgd",
"factor_loading"
],
"title": "CopulaObligor",
"type": "object"
},
"CopulaRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"confidence": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Confidence",
"type": "number"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"obligors": {
"items": {
"$ref": "#/$defs/CopulaObligor"
},
"maxItems": 100000,
"minItems": 1,
"title": "Obligors",
"type": "array"
},
"scenarios": {
"maximum": 1000000,
"minimum": 1000,
"title": "Scenarios",
"type": "integer"
},
"seed": {
"minimum": 0,
"title": "Seed",
"type": "integer"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"confidence",
"horizon_days",
"obligors",
"scenarios",
"seed"
],
"title": "CopulaRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/CopulaRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_credit_copulaArguments",
"type": "object"
},
"name": "risk_credit_copula",
"outputSchema": {
"additionalProperties": true,
"title": "risk_credit_copulaDictOutput",
"type": "object"
}
},
{
"description": "Cash delta, gamma, vega, theta and rho of a book of linear positions and European options. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"BookPosition": {
"additionalProperties": false,
"properties": {
"carry_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Carry Yield"
},
"expiry": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"implied_vol": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Implied Vol"
},
"instrument_type": {
"enum": [
"linear",
"option"
],
"title": "Instrument Type",
"type": "string"
},
"kind": {
"anyOf": [
{
"enum": [
"call",
"put"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Kind"
},
"multiplier": {
"exclusiveMinimum": 0,
"title": "Multiplier",
"type": "number"
},
"quantity": {
"title": "Quantity",
"type": "number"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"strike": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Strike"
},
"underlying": {
"minLength": 1,
"title": "Underlying",
"type": "string"
},
"year_fraction": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Year Fraction"
}
},
"required": [
"id",
"underlying",
"instrument_type",
"quantity",
"multiplier"
],
"title": "BookPosition",
"type": "object"
},
"DerivativesBookRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"positions": {
"items": {
"$ref": "#/$defs/BookPosition"
},
"maxItems": 10000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"underlyings": {
"additionalProperties": {
"$ref": "#/$defs/Underlying"
},
"minProperties": 1,
"title": "Underlyings",
"type": "object"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"underlyings",
"positions"
],
"title": "DerivativesBookRequest",
"type": "object"
},
"Underlying": {
"additionalProperties": false,
"properties": {
"price": {
"exclusiveMinimum": 0,
"title": "Price",
"type": "number"
},
"price_type": {
"enum": [
"spot",
"future"
],
"title": "Price Type",
"type": "string"
}
},
"required": [
"price",
"price_type"
],
"title": "Underlying",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/DerivativesBookRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_derivatives_greeksArguments",
"type": "object"
},
"name": "risk_derivatives_greeks",
"outputSchema": {
"additionalProperties": true,
"title": "risk_derivatives_greeksDictOutput",
"type": "object"
}
},
{
"description": "Full revaluation of an options book over a spot and vol shock grid, against delta-gamma-vega. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"BookPosition": {
"additionalProperties": false,
"properties": {
"carry_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Carry Yield"
},
"expiry": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"implied_vol": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Implied Vol"
},
"instrument_type": {
"enum": [
"linear",
"option"
],
"title": "Instrument Type",
"type": "string"
},
"kind": {
"anyOf": [
{
"enum": [
"call",
"put"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Kind"
},
"multiplier": {
"exclusiveMinimum": 0,
"title": "Multiplier",
"type": "number"
},
"quantity": {
"title": "Quantity",
"type": "number"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"strike": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Strike"
},
"underlying": {
"minLength": 1,
"title": "Underlying",
"type": "string"
},
"year_fraction": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Year Fraction"
}
},
"required": [
"id",
"underlying",
"instrument_type",
"quantity",
"multiplier"
],
"title": "BookPosition",
"type": "object"
},
"ScenarioGridRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"positions": {
"items": {
"$ref": "#/$defs/BookPosition"
},
"maxItems": 10000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"spot_shocks": {
"items": {
"type": "number"
},
"maxItems": 101,
"minItems": 1,
"title": "Spot Shocks",
"type": "array"
},
"underlyings": {
"additionalProperties": {
"$ref": "#/$defs/Underlying"
},
"minProperties": 1,
"title": "Underlyings",
"type": "object"
},
"vol_shocks": {
"items": {
"type": "number"
},
"maxItems": 101,
"minItems": 1,
"title": "Vol Shocks",
"type": "array"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"underlyings",
"positions",
"spot_shocks",
"vol_shocks"
],
"title": "ScenarioGridRequest",
"type": "object"
},
"Underlying": {
"additionalProperties": false,
"properties": {
"price": {
"exclusiveMinimum": 0,
"title": "Price",
"type": "number"
},
"price_type": {
"enum": [
"spot",
"future"
],
"title": "Price Type",
"type": "string"
}
},
"required": [
"price",
"price_type"
],
"title": "Underlying",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/ScenarioGridRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_derivatives_gridArguments",
"type": "object"
},
"name": "risk_derivatives_grid",
"outputSchema": {
"additionalProperties": true,
"title": "risk_derivatives_gridDictOutput",
"type": "object"
}
},
{
"description": "Historical full-revaluation P&L, VaR and ES of an options book under supplied spot and vol moves. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"BookPosition": {
"additionalProperties": false,
"properties": {
"carry_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Carry Yield"
},
"expiry": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"implied_vol": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Implied Vol"
},
"instrument_type": {
"enum": [
"linear",
"option"
],
"title": "Instrument Type",
"type": "string"
},
"kind": {
"anyOf": [
{
"enum": [
"call",
"put"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Kind"
},
"multiplier": {
"exclusiveMinimum": 0,
"title": "Multiplier",
"type": "number"
},
"quantity": {
"title": "Quantity",
"type": "number"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"strike": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Strike"
},
"underlying": {
"minLength": 1,
"title": "Underlying",
"type": "string"
},
"year_fraction": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Year Fraction"
}
},
"required": [
"id",
"underlying",
"instrument_type",
"quantity",
"multiplier"
],
"title": "BookPosition",
"type": "object"
},
"HistoricalPnlRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"confidence": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Confidence",
"type": "number"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"portfolio_value": {
"exclusiveMinimum": 0,
"title": "Portfolio Value",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/BookPosition"
},
"maxItems": 10000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"scenarios": {
"items": {
"$ref": "#/$defs/HistoricalScenario"
},
"maxItems": 100000,
"minItems": 2,
"title": "Scenarios",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"time_mode": {
"enum": [
"fixed",
"decay"
],
"title": "Time Mode",
"type": "string"
},
"underlyings": {
"additionalProperties": {
"$ref": "#/$defs/Underlying"
},
"minProperties": 1,
"title": "Underlyings",
"type": "object"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"underlyings",
"positions",
"scenarios",
"horizon_days",
"time_mode",
"confidence",
"portfolio_value"
],
"title": "HistoricalPnlRequest",
"type": "object"
},
"HistoricalScenario": {
"additionalProperties": false,
"properties": {
"spot_returns": {
"additionalProperties": {
"type": "number"
},
"minProperties": 1,
"title": "Spot Returns",
"type": "object"
},
"vol_changes": {
"anyOf": [
{
"additionalProperties": {
"type": "number"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Vol Changes"
}
},
"required": [
"spot_returns"
],
"title": "HistoricalScenario",
"type": "object"
},
"Underlying": {
"additionalProperties": false,
"properties": {
"price": {
"exclusiveMinimum": 0,
"title": "Price",
"type": "number"
},
"price_type": {
"enum": [
"spot",
"future"
],
"title": "Price Type",
"type": "string"
}
},
"required": [
"price",
"price_type"
],
"title": "Underlying",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/HistoricalPnlRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_derivatives_historicalArguments",
"type": "object"
},
"name": "risk_derivatives_historical",
"outputSchema": {
"additionalProperties": true,
"title": "risk_derivatives_historicalDictOutput",
"type": "object"
}
},
{
"description": "Check the Risk Desk data mode, the public example, the size limits and the sign convention before requesting any figure. No market data feed, no broker connection and no hosted XVA exist.",
"inputSchema": {
"properties": {},
"title": "risk_desk_statusArguments",
"type": "object"
},
"name": "risk_desk_status",
"outputSchema": {
"additionalProperties": true,
"title": "risk_desk_statusDictOutput",
"type": "object"
}
},
{
"description": "Historical-simulation ES with Euler contributions per position. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"HistoricalRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assets": {
"items": {
"type": "string"
},
"maxItems": 1000,
"minItems": 1,
"title": "Assets",
"type": "array"
},
"confidence": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Confidence",
"type": "number"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"returns": {
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"maxItems": 100000,
"minItems": 2,
"title": "Returns",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"assets",
"returns",
"horizon_days",
"nav",
"positions",
"confidence"
],
"title": "HistoricalRequest",
"type": "object"
},
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/HistoricalRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_es_attributionArguments",
"type": "object"
},
"name": "risk_es_attribution",
"outputSchema": {
"additionalProperties": true,
"title": "risk_es_attributionDictOutput",
"type": "object"
}
},
{
"description": "Gross and net exposure, leverage against NAV and concentration for signed linear positions in one stated base currency. Omit the request to run the public synthetic energy example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"PortfolioRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"nav",
"positions"
],
"title": "PortfolioRequest",
"type": "object"
},
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/PortfolioRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_exposureArguments",
"type": "object"
},
"name": "risk_exposure",
"outputSchema": {
"additionalProperties": true,
"title": "risk_exposureDictOutput",
"type": "object"
}
},
{
"description": "Peak PFE, EPE, Effective EE and Effective EPE from a supplied simulated exposure profile. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"ExposureProfileRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed",
"upstream-example"
],
"title": "Data Mode",
"type": "string"
},
"rows": {
"items": {
"$ref": "#/$defs/ExposureRow"
},
"maxItems": 100000,
"minItems": 2,
"title": "Rows",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"rows"
],
"title": "ExposureProfileRequest",
"type": "object"
},
"ExposureRow": {
"additionalProperties": false,
"description": "One row of ORE's netting-set exposure report; field names are ORE's column names.",
"properties": {
"BaselEE": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Baselee"
},
"BaselEEE": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Baseleee"
},
"Date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
},
"ENE": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Ene"
},
"EPE": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Epe"
},
"ExpectedCollateral": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Expectedcollateral"
},
"NettingSet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Nettingset"
},
"PFE": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Pfe"
},
"Time": {
"maximum": 200,
"minimum": 0,
"title": "Time",
"type": "number"
},
"TimeWeightedBaselEEPE": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Timeweightedbaseleepe"
},
"TimeWeightedBaselEPE": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Timeweightedbaselepe"
}
},
"required": [
"Time"
],
"title": "ExposureRow",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/ExposureProfileRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_exposure_profileArguments",
"type": "object"
},
"name": "risk_exposure_profile",
"outputSchema": {
"additionalProperties": true,
"title": "risk_exposure_profileDictOutput",
"type": "object"
}
},
{
"description": "Factor betas and the split of portfolio variance into systematic and idiosyncratic parts. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"FactorRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assets": {
"items": {
"type": "string"
},
"maxItems": 1000,
"minItems": 1,
"title": "Assets",
"type": "array"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"factor_returns": {
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"maxItems": 100000,
"minItems": 2,
"title": "Factor Returns",
"type": "array"
},
"factors": {
"items": {
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"title": "Factors",
"type": "array"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"returns": {
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"maxItems": 100000,
"minItems": 2,
"title": "Returns",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"assets",
"returns",
"horizon_days",
"nav",
"positions",
"factors",
"factor_returns"
],
"title": "FactorRequest",
"type": "object"
},
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/FactorRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_factor_exposureArguments",
"type": "object"
},
"name": "risk_factor_exposure",
"outputSchema": {
"additionalProperties": true,
"title": "risk_factor_exposureDictOutput",
"type": "object"
}
},
{
"description": "FRTB VaR backtesting exception counts at 97.5% and 99%, desk verdict or bank zone (MAR32). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"BacktestRequest": {
"additionalProperties": false,
"properties": {
"apl": {
"items": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"maxItems": 250,
"minItems": 250,
"title": "Apl",
"type": "array"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"hpl": {
"items": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"maxItems": 250,
"minItems": 250,
"title": "Hpl",
"type": "array"
},
"level": {
"enum": [
"desk",
"bank"
],
"title": "Level",
"type": "string"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"var_975": {
"anyOf": [
{
"items": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"maxItems": 250,
"minItems": 250,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Var 975"
},
"var_99": {
"items": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"maxItems": 250,
"minItems": 250,
"title": "Var 99",
"type": "array"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"level",
"apl",
"hpl",
"var_99"
],
"title": "BacktestRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/BacktestRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_frtb_backtestArguments",
"type": "object"
},
"name": "risk_frtb_backtest",
"outputSchema": {
"additionalProperties": true,
"title": "risk_frtb_backtestDictOutput",
"type": "object"
}
},
{
"description": "FRTB IMA aggregate capital, multiplier, amber-desk surcharge and RWA (MAR33, MAR32.9). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"DeskStandardised": {
"additionalProperties": false,
"properties": {
"desk": {
"minLength": 1,
"title": "Desk",
"type": "string"
},
"pla_zone": {
"enum": [
"green",
"amber"
],
"title": "Pla Zone",
"type": "string"
},
"sa": {
"minimum": 0,
"title": "Sa",
"type": "number"
}
},
"required": [
"desk",
"pla_zone",
"sa"
],
"title": "DeskStandardised",
"type": "object"
},
"ImaCapitalRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"bankwide_backtesting_exceptions": {
"maximum": 250,
"minimum": 0,
"title": "Bankwide Backtesting Exceptions",
"type": "integer"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"desks": {
"items": {
"$ref": "#/$defs/DeskStandardised"
},
"maxItems": 10000,
"minItems": 1,
"title": "Desks",
"type": "array"
},
"drc_average_12w": {
"minimum": 0,
"title": "Drc Average 12W",
"type": "number"
},
"drc_latest": {
"minimum": 0,
"title": "Drc Latest",
"type": "number"
},
"imcc_average_60d": {
"minimum": 0,
"title": "Imcc Average 60D",
"type": "number"
},
"imcc_latest": {
"minimum": 0,
"title": "Imcc Latest",
"type": "number"
},
"qualitative_addon": {
"minimum": 0,
"title": "Qualitative Addon",
"type": "number"
},
"sa_all_desks": {
"minimum": 0,
"title": "Sa All Desks",
"type": "number"
},
"sa_green_amber": {
"minimum": 0,
"title": "Sa Green Amber",
"type": "number"
},
"sa_out_of_scope": {
"minimum": 0,
"title": "Sa Out Of Scope",
"type": "number"
},
"ses_average_60d": {
"minimum": 0,
"title": "Ses Average 60D",
"type": "number"
},
"ses_latest": {
"minimum": 0,
"title": "Ses Latest",
"type": "number"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"imcc_latest",
"ses_latest",
"imcc_average_60d",
"ses_average_60d",
"bankwide_backtesting_exceptions",
"qualitative_addon",
"drc_latest",
"drc_average_12w",
"desks",
"sa_green_amber",
"sa_out_of_scope",
"sa_all_desks"
],
"title": "ImaCapitalRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/ImaCapitalRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_frtb_ima_capitalArguments",
"type": "object"
},
"name": "risk_frtb_ima_capital",
"outputSchema": {
"additionalProperties": true,
"title": "risk_frtb_ima_capitalDictOutput",
"type": "object"
}
},
{
"description": "FRTB liquidity-adjusted, stress-scaled ES and IMCC from supplied ES figures (MAR33). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"EsSet": {
"additionalProperties": false,
"description": "Each cascade is ES_T(P, j) for j = 1..5 at the 10-day base horizon;\nelement 0 is ES_T(P) over all risk factors (MAR33.4).",
"properties": {
"full_current": {
"items": {
"minimum": 0,
"type": "number"
},
"maxItems": 5,
"minItems": 5,
"title": "Full Current",
"type": "array"
},
"reduced_current": {
"items": {
"minimum": 0,
"type": "number"
},
"maxItems": 5,
"minItems": 5,
"title": "Reduced Current",
"type": "array"
},
"reduced_stressed": {
"items": {
"minimum": 0,
"type": "number"
},
"maxItems": 5,
"minItems": 5,
"title": "Reduced Stressed",
"type": "array"
}
},
"required": [
"reduced_stressed",
"full_current",
"reduced_current"
],
"title": "EsSet",
"type": "object"
},
"ImccRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"base_horizon_days": {
"const": 10,
"title": "Base Horizon Days",
"type": "integer"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"portfolio": {
"$ref": "#/$defs/EsSet"
},
"risk_classes": {
"additionalProperties": {
"$ref": "#/$defs/EsSet"
},
"minProperties": 1,
"propertyNames": {
"enum": [
"interest_rate",
"equity",
"fx",
"commodity",
"credit_spread"
]
},
"title": "Risk Classes",
"type": "object"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"base_horizon_days",
"portfolio",
"risk_classes"
],
"title": "ImccRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/ImccRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_frtb_imccArguments",
"type": "object"
},
"name": "risk_frtb_imcc",
"outputSchema": {
"additionalProperties": true,
"title": "risk_frtb_imccDictOutput",
"type": "object"
}
},
{
"description": "FRTB P&L attribution test: Spearman and Kolmogorov-Smirnov metrics and the desk zone (MAR32). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"PlaRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"desk": {
"minLength": 1,
"title": "Desk",
"type": "string"
},
"hpl": {
"items": {
"type": "number"
},
"maxItems": 250,
"minItems": 250,
"title": "Hpl",
"type": "array"
},
"rtpl": {
"items": {
"type": "number"
},
"maxItems": 250,
"minItems": 250,
"title": "Rtpl",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"desk",
"rtpl",
"hpl"
],
"title": "PlaRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/PlaRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_frtb_plaArguments",
"type": "object"
},
"name": "risk_frtb_pla",
"outputSchema": {
"additionalProperties": true,
"title": "risk_frtb_plaDictOutput",
"type": "object"
}
},
{
"description": "FRTB standardised sensitivities-based FX delta and vega capital (MAR21). Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"FxDelta": {
"additionalProperties": false,
"properties": {
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"sensitivity": {
"title": "Sensitivity",
"type": "number"
}
},
"required": [
"currency",
"sensitivity"
],
"title": "FxDelta",
"type": "object"
},
"FxSbmRequest": {
"additionalProperties": false,
"description": "`currency` is the reporting currency; each bucket is one currency against it (MAR21.86).",
"properties": {
"apply_specified_pair_reduction": {
"title": "Apply Specified Pair Reduction",
"type": "boolean"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"delta": {
"items": {
"$ref": "#/$defs/FxDelta"
},
"maxItems": 100000,
"title": "Delta",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"vega": {
"items": {
"$ref": "#/$defs/FxVega"
},
"maxItems": 100000,
"title": "Vega",
"type": "array"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"apply_specified_pair_reduction",
"delta",
"vega"
],
"title": "FxSbmRequest",
"type": "object"
},
"FxVega": {
"additionalProperties": false,
"properties": {
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"option_maturity_years": {
"title": "Option Maturity Years",
"type": "number"
},
"sensitivity": {
"title": "Sensitivity",
"type": "number"
}
},
"required": [
"currency",
"option_maturity_years",
"sensitivity"
],
"title": "FxVega",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/FxSbmRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_frtb_sbm_fxArguments",
"type": "object"
},
"name": "risk_frtb_sbm_fx",
"outputSchema": {
"additionalProperties": true,
"title": "risk_frtb_sbm_fxDictOutput",
"type": "object"
}
},
{
"description": "Grade a limit set against exposure, tail and stress results already returned by Risk Desk. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"Limit": {
"additionalProperties": false,
"properties": {
"asset": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Asset"
},
"direction": {
"enum": [
"max",
"min"
],
"title": "Direction",
"type": "string"
},
"limit": {
"title": "Limit",
"type": "number"
},
"metric": {
"enum": [
"gross_exposure",
"net_exposure",
"gross_leverage",
"net_leverage",
"gross_share",
"var",
"expected_shortfall",
"stress_loss"
],
"title": "Metric",
"type": "string"
},
"name": {
"minLength": 1,
"title": "Name",
"type": "string"
},
"scenario": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Scenario"
},
"warning": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Warning"
}
},
"required": [
"name",
"metric",
"direction",
"limit"
],
"title": "Limit",
"type": "object"
},
"LimitRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"limits": {
"items": {
"$ref": "#/$defs/Limit"
},
"maxItems": 1000,
"minItems": 1,
"title": "Limits",
"type": "array"
},
"results": {
"additionalProperties": {
"additionalProperties": true,
"type": "object"
},
"minProperties": 1,
"propertyNames": {
"enum": [
"exposure",
"tail",
"stress"
]
},
"title": "Results",
"type": "object"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"limits",
"results"
],
"title": "LimitRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/LimitRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_limitsArguments",
"type": "object"
},
"name": "risk_limits",
"outputSchema": {
"additionalProperties": true,
"title": "risk_limitsDictOutput",
"type": "object"
}
},
{
"description": "Days to liquidate, holdings by day, spread cost and liquidity-adjusted VaR. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"AssetLiquidity": {
"additionalProperties": false,
"properties": {
"average_daily_value": {
"exclusiveMinimum": 0,
"title": "Average Daily Value",
"type": "number"
},
"mean_relative_spread": {
"minimum": 0,
"title": "Mean Relative Spread",
"type": "number"
},
"spread_volatility": {
"minimum": 0,
"title": "Spread Volatility",
"type": "number"
}
},
"required": [
"average_daily_value",
"mean_relative_spread",
"spread_volatility"
],
"title": "AssetLiquidity",
"type": "object"
},
"LiquidityRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"confidence": {
"anyOf": [
{
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Confidence"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"horizon_days": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 3650,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Horizon Days"
},
"liquidity": {
"additionalProperties": {
"$ref": "#/$defs/AssetLiquidity"
},
"title": "Liquidity",
"type": "object"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"participation_rate": {
"exclusiveMinimum": 0,
"maximum": 1,
"title": "Participation Rate",
"type": "number"
},
"pnl": {
"anyOf": [
{
"items": {
"type": "number"
},
"maxItems": 1000000,
"minItems": 2,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Pnl"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"spread_multiplier": {
"minimum": 0,
"title": "Spread Multiplier",
"type": "number"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"nav",
"positions",
"participation_rate",
"spread_multiplier",
"liquidity"
],
"title": "LiquidityRequest",
"type": "object"
},
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/LiquidityRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_liquidityArguments",
"type": "object"
},
"name": "risk_liquidity",
"outputSchema": {
"additionalProperties": true,
"title": "risk_liquidityDictOutput",
"type": "object"
}
},
{
"description": "The most plausible shock under a supplied covariance that produces a target loss. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
},
"ReverseStressRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assets": {
"items": {
"type": "string"
},
"minItems": 1,
"title": "Assets",
"type": "array"
},
"covariance": {
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"title": "Covariance",
"type": "array"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"floors": {
"additionalProperties": {
"type": "number"
},
"default": {},
"title": "Floors",
"type": "object"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"target_loss": {
"exclusiveMinimum": 0,
"title": "Target Loss",
"type": "number"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"nav",
"positions",
"target_loss",
"horizon_days",
"assets",
"covariance"
],
"title": "ReverseStressRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/ReverseStressRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_reverse_stressArguments",
"type": "object"
},
"name": "risk_reverse_stress",
"outputSchema": {
"additionalProperties": true,
"title": "risk_reverse_stressDictOutput",
"type": "object"
}
},
{
"description": "Basel SA-CCR exposure at default for one netting set (CRE52), with every intermediate figure. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"SaccrRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"collateral": {
"default": 0,
"title": "Collateral",
"type": "number"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"margined": {
"default": false,
"title": "Margined",
"type": "boolean"
},
"minimum_transfer_amount": {
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Minimum Transfer Amount"
},
"mpor_business_days": {
"anyOf": [
{
"maximum": 250,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Mpor Business Days"
},
"netting_set": {
"minLength": 1,
"title": "Netting Set",
"type": "string"
},
"nica": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Nica"
},
"remargining_period_business_days": {
"anyOf": [
{
"maximum": 250,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remargining Period Business Days"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"threshold": {
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Threshold"
},
"trades": {
"items": {
"$ref": "#/$defs/SaccrTrade"
},
"maxItems": 100000,
"minItems": 1,
"title": "Trades",
"type": "array"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"netting_set",
"trades"
],
"title": "SaccrRequest",
"type": "object"
},
"SaccrTrade": {
"additionalProperties": false,
"properties": {
"asset_class": {
"enum": [
"interest_rate",
"fx",
"credit",
"equity",
"commodity"
],
"title": "Asset Class",
"type": "string"
},
"electricity": {
"default": false,
"title": "Electricity",
"type": "boolean"
},
"end": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
},
"exercise": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Exercise"
},
"hedging_set": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Hedging Set"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"index": {
"default": false,
"title": "Index",
"type": "boolean"
},
"market_value": {
"title": "Market Value",
"type": "number"
},
"maturity": {
"exclusiveMinimum": 0,
"maximum": 100,
"title": "Maturity",
"type": "number"
},
"notional": {
"exclusiveMinimum": 0,
"title": "Notional",
"type": "number"
},
"option": {
"anyOf": [
{
"enum": [
"call",
"put"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Option"
},
"position": {
"enum": [
"long",
"short"
],
"title": "Position",
"type": "string"
},
"rating": {
"anyOf": [
{
"enum": [
"AAA",
"AA",
"A",
"BBB",
"BB",
"B",
"CCC",
"IG",
"SG"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Rating"
},
"reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Reference"
},
"shift": {
"default": 0,
"minimum": 0,
"title": "Shift",
"type": "number"
},
"start": {
"anyOf": [
{
"maximum": 100,
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"strike": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Strike"
},
"underlying_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Underlying Price"
}
},
"required": [
"id",
"asset_class",
"notional",
"market_value",
"maturity",
"position"
],
"title": "SaccrTrade",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/SaccrRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_saccrArguments",
"type": "object"
},
"name": "risk_saccr",
"outputSchema": {
"additionalProperties": true,
"title": "risk_saccrDictOutput",
"type": "object"
}
},
{
"description": "The dated historical windows Risk Desk knows, with sources. Dates only; no prices are shipped. Replay one with risk_stress_replay and your own price levels.",
"inputSchema": {
"properties": {},
"title": "risk_scenario_libraryArguments",
"type": "object"
},
"name": "risk_scenario_library",
"outputSchema": {
"additionalProperties": true,
"title": "risk_scenario_libraryDictOutput",
"type": "object"
}
},
{
"description": "Scale a scenario so the book loses a target amount. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
},
"ScaleRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"scenario": {
"$ref": "#/$defs/Scenario"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"target_loss": {
"exclusiveMinimum": 0,
"title": "Target Loss",
"type": "number"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"nav",
"positions",
"scenario",
"target_loss"
],
"title": "ScaleRequest",
"type": "object"
},
"Scenario": {
"additionalProperties": false,
"properties": {
"name": {
"minLength": 1,
"title": "Name",
"type": "string"
},
"shocks": {
"additionalProperties": {
"type": "number"
},
"minProperties": 1,
"title": "Shocks",
"type": "object"
}
},
"required": [
"name",
"shocks"
],
"title": "Scenario",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/ScaleRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_scenario_scaleArguments",
"type": "object"
},
"name": "risk_scenario_scale",
"outputSchema": {
"additionalProperties": true,
"title": "risk_scenario_scaleDictOutput",
"type": "object"
}
},
{
"description": "Apply explicit asset shocks to all linear positions. No scenario probability is inferred or attached. Omit the request to run the public synthetic energy example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
},
"Scenario": {
"additionalProperties": false,
"properties": {
"name": {
"minLength": 1,
"title": "Name",
"type": "string"
},
"shocks": {
"additionalProperties": {
"type": "number"
},
"minProperties": 1,
"title": "Shocks",
"type": "object"
}
},
"required": [
"name",
"shocks"
],
"title": "Scenario",
"type": "object"
},
"StressRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"scenarios": {
"items": {
"$ref": "#/$defs/Scenario"
},
"maxItems": 1000,
"minItems": 1,
"title": "Scenarios",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"nav",
"positions",
"scenarios"
],
"title": "StressRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/StressRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_stressArguments",
"type": "object"
},
"name": "risk_stress",
"outputSchema": {
"additionalProperties": true,
"title": "risk_stressDictOutput",
"type": "object"
}
},
{
"description": "Replay a dated historical window from the caller's own price levels on linear positions. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
},
"ReplayRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"end": {
"format": "date",
"title": "End",
"type": "string"
},
"measure": {
"default": "end_over_start",
"enum": [
"end_over_start",
"worst_peak_to_trough"
],
"title": "Measure",
"type": "string"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"prices": {
"additionalProperties": {
"additionalProperties": {
"exclusiveMinimum": 0,
"type": "number"
},
"propertyNames": {
"format": "date"
},
"type": "object"
},
"minProperties": 1,
"title": "Prices",
"type": "object"
},
"proxies": {
"additionalProperties": {
"type": "string"
},
"default": {},
"title": "Proxies",
"type": "object"
},
"scenario_name": {
"minLength": 1,
"title": "Scenario Name",
"type": "string"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"start": {
"format": "date",
"title": "Start",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"nav",
"positions",
"scenario_name",
"prices",
"start",
"end"
],
"title": "ReplayRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/ReplayRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_stress_replayArguments",
"type": "object"
},
"name": "risk_stress_replay",
"outputSchema": {
"additionalProperties": true,
"title": "risk_stress_replayDictOutput",
"type": "object"
}
},
{
"description": "Historical VaR and Expected Shortfall over supplied horizon P&L. Report degraded status and the loss sign convention before the numbers. Omit the request to run the public synthetic energy example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"TailRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"confidence": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Confidence",
"type": "number"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"pnl": {
"items": {
"type": "number"
},
"maxItems": 1000000,
"minItems": 2,
"title": "Pnl",
"type": "array"
},
"portfolio_value": {
"exclusiveMinimum": 0,
"title": "Portfolio Value",
"type": "number"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"pnl",
"confidence",
"horizon_days",
"portfolio_value"
],
"title": "TailRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/TailRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_tailArguments",
"type": "object"
},
"name": "risk_tail",
"outputSchema": {
"additionalProperties": true,
"title": "risk_tailDictOutput",
"type": "object"
}
},
{
"description": "VaR and ES side by side: historical, normal, Student-t, EVT, GARCH filtered historical, GARCH-EVT and GARCH-t. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"TailRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"confidence": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"title": "Confidence",
"type": "number"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"pnl": {
"items": {
"type": "number"
},
"maxItems": 1000000,
"minItems": 2,
"title": "Pnl",
"type": "array"
},
"portfolio_value": {
"exclusiveMinimum": 0,
"title": "Portfolio Value",
"type": "number"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"pnl",
"confidence",
"horizon_days",
"portfolio_value"
],
"title": "TailRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/TailRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_tail_modelsArguments",
"type": "object"
},
"name": "risk_tail_models",
"outputSchema": {
"additionalProperties": true,
"title": "risk_tail_modelsDictOutput",
"type": "object"
}
},
{
"description": "Parametric normal VaR and ES with Euler contributions and incremental VaR per position. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"ParametricRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assets": {
"items": {
"type": "string"
},
"maxItems": 1000,
"minItems": 1,
"title": "Assets",
"type": "array"
},
"confidence": {
"exclusiveMaximum": 1,
"exclusiveMinimum": 0.5,
"title": "Confidence",
"type": "number"
},
"covariance": {
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"maxItems": 1000,
"minItems": 1,
"title": "Covariance",
"type": "array"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"horizon_days": {
"exclusiveMinimum": 0,
"maximum": 3650,
"title": "Horizon Days",
"type": "integer"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"nav",
"positions",
"assets",
"covariance",
"confidence",
"horizon_days"
],
"title": "ParametricRequest",
"type": "object"
},
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/ParametricRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_var_attributionArguments",
"type": "object"
},
"name": "risk_var_attribution",
"outputSchema": {
"additionalProperties": true,
"title": "risk_var_attributionDictOutput",
"type": "object"
}
},
{
"description": "Apply proposed trades to a book, recompute exposure, stress and tail, and grade limits after. Omit the request to run the shipped synthetic example instead. For supplied data, require permission and set rights_confirmed=true; this does not verify a licence.",
"inputSchema": {
"$defs": {
"Limit": {
"additionalProperties": false,
"properties": {
"asset": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Asset"
},
"direction": {
"enum": [
"max",
"min"
],
"title": "Direction",
"type": "string"
},
"limit": {
"title": "Limit",
"type": "number"
},
"metric": {
"enum": [
"gross_exposure",
"net_exposure",
"gross_leverage",
"net_leverage",
"gross_share",
"var",
"expected_shortfall",
"stress_loss"
],
"title": "Metric",
"type": "string"
},
"name": {
"minLength": 1,
"title": "Name",
"type": "string"
},
"scenario": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Scenario"
},
"warning": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Warning"
}
},
"required": [
"name",
"metric",
"direction",
"limit"
],
"title": "Limit",
"type": "object"
},
"Position": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"instrument_type": {
"const": "linear",
"title": "Instrument Type",
"type": "string"
},
"market_value": {
"title": "Market Value",
"type": "number"
}
},
"required": [
"id",
"asset",
"market_value",
"instrument_type"
],
"title": "Position",
"type": "object"
},
"Scenario": {
"additionalProperties": false,
"properties": {
"name": {
"minLength": 1,
"title": "Name",
"type": "string"
},
"shocks": {
"additionalProperties": {
"type": "number"
},
"minProperties": 1,
"title": "Shocks",
"type": "object"
}
},
"required": [
"name",
"shocks"
],
"title": "Scenario",
"type": "object"
},
"Trade": {
"additionalProperties": false,
"properties": {
"asset": {
"minLength": 1,
"title": "Asset",
"type": "string"
},
"market_value_change": {
"title": "Market Value Change",
"type": "number"
},
"position_id": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Position Id"
}
},
"required": [
"asset",
"market_value_change"
],
"title": "Trade",
"type": "object"
},
"WhatIfRequest": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"asset_returns": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "number"
},
"type": "array"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Asset Returns"
},
"confidence": {
"anyOf": [
{
"exclusiveMaximum": 1,
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Confidence"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string"
},
"data_mode": {
"enum": [
"synthetic",
"user-licensed"
],
"title": "Data Mode",
"type": "string"
},
"horizon_days": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 3650,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Horizon Days"
},
"limits": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Limit"
},
"maxItems": 1000,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Limits"
},
"nav": {
"exclusiveMinimum": 0,
"title": "Nav",
"type": "number"
},
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"maxItems": 100000,
"minItems": 1,
"title": "Positions",
"type": "array"
},
"scenarios": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Scenario"
},
"maxItems": 1000,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Scenarios"
},
"source": {
"maxLength": 500,
"minLength": 1,
"title": "Source",
"type": "string"
},
"trades": {
"items": {
"$ref": "#/$defs/Trade"
},
"maxItems": 10000,
"minItems": 1,
"title": "Trades",
"type": "array"
}
},
"required": [
"as_of",
"currency",
"source",
"data_mode",
"nav",
"positions",
"trades"
],
"title": "WhatIfRequest",
"type": "object"
}
},
"properties": {
"request": {
"anyOf": [
{
"$ref": "#/$defs/WhatIfRequest"
},
{
"type": "null"
}
],
"default": null
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
}
},
"title": "risk_what_ifArguments",
"type": "object"
},
"name": "risk_what_if",
"outputSchema": {
"additionalProperties": true,
"title": "risk_what_ifDictOutput",
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:dfd4d674359a0f791184636e4b40cdf355aa80755f4a615b3123db0457495ee7 | sha256sum