# Delx Commerce — Binary EV (No) Calculator

> Delx Commerce — Binary EV (No) Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Calculates the expected value (EV) of buying 'No' shares in a binary prediction market given stake, true probability, and market price.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/binary-ev-no?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-binary-ev-no-calculator-0b468eab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GcuRo2c4cJ8y-qwhErcbs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-binary-ev-no-calculator-0b468eab -d '<json body>'
```

Example prompt: What's the expected value of buying No shares in a binary prediction market if I stake 100, my estimated true probability of Yes is 40%, and the current market price for No is 0.52?

## When to prefer this

Use this endpoint when you need a fast, cheap, deterministic calculation of expected value specifically for the 'No' side of a binary prediction market. Prefer it over building your own EV formula when you want verifiable, pay-per-use computation with no API key or signup required, and you are operating on Base or Solana with USDC via x402 micropayments.

## Known failure modes

- Missing required fields (stake, true_prob, or market_price) returns a validation error
- true_prob outside [0,1] range may cause calculation errors or invalid results
- market_price outside valid range (0,1) may yield nonsensical share calculations
- Network or payment failure (402 not settled) results in no response
- Integer stake of 0 may produce division errors

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the computed expected value (ev, which can be negative indicating a losing bet), the original stake, the number of No shares received, the No price used, and a schema identifier string (delx/util-binary-ev-no/v1).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "stake": {
   "type": "integer",
   "description": "Input field: stake."
  },
  "true_prob": {
   "type": "number",
   "description": "Input field: true prob."
  },
  "market_price": {
   "type": "number",
   "description": "Input field: market price."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ev": -13.46153846153848,
  "stake": 100,
  "schema": "delx/util-binary-ev-no/v1",
  "shares": 192.3076923076923,
  "no_price": 0.52
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-binary-ev-no-calculator-0b468eab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
