{"uid":"cap_jrk1QlaLD80rUJrhmQ1mI","slug":"half-kelly-fraction-57e0b34c","name":"Half-Kelly Fraction","description":"Half-Kelly fraction for conservative bankroll growth. Call when agents that want Kelly growth with lower variance. Returns half Kelly fraction 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.","url":"https://api.delx.ai/api/v1/x402/half-kelly","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_1jEpt8GwXnu3KDKZVORkr","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 win probability and net odds ratio, returning a conservative Kelly criterion stake for lower-variance bankroll growth.","exampleAgentPrompt":"What's the half-Kelly bet size fraction I should use if my win probability is 0.6 and the net odds ratio (b) is 2.0?","exampleUseCases":[{"title":"Sports bettor conservative stake sizing","prompt":"I have a 58% chance of winning a bet that pays 1.8x my stake — what half-Kelly fraction of my bankroll should I put on it?"},{"title":"Trading strategy position sizing","prompt":"My backtest shows a 55% win rate and net profit ratio of 1.5 on a trade — calculate the half-Kelly position size fraction so I can manage risk conservatively."},{"title":"Poker bankroll management","prompt":"If I win 62% of the time and get 1.2x my buy-in on average, what's the half-Kelly fraction I should risk per session to grow my bankroll with lower variance?"}],"resultDescription":"A deterministic JSON object containing the half-Kelly fraction (a number between 0 and 1) representing the conservative fraction of bankroll to stake, computed from the supplied win probability and net odds ratio using local math only.","failureModes":["Missing or non-numeric win_prob or b fields returns a validation error","win_prob outside [0,1] range may produce nonsensical or negative fractions","b <= 0 (non-positive odds) is mathematically invalid and may error","Payment failure or insufficient USDC balance returns HTTP 402","If the Kelly formula yields a negative value (unfavorable bet), result may be 0 or negative"],"whenToPreferThis":"Use this endpoint when you need a quick, local, deterministic half-Kelly bet sizing calculation with no external dependencies, API keys, or market data feeds. Prefer it over full-Kelly when you want lower variance and more conservative bankroll growth. It is ideal for AI agents doing autonomous position sizing, betting systems, or portfolio allocation where reproducibility and determinism matter and a tiny per-call cost ($0.001 USDC) is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:56.905Z","isFirstParty":false}