← Back to directory

What-if P&L under relative spot/vol shocks and calendar time decay on a scalar-σ...

https://derivatives-pricer-production.up.railway.app/v1/portfolio/scenario

Overview

What-if P&L under relative spot/vol shocks and calendar time decay on a scalar-σ book. Base plus per-scenario MTM and Greeks.

Protocol x402 (POST)
Price $0.25
Payment Asset USDC
Payment Network solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Category uncategorized
Provider Portfolio Scenarios
Source bazaar
Indexed 2026-10-11 01:20:35

Health

Status healthy
Latency (p50) 679ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-10-31 07:12:40
Last Healthy 2026-10-31 07:12:40
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "dividendYield": 0, "positions": [ { "optionType": "call", "quantity": 10, "strike": 100, "timeToExpiry": 1, "underlying": 100, "volatility": 0.2 }, { "optionType": "put", "quantity": -5, "strike": 110, "timeToExpiry": 1, "underlying": 100, "volatility": 0.22 } ], "rate": 0.05, "scenarios": [ { "name": "spot_down_10", "spotShock": -0.1, "timeDecayDays": 0, "volShock": 0 }, { "name": "vol_up_20pct_rel", "spotShock": 0, "timeDecayDays": 1, "volShock": 0.2 } ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "base": { "greeks": { "delta": 9.05941615, "gamma": 0.09736793, "rho": 858.77721991, "theta": -58.62185203, "vega": 176.68540458 }, "mtm": 47.16439511 }, "computedAt": "2026-01-01T00:00:00.000Z", "positionCount": 2, "requestId": "00000000-0000-4000-8000-000000000005", "scenarioCount": 2, "scenarios": [ { "greeks": { "delta": 7.8848641, "gamma": 0.13279827, "rho": 747.49532487, "theta": -55.98280497, "vega": 201.29852574 }, "mtm": -37.85755566, "mtmChange": -85.02195077, "name": "spot_down_10", "shocks": { "spotShock": -0.1, "timeDecayDays": 0, "volShock": 0 } }, { "greeks": { "delta": 8.86589449, "gamma": 0.08214409, "rho": 830.99263852, "theta": -60.74906514, "vega": 178.51169933 }, "mtm": 53.31386329, "mtmChange": 6.14946818, "name": "vol_up_20pct_rel", "shocks": { "spotShock": 0, "timeDecayDays": 1, "volShock": 0.2 } } ] }, "type": "json" }