# Tornado Sensitivity Risk Desk API for Quantitative Factor Models

- **Canonical HTML**: https://quantdesk.fastmesh.dev/seo_geo/tornado-sensitivity-risk-desk-api.html
- **Target Query**: `Tornado sensitivity risk desk API` (`how_to`)
- **Source Family**: `sec_edgar` | **MCP Tool**: `quantdesk_risk_simulate` | **Pricing**: $0.05 per simulation including ranked Tornado drivers ($0 on 422)
- **Seed**: `42` | **Trials**: `10000` | **Receipt SHA-256**: `ec897cfe9aa3049569b765b76c42d4b4a23fcd9b368a23800798514173a0be10`

## Direct Answer
Rank which risk parameter—annualized volatility, expected drift, fee/slippage drag, tail-jump severity, or holding horizon—drives the largest VaR and P5-P95 outcome swing in a single REST or Remote /mcp call.

## One-at-a-Time Symmetric Perturbation & Variance Share Ranking
- Perturbation Swing: swing_k = |outcome(theta_k^high) - outcome(theta_k^low)| holding all other parameters fixed under synchronized seed.
- Variance Share Attribution: variance_share_pct_k = 100 * (swing_k^2 / sum_j(swing_j^2)).
- Direction Tag: 'positive' when higher parameter improves outcome, 'negative' when higher parameter increases downside risk.

## Deterministic 10,000-Trial Risk Metrics (Seed 42)
- P5 / P50 / P95 Return: -13.37% / +5.01% / +25.17%
- Mean / Std Return: +5.34% / 11.73%
- VaR 95 / CVaR 95: 13.37% / 18.44%
- VaR 99 / CVaR 99: 21.28% / 25.08%
- Max Drawdown (95th) / Ruin Probability: 16.61% / 0.02%
- Half-Kelly Cap: 25.00%
- Top Tornado Driver: `volatility` (swing 7.45%, variance share 43.7%)

## Key Engineering Capabilities
- Returns ranked tornado_sensitivity[] array sorted descending by outcome swing with rank, factor, low_outcome, high_outcome, swing, variance_share_pct, and direction.
- Uses common random numbers (synchronized seed) across low/high perturbations to eliminate Monte Carlo sampling noise.
- Works identically across SEC EDGAR, Polymarket/Kalshi, ECB FX, ClinicalTrials, and openFDA factor briefs.

## Remote `/mcp` Invocation Example
```bash
curl -fsSL -X POST "https://quantdesk.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "quantdesk_risk_simulate", "arguments": {"expected_return": 0.06, "volatility": 0.3, "jump_prob": 0.06, "jump_mean": -0.16, "horizon_days": 30, "initial_capital": 100000, "seed": 42, "trials": 10000}}}'
```

## Frequently Asked Questions
### Why use synchronized seeds when generating Tornado sensitivity bars?
Reusing the exact PRNG seed between the low and high parameter runs guarantees that measured outcome differences reflect genuine parameter elasticity rather than random Monte Carlo noise.

### What does variance_share_pct measure?
It computes each factor's squared swing divided by the sum of all squared swings, showing at a glance which 1-2 inputs account for >70% of tail-risk uncertainty.

### Can AI agents render charts from the returned Tornado array?
Yes. The array is pre-sorted by rank with explicit low_outcome, high_outcome, swing, and direction fields ready for SVG rendering or structured alerts.

## Compliance & Zero-Resale Policy
Agent-WallStreet-Desk is a deterministic quantitative public-disclosure extraction and Monte Carlo risk modeling engineering tool only. It is NOT investment advice under the U.S. Investment Advisers Act of 1940, NOT a broker-dealer, and provides ZERO asset management, trade execution, or custody. 100% legal public regulatory disclosures and public market data only (zero MNPI, zero paywall bypass). Strictly $0 billed on empty, unchanged, fake-200, SSRF-blocked, or HTTP 422 responses. Zero client trading strategy, portfolio holdings, or watchlist retention or resale (zero_resale_policy: true). Support: support@fastmesh.dev.
