InputPOST /api/v1/x402/unrealized-pnl
{
"entry": 100,
"mark": 95,
"size": 3
}
Commercial operations analytics · commercial-operations
Unrealized PnL versus mark from entry and size. Call when open position dashboards and liquidation preflight. Returns unrealized pnl at mark 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.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/unrealized-pnl -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"entry":100,"mark":95,"size":3}'
{
"entry": 100,
"mark": 95,
"size": 3
}
{
"schema": "delx/util-unrealized-pnl/v1",
"entry": 100,
"mark": 95,
"size": 3,
"unrealized_pnl": -15
}
Machine-readable evidence