Kelly-criterion optimal bet fraction and position sizing from a win probability
Kelly-criterion optimal bet fraction and position sizing from a win probability and payoff, or from an edge and odds. Pure computation over your inputs.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
946 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://api.agentstools.dev/quant/kelly
| Category | Everything else |
|---|---|
| Provider host | api.agentstools.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.001 | 946 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"bankroll": 10000,
"fraction": 0.5,
"win_loss_ratio": 1,
"win_prob": 0.6
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"bankroll": {
"description": "Bankroll to size the position against",
"type": "number"
},
"clamp": {
"description": "Clamp the Kelly fraction to [0, 1], default true",
"type": "boolean"
},
"edge": {
"description": "Expected edge, alternative input paired with odds",
"type": "number"
},
"fraction": {
"description": "Fractional-Kelly multiplier, default 1",
"type": "number"
},
"odds": {
"description": "Odds b, alternative input paired with edge (> 0)",
"type": "number"
},
"win_loss_ratio": {
"description": "Payoff ratio b of win size to loss size (> 0)",
"type": "number"
},
"win_prob": {
"description": "Probability of a win in [0, 1]",
"type": "number"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}