← Plugin catalog
Finance

Risk Desk (hosted)

Iman Samizadeh v0.2.0

Portfolio risk from your data

Create a free account to save this plugin.

From the developer

Declared capabilities

  • Read

Declared limitations

  • Order placement is unsupported.
  • Supplied data requires permission for hosted processing.
  • Research calculations do not establish suitability or regulatory approval.

Not specified in the available declarations: pricing & account requirements.

Sources & dates

Developer declarations; not independently tested. Listing last checked Dec 1, 2026. Package observed Nov 30, 2026.

View package source →

Description

From the marketplace listing

Calculate VaR and Expected Shortfall under several tail models with backtests, linear exposure, option Greeks and revaluation, risk attribution, limits and what-if, liquidity, explicit, historical and reverse stress, SA-CCR, portfolio credit VaR and FRTB capital pieces over the hosted Risk Desk MCP, from inputs you supply or a shipped synthetic example. Fetches no market data and places no orders. Counterparty XVA needs a local ORE project and is not available here. Research software, not investment advice. Model and data errors are possible. Verify material results independently.

Language: English · Automatically detected from descriptions.

Changes

No changes recorded yet. Follow this plugin to keep track of future changes.

First seen Nov 22, 2026. Last seen Dec 1, 2026.

Similar plugins

Finding similar plugins… Results will appear here automatically.

Browse plugins →

Keywords

Files & skills

File archives

Plugin package33 files · 981 KBBrowse files →
Skill instructions
risk-attribution4 KB

View saved version →

---
name: risk-attribution
description: Estimate a covariance matrix from supplied returns, split VaR and Expected Shortfall into per-position contributions, and split portfolio variance into factor and idiosyncratic parts, over the hosted Risk Desk MCP. Use to find which positions or factors drive the risk.
---

# Risk Attribution, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use the tool that answers the question on the
connected hosted Risk Desk MCP. Discover its input schema instead of
guessing field names. No local runtime or market-data feed is needed.

- `risk_covariance`: sample, EWMA or Ledoit-Wolf covariance, volatility
  and correlation of a return history.
- `risk_var_attribution`: parametric normal VaR and ES with per-position
  contributions and incremental VaR.
- `risk_es_attribution`: historical-simulation ES with per-position
  contributions.
- `risk_factor_exposure`: factor betas and the systematic and
  idiosyncratic split of portfolio variance.

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic; its `data_origin` is
`synthetic_demo`. For the user's own data, pass it in `request`; never
substitute the demo when input is missing or invalid. Ask only for
missing required fields.

Report degraded status, its reason, currency, horizon, method and the
observations used before the figures. Preserve source and as-of
information. If the service is unavailable, report the failure without
inventing results.

For supplied data, positions are signed linear market values already in
the stated currency, each naming an asset in the asset list. Return rows
are simple returns, oldest first, one value per asset, and each row already
spans the stated horizon; nothing rescales them. Never invent a missing
return, covariance entry or factor return. EWMA needs a decay from the
user; there is no default.

Loss is positive. A negative contribution means the position lowers risk
at the margin, a hedge in this book; a share above 100 percent is
possible. Component VaR sums to VaR and component ES to ES; incremental
VaR does not sum to VaR. Systematic plus idiosyncratic variance equals the
in-sample variance of portfolio P&L. Factor exposure is currency P&L per
1.00 factor return.

Parametric results assume normal P&L with zero mean; call them normal VaR
and do not mix them with `risk_tail` figures without naming both methods.
A covariance flagged not positive definite was not repaired; offer
Ledoit-Wolf instead of altering it. When historical ES is degraded for a
tied tail boundary, the total is sound but the split depends on input
order. R squared and betas are in-sample, not forecasts. None of this is
regulatory capital, a validated model or advice.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it is not a rights
certificate and the service does not check it.

Counterparty XVA is not available here. It needs a trusted local ORE
project directory, which a remote endpoint cannot read. Point the user at
the local `risk-desk` plugin for that.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do not present a ranking or
comparison as a personal recommendation, executable quote or guaranteed loss
limit. Independently verify material results before use.

[Terms](https://riskdesk.avidquant.com/

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

risk-backtest3.66 KB

View saved version →

---
name: risk-backtest
description: Backtest a supplied VaR series, and optionally an Expected Shortfall series, against realised P&L over the hosted Risk Desk MCP. Use to judge a forecast record with exception counts, Kupiec, Christoffersen, the Basel traffic light and the Acerbi-Szekely ES test, not to compute VaR.
---

# Risk Backtest, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use `risk_backtest` on the connected hosted
Risk Desk MCP. Discover its input schema instead of guessing field names.
No local runtime or market-data feed is needed.

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic; its `data_origin` is
`synthetic_demo`. For the user's own record, pass it in `request`; never
substitute the demo when input is missing or invalid. Ask only for
missing required fields.

Report degraded status, its reason, currency, horizon, confidence and sign
convention before the figures. Preserve source and as-of information.
If the service is unavailable, report the failure without inventing results.

For supplied data, require realised P&L in time order (positive is
profit) and, for each row, the VaR forecast made before that P&L was known
(positive is a loss), with confidence and horizon. An ES test also needs
an ES forecast per row, each above its VaR, and the null family (normal,
or Student-t with its degrees of freedom).

Report, in order: exceptions against expected exceptions; the Basel zone,
or the reason it is unavailable; Kupiec, Christoffersen independence and
conditional coverage, each with statistic and p-value; then the ES test
with its null, simulations, seed and Monte Carlo standard error.

An exception is a realised loss strictly greater than VaR. The Basel zone
is given only for one-day 99% VaR and is not a capital figure; no
multiplier is reported. Z2 is zero in expectation when forecasts are
right; negative values mean risk was understated, and its p-value is the
left tail under the stated null, not under the forecaster's own model.
Kupiec and Christoffersen p-values are asymptotic chi-square.

A test that does not reject has not validated the model. With few
expected exceptions the tests have little power; say how many were
expected. This is a research calculation, not a regulatory submission and
not investment advice.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it is not a rights
certificate and the service does not check it.

Producing the VaR forecasts is not available here: this tool tests a
record, it does not build one. Use `risk_tail` for a VaR figure.
Counterparty XVA is also not available here; it needs a local ORE project
and the local `risk-desk` plugin.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do not present a ranking or
comparison as a personal recommendation, executable quote or guaranteed loss
limit. Independently verify material results before use.

[Terms](https://riskdesk.avidquant.com/terms) and
[privacy](https://riskdesk.avidquant.com/privacy) explain data handling and legal limits.

Referenced files: 1 — file references are metadata, not package contents.

risk-counterparty4.21 KB

View saved version →

---
name: risk-counterparty
description: Calculate Basel SA-CCR exposure at default for one derivative netting set, or summarise a simulated exposure profile into peak PFE, EPE, Effective EE and Effective EPE, over the hosted Risk Desk MCP. Use for counterparty exposure measures, not for XVA or credit capital.
---

# Risk Counterparty, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use `risk_saccr` for SA-CCR exposure at
default (CRE52) or `risk_exposure_profile` for an exposure profile summary
(CRE50, CRE53) on the connected hosted Risk Desk MCP. Discover the input
schema instead of guessing field names. No local runtime is needed.

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic; its `data_origin` is
`synthetic_demo`. For the user's own trades or profile, pass them in
`request`; never substitute the demo when input is missing or invalid.
Ask only for missing required fields.

Report degraded status and its reason first. For SA-CCR, then `ead` with
the currency, replacement cost, multiplier, PFE and the add-on per asset
class, and for a margined set whether the unmargined cap applied. For a
profile, Effective EPE and EPE with the averaging horizon, then peak PFE
with its time. Preserve source, as-of and the input hash. If the service
is unavailable, report the failure without inventing results.

For SA-CCR, every amount is in the request currency and times are years
from the as-of date. Each trade needs its asset class, notional, signed
market value to the bank, maturity and long or short position, plus the
class fields and option terms the schema asks for. A margined set needs
its threshold, minimum transfer amount, NICA, remargining period and MPOR;
the MPOR must be at least nine business days plus the remargining period.
For a profile, keep the column names exactly as ORE writes them; the first
row is at Time 0, times increase, and all rows are one netting set.
Never invent a trade term, rating, market value, collateral amount or
exposure row.

Exposure is a positive amount the bank could lose on counterparty
default. Market value and collateral are signed from the bank's side.
Replacement cost is floored at zero; excess collateral lowers the
multiplier, never the replacement cost below zero.

These are research calculations, not a regulatory submission. SA-CCR EAD
is an exposure measure, not a loss forecast, a price or a capital
requirement; no risk weight is applied. Only one bilateral netting set is
modelled: no basis or volatility hedging sets, CDO tranches, central
counterparty MPOR floors, 20-day MPOR cases or multiple netting sets. FX
and equity add-ons are partially verified: their constants are checked
against CRE52.72, but no published worked example exists, and the result
says so in its assumptions; report it. The profile summary is not an IMM
EAD, and it is only as good as the simulation behind it.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it is not a rights
certificate and the service does not check it.

Counterparty XVA and running an ORE simulation are not available here.
They need a trusted local ORE project directory, which a remote endpoint
cannot read. Point the user at the local `risk-desk` plugin for that.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approva

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

risk-credit3.94 KB

View saved version →

---
name: risk-credit
description: Calculate portfolio credit VaR, expected and unexpected loss from obligor exposure, PD and LGD with the Vasicek ASRF quantile or a seeded one-factor Gaussian copula Monte Carlo, over the hosted Risk Desk MCP. Use for default loss on a loan or bond book, not for IRB capital or rating migration.
---

# Risk Credit, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use the connected hosted Risk Desk MCP.
Discover the input schema instead of guessing field names. No local
runtime or market-data feed is needed.

- `risk_credit_asrf`: the Vasicek asymptotic single risk factor loss
  quantile. Exact for an infinitely granular book; it ignores name
  concentration.
- `risk_credit_copula`: a seeded Monte Carlo of the same one-factor model
  for the actual list of obligors. It captures concentration and gives
  Expected Shortfall.

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic; its `data_origin` is
`synthetic_demo`. For the user's own book, pass it in `request`; never
substitute the demo when input is missing or invalid. Ask only for
missing required fields.

Report degraded status, its reason, currency, confidence and horizon
before the figures. Preserve source and as-of information. If the service
is unavailable, report the failure without inventing results. For the
copula, degraded means too little tail probability mass: suggest more
scenarios within the limits that `risk_desk_status` states.

For supplied data, each obligor needs a unique id, exposure in the request
currency, PD over the stated horizon and LGD. The ASRF also needs each
obligor's asset correlation; the copula needs each factor loading, the
scenario count and a seed. PD, LGD, correlation and loadings are the
user's inputs: the tools do not estimate them and you must not invent
them. Use a supervisory correlation only if the user asks, and say so.

Report credit VaR, expected loss and unexpected loss; for the copula also
Expected Shortfall, scenarios and seed, and for the ASRF the largest
contributions, which add up to the credit VaR. Loss is positive.
Unexpected loss is credit VaR minus expected loss, not the standard
deviation of loss, which the copula reports separately.

Neither tool gives IRB capital or a risk weight: no maturity adjustment,
no CRE31.7 correlation multiplier and no PD or LGD floor. For a
concentrated book the ASRF understates the loss quantile. The copula
carries Monte Carlo error; quote its seed and scenario count. Default mode
only: no rating migration or spread loss, fixed LGD and one systematic
factor. A loss quantile is a model output, not a backtested forecast.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it is not a rights
certificate and the service does not check it.

Counterparty XVA is not available here. It needs a trusted local ORE
project directory, which a remote endpoint cannot read. Point the user at
the local `risk-desk` plugin for that.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do not present a ranking or
comparison as a personal recommendation, executable quote or guaranteed loss
limit. Independently verify material results before use.

[Terms](https://riskdesk.avidquant.com/terms) and
[privacy](https://riskdesk.avidquant.com/privacy) expla

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

risk-data-import4.7 KB

View saved version →

---
name: risk-data-import
description: Turn a CSV, spreadsheet or JSON file the user attaches into a Risk Desk request, repairing clear format and unit errors and reporting each repair, then pass it to the hosted Risk Desk MCP. Use when a user attaches data and asks for a risk figure, asks how to format it, or a tool refused the input.
---

# Risk data import, hosted

Use the connected hosted Risk Desk MCP. Do not run a local command. Call
`risk_desk_status` first to check availability, input limits and
reporting conventions. Build the request as JSON in the conversation from
the attached file, and pass it in the tool's `request` argument. Discover
the tool's input schema for every field name and type; do not guess them.

## Safety boundary

- Use only the file the user supplied. Never fetch prices, rates, FX or
  other market data, and never fill a gap from memory.
- Never invent a market value, price, P&L observation, date, currency,
  NAV, `source` or `data_mode`. Ask for a missing value by row and column.
- `data_mode` is the user's declaration (`synthetic` or `user-licensed`).
  Ask for it; do not infer it. It is not a rights certificate and the
  service does not check it.
- Before sending anything, establish that the user is permitted to share
  the data with a hosted service, and point them to the privacy policy at
  https://riskdesk.avidquant.com/privacy. Existing permission in the
  conversation is sufficient.
- Never send the synthetic demo in place of a file that failed to map.

## Which tool

| the file holds | tool |
|---|---|
| positions with market values | `risk_exposure` |
| positions plus scenario shocks | `risk_stress` |
| a P&L series | `risk_tail`, `risk_tail_models` |
| VaR forecasts beside realised P&L | `risk_backtest` |
| dated price levels per asset | `risk_stress_replay` |
| asset returns, one row per period | `risk_covariance` |
| options and futures with strikes and vols | `risk_derivatives_greeks` |
| simulated exposure by date | `risk_exposure_profile` |
| derivative trades in one netting set | `risk_saccr` |
| obligors with exposure, PD and LGD | `risk_credit_asrf` |

If the file fits none, say so and stop. If it exceeds the limits that
`risk_desk_status` states, say so; do not drop or sample rows to fit.

## Repairs you may make, and must report

Repair only where a value has one reading. Report each as row, column,
value found, value written and why.

- Thousands separators and currency symbols, when the currency matches.
- Accounting negatives: `(4,200)` to `-4200`.
- Percent text to a fraction: `-10%` to `-0.10`. A bare `-10` in a shock
  column is ambiguous; ask.
- Dates to `YYYY-MM-DD` only when day and month cannot be swapped.
- Unambiguous short names to the schema's literals, such as `Call` to
  `call`.
- Trailing blank rows and a repeated header, with the count dropped.
- A P&L column with losses positive, negated only when the user confirms.

Never repair a blank market value, price, P&L, PD, LGD or exposure (no
zero, no carry forward), values in another currency, an option premium
used as a linear market value, daily P&L offered for a longer horizon, or
duplicate ids. Ask instead.

## Workflow

1. Pick the tool, map columns to fields and list every required field
   with no column.
2. Ask once for each missing value and for `as_of`, `currency`, `source`
   and `data_mode` if the file does not state them.
3. Apply only permitted repairs, list them, and send the request.
4. If the tool refuses the input, quote its message, map it to the row
   and column, and ask for the corrected value. Do not loosen the request.
5. Report as that tool's skill says: degraded status and reason first,
   then the figures with currency, horizon and sign convention.

Reading files on the user's machine is not available here: the service
sees only the request you send. Counterparty XVA is also not available
here; it needs a local ORE project and the local `risk-desk` plugin.

## Data and result limits

F

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

risk-derivatives4.16 KB

View saved version →

---
name: risk-derivatives
description: Calculate cash Greeks, spot and vol scenario grids, and historical full-revaluation VaR and Expected Shortfall for a book of linear positions and European options on spot or futures underlyings, over the hosted Risk Desk MCP. Use when a book holds options, not for American or exotic options or option quotes.
---

# Risk Derivatives, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use the connected hosted Risk Desk MCP.
Discover the input schema instead of guessing field names. No local
runtime or market-data feed is needed.

- `risk_derivatives_greeks`: cash delta, gamma, vega, theta and rho now.
- `risk_derivatives_grid`: full revaluation over spot and vol shocks,
  against delta-gamma and delta-gamma-vega.
- `risk_derivatives_historical`: full-revaluation P&L, VaR and ES under
  supplied spot returns and vol changes.

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic; its `data_origin` is
`synthetic_demo`. For the user's own book, pass it in `request`; never
substitute the demo when input is missing or invalid. Ask only for
missing required fields.

Report degraded status, its reason, currency and sign convention before
the figures. Preserve source and as-of information. If the service is
unavailable, report the failure without inventing results. For the
historical tool, also report the time mode, horizon, scenarios without vol
changes and options settled within the horizon; each changes what the VaR
means.

Spot underlyings are priced with Black-Scholes-Merton and futures with
Black-76. Every position needs a signed quantity and an explicit
multiplier; there is no default, because a missing 100 is a hundredfold
error. An option needs kind, strike, implied vol per 1.00 (0.20, not 20),
a continuously compounded rate and one of expiry or year fraction; on a
spot underlying it also needs a carry yield (0 if none), on a future it
takes none. Prices are already in the stated currency. Never invent a
price, vol or term.

Units: cash delta per 1.00 relative move; cash gamma as the change in cash
delta for a 1% rise; vega per 0.01 of implied vol; theta per calendar day,
negative is decay; rho per 0.01 of the rate. Positive P&L is profit; the
tail block reports VaR and ES as losses, and a negative value is a gain.
Approximation error is approximation minus full revaluation.

Totals add underlyings: no cross-gamma, and total vega moves every vol
together. The approximations have no vanna or vomma. Grid cells move every
underlying and every vol by the same shock; they are not correlated
scenarios. A fixed time mode excludes theta over the horizon; decay
includes it. An option expiring inside the horizon is valued at its
payoff, not rolled. Model values are not quotes, and European exercise
with one flat vol per option is assumed. Do not scale a one-day result to
ten days.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it is not a rights
certificate and the service does not check it.

Implied volatility solving, American and exotic options, and Counterparty
XVA are not available here. XVA needs a trusted local ORE project
directory and the local `risk-desk` plugin.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do not present a ranking or
comparison as 

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

risk-frtb4.2 KB

View saved version →

---
name: risk-frtb
description: Compute Basel FRTB capital pieces from figures a bank has already produced, covering IMCC, aggregate IMA capital and RWA, the P&L attribution zone, VaR backtesting counts and FX SBM delta and vega capital, over the hosted Risk Desk MCP. Use for MAR21, MAR32 or MAR33 questions, not to estimate ES or VaR from market data.
---

# Risk FRTB, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use the connected hosted Risk Desk MCP.
Discover the input schema instead of guessing field names. If a tool is
not listed, say so; never produce a capital figure by hand.

- `risk_frtb_imcc`: liquidity-adjusted, stress-scaled ES and IMCC from
  10-day ES cascades per liquidity horizon (MAR33).
- `risk_frtb_ima_capital`: aggregate IMA capital with the multiplier, the
  amber-desk surcharge and RWA (MAR33, MAR32.9).
- `risk_frtb_pla`: P&L attribution Spearman and Kolmogorov-Smirnov metrics
  and the desk zone from 250 daily RTPL and HPL values (MAR32).
- `risk_frtb_backtest`: VaR exception counts over 250 days, as a desk
  verdict at 97.5% and 99% or a bank zone at 99% (MAR32).
- `risk_frtb_sbm_fx`: standardised FX delta and vega capital (MAR21).

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic; its `data_origin` is
`synthetic_demo`. For the user's own figures, pass them in `request`;
never substitute the demo when input is missing or invalid. Ask only for
missing required fields, and ask for the MAR21.88 specified-pair election
rather than assuming it.

Report degraded status and its reason first. The FX SBM result is degraded
whenever vega is supplied, because curvature capital is not computed. Then
give the verdict asked about with its rule (PLA zone, desk pass, bank zone
and multiplier, binding SBM scenario, or aggregate capital and RWA), the
currency, as-of date and horizon (10-day base ES for IMCC, one-day P&L for
the tests), and the figures that drove it. Preserve source and as-of.

Capital, ES, VaR, SES, DRC and standardised charges are positive amounts.
P&L is signed, positive is profit. An exception is a loss strictly greater
than VaR; a missing P&L or VaR counts as one. Sensitivities are signed and
netted per risk factor before weighting.

These are research calculations over supplied inputs, not a regulatory
submission. Model approval, risk factor eligibility, stress period choice
and desk structure are outside them. Not computed: ES itself, the
non-modellable stress capital and default risk model (both taken as
inputs), the 10% eligibility criterion, PLA zone transitions, SBM
curvature, risk classes other than FX, the standardised default risk
charge and the residual risk add-on. Do not call the FX SBM figure the
standardised approach capital. Two readings are interpretations and the
result says so: the MAR33.6 floor applied to each risk-class ratio, and
the MAR32.19 limits read as more than 12 and more than 30.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it is not a rights
certificate and the service does not check it.

Estimating ES, VaR or sensitivities from market data is not available
here. Counterparty XVA is also not available here; it needs a local ORE
project and the local `risk-desk` plugin.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do no

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

risk-limits4.08 KB

View saved version →

---
name: risk-limits
description: Grade a limit set on gross, net, leverage, gross share, VaR, Expected Shortfall or a named stress loss against Risk Desk results, and run a pre-trade what-if that revalues a linear book with proposed trades, over the hosted Risk Desk MCP. Use for limit utilisation and what a proposed trade would do, not for orders or recommendations.
---

# Risk Limits, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use the connected hosted Risk Desk MCP.
Discover the input schema instead of guessing field names. No local
runtime or market-data feed is needed.

- `risk_limits` grades each limit against results that `risk_exposure`,
  `risk_tail` and `risk_stress` already returned. Pass those results
  unchanged; do not edit or recompute them.
- `risk_what_if` applies proposed trades to a book, recomputes exposure,
  and stress and tail when their inputs are given, then grades the limits
  on the book after the trades.

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic; its `data_origin` is
`synthetic_demo`. For the user's own book and limits, pass them in
`request`; never substitute the demo when input is missing or invalid, and
never grade the user's limits against a demo result. Ask only for missing
required fields.

Report degraded status and its reason first. Then the overall status and
status counts; every breach and warning with value, limit and
utilisation; every limit not evaluated, with its reason; and for VaR and
ES the confidence and horizon behind the value. For a what-if, give the
change first, then before and after, then the limits after. Preserve
source and as-of information. If the service is unavailable, report the
failure without inventing results.

Each limit has a unique name, a metric, a direction (max or min), a hard
limit and an optional warning on the safe side of it. A gross share limit
names its asset; a stress loss limit names its scenario. A what-if trade
is a signed change in market value; a sale of a long is negative.

Overall status is the worst of breach, warning, not evaluated and within,
so a book with an unevaluated limit is never within. Status decides, not
utilisation; utilisation is null for a zero limit or an overflowing ratio.
Overflow carries a reason and degraded status. A result in another
currency is not evaluated; a differing as-of date is evaluated and
flagged, so give both dates. Loss is positive for VaR, ES and stress loss,
and a negative value is a gain.

A what-if is a revaluation at as-of prices, cash-financed, with no costs,
no market impact and unchanged NAV; it is not an execution estimate. Its
VaR and ES assume each linear position's historical P&L scales with its
value; say so whenever quoting them. Never recommend a trade, size or
hedge. This is research output, not investment advice.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it is not a rights
certificate and the service does not check it.

Placing or routing orders is not available here, and neither is
Counterparty XVA, which needs a local ORE project and the local
`risk-desk` plugin.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do not present a ranking or
comparison as a personal recommendation, executable quote or guaranteed loss
limit. Independen

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

risk-liquidity3.89 KB

View saved version →

---
name: risk-liquidity
description: Estimate days to liquidate each asset at a participation rate of average daily traded value, the holdings schedule by day, the exogenous bid-ask spread cost and liquidity-adjusted VaR, over the hosted Risk Desk MCP. Use to ask how long a linear book takes to exit or what the spread adds to VaR, not for market impact.
---

# Risk Liquidity, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use `risk_liquidity` on the connected hosted
Risk Desk MCP. Discover its input schema instead of guessing field names.
No local runtime or market-data feed is needed.

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic; its `data_origin` is
`synthetic_demo`. For the user's own book, pass it in `request`; never
substitute the demo when input is missing or invalid. Ask only for
missing required fields.

Report degraded status, its reason, currency and sign convention before
the figures. When P&L is supplied, degraded names every asset that takes
longer to exit than the VaR horizon. Then give the longest days to
liquidate and the slowest assets, the schedule at the days the user cares
about, the cost of liquidity, and when present VaR and liquidity-adjusted
VaR with confidence and horizon. Preserve source and as-of information.
If the service is unavailable, report the failure without inventing results.

For supplied data, the book is signed linear positions in the stated
currency with an explicit NAV. Require the participation rate, the spread
multiplier (no default; ask for it and say what it was), and for exactly
every asset its average daily traded value in the base currency, mean
relative spread and spread volatility. Relative spread is (ask - bid) /
mid, so 0.002 is 20 basis points. P&L, confidence and horizon are optional
and go together, as for `risk_tail`. Never invent a volume or a spread.

Cost of liquidity and VaR are positive losses. Short positions pay the
half spread too, so values are absolute. Days are days of average traded
value, not calendar days.

VaR is at the P&L horizon and the spread cost is a one-off exit cost;
neither is rescaled to the liquidation period. When an asset takes longer
to exit than the horizon, say that the liquidity-adjusted VaR does not
cover the extra days. The spread add-on is market-wide spread risk, not
the price impact of selling a large block, which can be far larger. This
liquidity-adjusted VaR adds the spread cost to historical VaR, while the
1999 Bangia et al. paper used parametric VaR. Do not present the paper's
range for the multiplier as a default. This is research output, not
investment advice.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it is not a rights
certificate and the service does not check it.

Market impact modelling and Counterparty XVA are not available here. XVA
needs a trusted local ORE project directory and the local `risk-desk`
plugin.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do not present a ranking or
comparison as a personal recommendation, executable quote or guaranteed loss
limit. Independently verify material results before use.

[Terms](https://riskdesk.avidquant.com/terms) and
[privacy](https://riskdesk.avidquant.com/privacy) explain data handling and legal limits.

Referenced files: 1 — file references are metadata, not package contents.

risk-portfolio2.81 KB

View saved version →

---
name: risk-portfolio
description: Aggregate gross and net exposure, leverage and asset concentration for linear positions in one base currency, over the hosted Risk Desk MCP.
---

# Risk Portfolio, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use `risk_exposure` on the connected hosted Risk
Desk MCP. Discover its input schema instead of guessing field names.
No local runtime or market-data feed is needed.

For a requested demonstration, omit `request` to use the synthetic energy
book. Label the result as synthetic. For the user's own book, pass the
supplied data in `request`; never substitute the demo when input is
missing or invalid. Ask only for missing required fields.

Report degraded status, its reason, base currency, horizon and sign
convention before the figures. Preserve source and as-of information.
If the service is unavailable, report the failure without inventing results.

For supplied data, require signed market values translated into the
stated currency and an explicit NAV. Currency conversion must be complete before the
request is sent; the service performs none. Confirm that each position is
a linear asset. Options require sensitivities or full revaluation;
premium market value is not delta exposure.

Explain net against gross. Gross concentration uses absolute position
values before offsetting, so a share of gross is never negative; leverage
divides by the supplied NAV. A negative net value is a short. Do not
describe any of these amounts as counterparty EAD or as regulated capital.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it
is not a rights certificate and the service does not check it.

Counterparty XVA is not available here. They need a trusted
local ORE project directory, which a remote endpoint cannot read. Point
the user at the local `risk-desk` plugin for that.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do not present a ranking or
comparison as a personal recommendation, executable quote or guaranteed loss
limit. Independently verify material results before use.

[Terms](https://riskdesk.avidquant.com/terms) and
[privacy](https://riskdesk.avidquant.com/privacy) explain data handling and legal limits.

Referenced files: 1 — file references are metadata, not package contents.

risk-stress4.17 KB

View saved version →

---
name: risk-stress
description: Revalue linear positions under supplied asset-return scenarios, replay a dated window from the user's own prices, list the dated scenario library, find the most plausible shock for a target loss, or scale a scenario to a target loss, over the hosted Risk Desk MCP. Use for scenario loss and contribution analysis.
---

# Risk Stress, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use the connected hosted Risk Desk MCP.
Discover the input schema instead of guessing field names.
No local runtime or market-data feed is needed.

- `risk_stress`: revalue explicit scenarios.
- `risk_stress_replay`: replay a dated window from the user's prices.
- `risk_scenario_library`: the dated windows (Lehman 2008, COVID 2020,
  UK gilt and LDI 2022), with sources. No arguments; dates only, no prices.
- `risk_reverse_stress`: the most plausible shock for a target loss under
  the user's covariance.
- `risk_scenario_scale`: the multiple of one scenario that hits a target
  loss.

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic. For the user's own book, pass the
supplied data in `request`; never substitute the demo when input is
missing or invalid. Ask only for missing required fields.

Report degraded status, its reason, base currency, horizon and sign
convention before the figures. Preserve source and as-of information.
If the service is unavailable, report the failure without inventing results.

Every scenario must name exactly the portfolio assets, including an
explicit zero where no change is intended. A missing asset is refused
rather than treated as unchanged. Report scenario P&L, loss, stressed NAV
and per-position contributions. A negative loss is a scenario the book
gains in.

Scenario severity is not an event probability, and no probability is
attached to any scenario. A scenario named after a historical episode
carries the shape somebody chose for it, not a fitted event and not a
forecast. Say so when the user names one that way.

A replay needs the user's own licensed price levels with a level on both
window dates; nothing is interpolated or filled. A replay through a proxy
series is degraded and names each proxy. A worst peak-to-trough replay
takes each asset's worst fall separately; do not call it the book's worst
loss in the window. For reverse stress, report the shocks, Mahalanobis
distance, solution and binding floors; the distance ranks plausibility,
it is not a probability, and `loss_exceedance_probability_if_normal`
holds only under joint normal returns with mean zero and the supplied
covariance, so say so in the same sentence. For scaling, report the
multiple; it is a distance along one scenario, not a probability. Name the
user as the source of prices, covariance and floors.

The model is linear. Do not apply it to option premium values, credit
migration or nonlinear margin calls.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it
is not a rights certificate and the service does not check it.

Counterparty XVA is not available here. It needs a trusted local ORE
project directory, which a remote endpoint cannot read. Point the user at
the local `risk-desk` plugin for that.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do not present a ranking or
c

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

risk-tail3.77 KB

View saved version →

---
name: risk-tail
description: Calculate VaR and Expected Shortfall from P&L the user supplies, historical only or side by side under normal, Student-t, EVT and GARCH models, over the hosted Risk Desk MCP. Use for loss quantiles, tail severity and model comparison, not counterparty XVA and not for testing a forecast record.
---

# Risk Tail, hosted

Call `risk_desk_status` first to check availability, input limits and
reporting conventions. Then use `risk_tail` for historical VaR and ES, or
`risk_tail_models` for the historical result beside normal, Student-t,
extreme value, GARCH filtered historical, GARCH-EVT and GARCH-t Monte
Carlo estimates, on the connected hosted Risk Desk MCP. Discover its input
schema instead of guessing field names.
No local runtime or market-data feed is needed.

For a requested demonstration, omit `request` to use the shipped synthetic
example. Label the result as synthetic. For the user's own book, pass the
supplied data in `request`; never substitute the demo when input is
missing or invalid. Ask only for missing required fields.

Report degraded status, its reason, base currency, horizon and sign
convention before the figures. Preserve source and as-of information.
If the service is unavailable, report the failure without inventing results.

For supplied data, require currency, as-of date, source, data mode,
portfolio value, confidence and horizon. Each P&L observation must already cover that
horizon. Do not convert daily results to another horizon by silently
scaling them. For `risk_tail_models` the P&L must be in time order, oldest
first: the GARCH columns depend on order, the others do not.

Give VaR and Expected Shortfall as monetary losses; negative values mean gains and are not floored at zero. Include
the sample count and the tail probability mass. The small-tail warning is
a reporting rule, not a confidence test. Do not call ES the mean of all
losing observations. These are empirical results over one supplied
sample, not validated forecasts.

For `risk_tail_models`, report every entry in `unavailable` with its
reason; a missing column is not a zero. If the GARCH posterior did not
converge, the result is degraded and the three GARCH columns are
unreliable; say so. EVT with fewer than 50 exceedances is flagged; do not
present it as robust. Disagreement between columns is model risk, not an
error to average away. The normal, Student-t and unconditional EVT fits
ignore volatility clustering, and the GARCH columns look one sample period
ahead only. To test a forecast record, use `risk_backtest`.

Before sending user data, establish that the user is permitted to share
it with a hosted service. Existing permission in the conversation is
sufficient. `data_mode` records their declaration; it is not a
rights certificate and the service does not check it.

Counterparty XVA is not available here. It needs a trusted local ORE
project directory, which a remote endpoint cannot read. Point the user at
the local `risk-desk` plugin for that.

## Data and result limits

For every calculation with a supplied `request`, set the separate boolean
`rights_confirmed=true` only after the user confirms permission for hosted
processing and output delivery. Existing explicit permission is sufficient.
Never infer permission from an attachment or `data_mode`. No-input synthetic
demonstrations need no confirmation. Confirmation does not verify a licence.

Keep model and data limitations visible. Results can be wrong; reproducibility
does not establish fitness or regulatory approval. Do not present a ranking or
comparison as a personal recommendation, executable quote or guaranteed loss
limit. Independently verify material results before use.

[Terms](https://riskdesk.avidquant.com/terms) and
[privacy](https://riskdesk.avidquant.com/privacy) explain data handling and legal limits.

Referenced files: 1 — file references are metadata, not package contents.

Release notes

Risk Desk 0.2 on the hosted service: every Risk Desk tool except counterparty XVA, 29 in all. Adds tail model comparison and VaR and ES backtests, option Greeks and revaluation, risk attribution, limits and what-if, liquidity, historical replay and reverse stress, SA-CCR and exposure profiles, portfolio credit VaR and FRTB capital pieces, each with a synthetic example, and twelve skills. Fetches no market data and places no orders.

Declared in the saved package. Remote tools may change independently.

Package details

Publisher declarations from the archived package. These are separate from our research and the live service's terms.

Package license
PolyForm-Noncommercial-1.0.0
Package author
Iman Samizadeh
Keywords
See keywords
Review scenarios
5 positive · 3 negativeScenario counts, not test results.

Declared capabilities

  • Read

Package observed Nov 30, 2026.

Technical details
First seen
Nov 22, 2026 · 00:00 UTC
Last seen
Dec 1, 2026 · 00:00 UTC
Collection status
Collected

plugin_asdk_app_6ad14fbde9b0819187b057c265098666

Download plugin data (JSON)

Plugin details: freshly prepared. Prepared . Refreshed when plugin data changes or after 6 hours. Your account and Follow status are live.