When to use: what-if P&L under relative spot/vol shocks and calendar time decay on a Eu…
When to use: what-if P&L under relative spot/vol shocks and calendar time decay on a European book. Returns base MTM+Greeks and per-scenario shocked MTM, MTM change, full Greeks. Single-option or multi-leg. USDC exact on Solana/Base.
by derivatives-pricer-production.up.railway.app · discovered, not yet claimed by its owner · updated 2026-10-10
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
When to use: what-if P&L under relative spot/vol shocks and calendar time decay on a European book. Returns base MTM+Greeks and per-scenario shocked MTM, MTM change, full Greeks. Single-option or multi-leg. USDC exact on Solana/Base.
Tags: scenario · book_risk · multi-chain · usdc · portfolio · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-10
{
"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
}
]
}{
"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
}
}
]
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/32343.jsonfor the price and payment options. - Pay. Call
GET https://derivatives-pricer-production.up.railway.app/v1/portfolio/scenario. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Solana, Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.25 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Solana, Base
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.25 | DCi9X5mmacNGLeJvCw9fdWgX3G8V4QquDn4EuXATkcYr | 300s |
| exact | Base eip155:8453 | USDC | $0.25 | 0x34cfb8bdbf16e4484b7da0ed31deed5771b16c8f | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "DCi9X5mmacNGLeJvCw9fdWgX3G8V4QquDn4EuXATkcYr",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "250000",
"amountUsd": 0.25,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x34cfb8bdbf16e4484b7da0ed31deed5771b16c8f",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "250000",
"amountUsd": 0.25,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"base": {
"type": "object"
},
"computedAt": {
"type": "string"
},
"positionCount": {
"type": "integer"
},
"requestId": {
"type": "string"
},
"scenarioCount": {
"type": "integer"
},
"scenarios": {
"type": "array"
}
},
"required": [
"base",
"scenarios",
"positionCount",
"scenarioCount",
"requestId",
"computedAt"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"base": {},
"computedAt": "string",
"positionCount": 0,
"requestId": "string",
"scenarioCount": 0,
"scenarios": [
"value"
]
},
"type": "string"
}Examples
curl -X POST 'https://derivatives-pricer-production.up.railway.app/v1/portfolio/scenario' -H 'Content-Type: application/json' --data '{"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}]}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://derivatives-pricer-production.up.railway.app/v1/portfolio/scenario", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"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}]}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://derivatives-pricer-production.up.railway.app/v1/portfolio/scenario", json=json.loads("{\"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}]}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- derivatives-pricer-production.up.railway.app
- Endpoint
- https://derivatives-pricer-production.up.railway.app/v1/portfolio/scenario
- Machine-readable
/resources/32343.json