{"uid":"cap_VQczZhhZjs_cg6pIHjFCm","slug":"kelly-position-sizing-fixed-fractional-risk-calculator-d1f59449","name":"Kelly Position Sizing & Fixed Fractional Risk Calculator","description":"Optimal stake from win probability, payoff ratio and bankroll (full or fractional Kelly), plus fixed fractional risk sizing from stop distance and account risk %.","url":"https://api.24klabs.ai/api/v1/kelly-position-sizing","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bankroll":{"type":"number"},"win_prob":{"type":"number"},"kelly_fraction":{"type":"number"},"win_loss_ratio":{"type":"number"}}},"responseSchema":{"type":"json","example":{"kelly_pct":32.5,"applied_kelly_pct":16.25,"recommended_stake":1625}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NAXLk38UGYd5z5PnpeYzk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates optimal bet/trade size using full or fractional Kelly Criterion from win probability and payoff ratio, or fixed fractional sizing from stop distance and account risk percentage.","exampleAgentPrompt":"Calculate my Kelly position size for a trade with a 60% win probability and a 2.5:1 payoff ratio on a $25,000 account using half Kelly, and also give me the fixed fractional size assuming a $500 stop distance and 1% account risk.","exampleUseCases":[{"title":"Sports betting bankroll management","prompt":"I have a $5,000 betting bankroll and I think this bet has a 58% chance of winning at 2:1 odds — what's my optimal full Kelly stake, and what would a half-Kelly stake be?"},{"title":"Stock trade position sizing","prompt":"I'm buying a stock with my $50,000 trading account and my stop loss is $3.50 away from my entry — how many dollars should I risk using fixed fractional sizing at 1.5% account risk?"},{"title":"Options trade sizing with Kelly","prompt":"I have a 65% estimated win rate on this options trade with a 1.8 payoff ratio and a $30,000 account — compute my quarter-Kelly position size so I'm not over-leveraging."}],"resultDescription":"Returns the recommended position size or stake amount — including the Kelly stake (in currency or fraction of bankroll) for full or fractional Kelly configurations, and/or the fixed fractional dollar risk and position size based on stop distance and account risk percentage. May also return intermediate values like the raw Kelly fraction before scaling.","failureModes":["Win probability outside 0–1 range returns a validation error","Negative or zero payoff ratio returns an error","Kelly fraction parameter outside valid range (e.g. > 1) may be rejected or clamped","Missing required fields (e.g. bankroll without win probability) returns 400-level error","Negative Kelly result (when edge is negative) may return zero or an explanatory message indicating the bet should not be placed"],"whenToPreferThis":"Use this endpoint when you need a mathematically rigorous position sizing recommendation grounded in Kelly Criterion theory or fixed fractional risk management. Prefer it over manual calculation or generic advice when the user has quantified win probability and payoff ratio (for Kelly) or a defined stop distance and risk percentage (for fixed fractional). Best suited for traders, sports bettors, or algorithmic systems that need consistent, repeatable sizing logic embedded in an automated workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:21.567Z","isFirstParty":false}