# Delx Multi-Outcome Kelly Calculator

> Delx Multi-Outcome Kelly Calculator is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Computes optimal Kelly criterion stake sizes and fractions across multiple outcomes given their probabilities, market prices, and a bankroll amount.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/multi-outcome-kelly
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-multi-outcome-kelly-calculator-57aeb892
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HqmWWJn75Si51b_vcPL-7

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-multi-outcome-kelly-calculator-57aeb892 -d '<json body>'
```

Example prompt: I have a three-outcome market with probabilities [0.5, 0.3, 0.2] and market prices [2.0, 3.5, 5.0], and my bankroll is 1000 USDC — what are the Kelly-optimal stake amounts and fractions for each outcome?

## When to prefer this

Use this endpoint when you need mathematically rigorous multi-outcome Kelly criterion calculations without implementing the optimization yourself. It is ideal for AI agents managing prediction market positions, sports betting allocations, or any multi-way probabilistic allocation problem. Prefer this over single-outcome Kelly formulas whenever there are three or more mutually exclusive outcomes and you want simultaneous optimal stake sizing across all of them.

## Known failure modes

- Probabilities array and prices array length mismatch — returns validation error
- Probabilities that sum to more than 1.0 or contain negative values — may return zero stakes or error
- Bankroll of zero or negative — likely returns all-zero stakes
- Missing required fields (probs, prices, or bankroll) — returns 400 bad request
- Degenerate inputs where no positive-EV outcome exists — returns all-zero fractions

## How this service works

Proportional Kelly-like stakes across exclusive outcomes. Call when allocating bankroll across multi-outcome prediction markets. Returns stakes and fractions per outcome 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.

## Output

Returns a JSON object containing an array of stake amounts in quote units (one per outcome) and an array of Kelly fractions (one per outcome), indicating how much of the bankroll to allocate to each outcome under the multi-outcome Kelly criterion.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "probs": {
   "type": "array",
   "description": "Outcome probabilities (same order as prices)"
  },
  "prices": {
   "type": "array",
   "description": "Market prices / samples depending on tool"
  },
  "bankroll": {
   "type": "number",
   "description": "Bankroll in quote units"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-multi-outcome-kelly/v1",
  "stakes": [
   0,
   100,
   0
  ],
  "fractions": [
   0,
   1,
   0
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-multi-outcome-kelly-calculator-57aeb892/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
