Risk

Conceptual

Exposure measurement, scenario analysis and enforced limits.

Risk work is where confident-sounding output is most dangerous. Pimsy separates what is measured from what is assumed, and enforces limits in the runtime rather than in prose.

Analysis types#

AnalysisProducesKey caveat
Exposure decompositionPosition weights by factor, sector, chain, counterpartyClassification choices change the answer
Scenario analysisOutcome under named shocksScenarios are assumptions, not forecasts
Correlation structurePairwise and rolling correlationsCorrelations converge in stress
Liquidity assessmentCost to exit at size within a horizonDepth data is venue-specific and moves fast
Counterparty mappingConcentration across custodians and protocolsOff-chain relationships may be invisible

Runtime-enforced limits#

yaml
risk_policy:
  max_single_asset_weight: class="tok-num">0.15
  max_protocol_exposure_usd: class="tok-num">250000
  require_simulation_above_usd: class="tok-num">1000
  daily_notional_cap_usd: class="tok-num">100000
  forbidden:
    - unaudited_contracts
    - unverified_source_contracts
  escalate_to_human:
    - any_new_counterparty
    - drawdown_exceeds: class="tok-num">0.08

Last updated 2026-09-08