Example inputPOST /api/v1/x402/pairs-hedge-ratio
{
"x": [
1,
2,
3,
4,
5
],
"y": [
2,
4,
5.5,
8.1,
10
]
}
Portable intent card · commercial-operations
OLS hedge ratio beta of y on x (no intercept). Call when sizing the short leg in a pairs trade offline. Returns beta and n as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/pairs-hedge-ratio -m POST -H 'x-delx-source: intent-card-pairs-hedge-ratio-api' --max-amount 0.001 -b '{"x":[1,2,3,4,5],"y":[2,4,5.5,8.1,10]}'
{
"x": [
1,
2,
3,
4,
5
],
"y": [
2,
4,
5.5,
8.1,
10
]
}
{
"intent": "Pairs Hedge Ratio OLS for an agent workflow",
"tool_name": "util_pairs_hedge_ratio",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/pairs-hedge-ratio-api.json"
}
Portable and inspectable