{"uid":"cap_XbDg0_VTtqCi7rj5B_QuO","slug":"delx-commerce-half-kelly-criterion-calculator-465ca906","name":"Delx Commerce — Half Kelly Criterion Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/half-kelly?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"b":{"type":"number","description":"Input field: b."},"win_prob":{"type":"number","description":"Input field: win prob."}}},"responseSchema":{"type":"json","example":{"b":1.2,"schema":"delx/util-half-kelly/v1","win_prob":0.55,"half_kelly":0.08750000000000002}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8wYHSiHU9B1PfxqBpr8PH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the half-Kelly bet sizing fraction given a win probability and odds multiplier (b), useful for optimal position sizing in trading or betting scenarios.","exampleAgentPrompt":"What's the half-Kelly bet size I should use if my win probability is 0.55 and the odds multiplier b is 1.2?","exampleUseCases":[{"title":"Sports betting stake optimization","prompt":"I think there's a 60% chance my team wins and the bookmaker is offering 1.8x payout — what fraction of my bankroll should I put on it using half Kelly?"},{"title":"Trading position size calculator","prompt":"I've back-tested a strategy with a 58% win rate and an average win-to-loss ratio of 1.5 — what does half Kelly say my position size should be?"},{"title":"Daily automated agent bankroll management","prompt":"My model estimates a 52% win probability on today's trade with odds of 2.0 — calculate the half Kelly fraction so I can size my position correctly."}],"resultDescription":"Returns a JSON object containing the input parameters (b, win_prob), a schema identifier (delx/util-half-kelly/v1), and the computed half_kelly fraction as a decimal number representing the optimal fractional bet size.","failureModes":["Missing required fields (b or win_prob) returns a validation error","win_prob outside [0,1] range may return an error or nonsensical result","b <= 0 (negative or zero odds) may produce undefined behavior","Payment failure via x402 prevents call from completing"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, on-demand computation of the half-Kelly criterion without setting up any account or subscription. Ideal for AI agents performing automated bankroll management, trade sizing, or betting optimization that need a verifiable, pay-per-call microservice at $0.001 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:48.573Z","isFirstParty":false,"canonicalSlug":"delx-commerce-half-kelly-criterion-calculator-465ca906"}