Optimize a trading card portfolio with Markowitz mean-variance analysis over conformal-cal
Optimize a trading card portfolio with Markowitz mean-variance analysis over conformal-calibrated risk forecasts (Monte Carlo GBM/Merton available opt-in). Provide a list of card names, budget, and risk tolerance (conservative/moderate/aggressive) to receive optimal position sizing, per-card allocation weights, Sharpe ratios, and rebalancing recommendations.
500000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-26
updated
Provider
oracle.the-undesirables.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x642e8a7C289381f24f0395e0539f0bA41c74Cc1B",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "500000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "GueVKFK4VNe4LYvMoYAKpnJe8s7Yar6FF3r1f92gfm9y",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "500000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:4663",
"payTo": "0x642e8a7C289381f24f0395e0539f0bA41c74Cc1B",
"asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
"amount": "500000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"budget": 1000,
"cards": "Charizard ex,Pikachu VMAX,Black Lotus",
"risk_tolerance": "moderate"
},
"type": "http"
},
"output": {
"example": {
"data": {
"allocations": [
{
"allocation_usd": 450,
"card_name": "Charizard ex",
"weight": 0.45
}
],
"portfolio_expected_return_pct": 12.5
},
"status": "ok",
"tool": "portfolio_optimizer"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"budget": {
"description": "Total portfolio budget in USD (default 1000)",
"type": "number"
},
"cards": {
"description": "Comma-separated card names to include in portfolio analysis",
"type": "string"
},
"days": {
"description": "Forecast horizon in days (1-365, default 90)",
"type": "integer"
},
"risk_tolerance": {
"description": "Risk profile: conservative, moderate, or aggressive",
"type": "string"
}
},
"required": [
"cards"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"type": "object"
},
"status": {
"type": "string"
},
"tool": {
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://oracle.the-undesirables.com/api/v1/portfolio-optimize" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://oracle.the-undesirables.com/api/v1/portfolio-optimize");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://oracle.the-undesirables.com/api/v1/portfolio-optimize")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3430.json, and this resource appears in /discovery/resources and /discovery/search.