{
  "format": "delx/intent-card/v1",
  "id": "kelly-fraction-api",
  "intent": "Kelly Fraction for an agent workflow",
  "title": "Kelly Fraction API for agents",
  "description": "Kelly fraction from win probability and net payoff odds b. Call when bankroll sizing for repeated bets with known edge (advisory). Returns full Kelly fraction clamped to [0,1] 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.",
  "keywords": [
    "Kelly Fraction API",
    "Kelly Fraction for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/kelly-fraction-api",
  "machine_url": "https://commerce.delx.ai/intents/kelly-fraction-api.json",
  "recommendation": {
    "tool_name": "util_kelly_fraction",
    "service_name": "Kelly Fraction",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/kelly-fraction",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "win_prob": {
          "description": "Input field: win prob.",
          "type": "number"
        },
        "b": {
          "description": "Input field: b.",
          "type": "number"
        }
      },
      "required": [
        "win_prob",
        "b"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "win_prob": 0.55,
      "b": 1.2
    },
    "example_output": {
      "schema": "delx/util-kelly-fraction/v1",
      "win_prob": 0.55,
      "b": 1.2,
      "kelly": 0.17500000000000004
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/kelly-fraction -m POST -H 'x-delx-source: intent-card-kelly-fraction-api' --max-amount 0.001 -b '{\"win_prob\":0.55,\"b\":1.2}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-kelly-fraction-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/kelly-fraction"
  }
}
