Kelly Position Size
kelly_sizeCompute the optimal Kelly position size for a Kalshi, Polymarket US or Novig contract. Given your win probability, the market price (which sets the payout), your bankroll, and a Kelly fraction (full / half / quarter / eighth), returns the dollar stake and a risk rating. Use for "how much should I stake", "what is my position size", "Kelly sizing for this trade".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kelly_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | No | Where you would trade it: kalshi, polymarket-us or novig. Default kalshi. One of: kalshi · polymarket-us · novig. | |
| bankroll | No | Total bankroll in dollars (e.g. 1000). Optional — omit it and the result is the % of bankroll to stake, without a dollar figure. | |
| fraction | No | Kelly fraction to apply. Half-Kelly is the common sharp-money default. One of: full · half · quarter · eighth. | |
| marketPrice | No | Contract price in cents (1–99). Sets the payout ratio. Omit both this and winProbability for the inputs and a worked example. Accepts 55, "55%", "55¢", "$0.55", 0.55 or American odds (+120 / -150) — all read as 55%. | |
| novigMarket | No | With venue novig: pregame (default), live or futures. Sets the fee. One of: pregame · live · futures. | |
| winProbability | No | Your probability the contract resolves YES, in % (0–100). Omit both this and marketPrice for the inputs and a worked example. Accepts 55, "55%", "55¢", "$0.55", 0.55 or American odds (+120 / -150) — all read as 55%. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | No | Qualitative read of the sizing. | |
| sources | No | ||
| tell_user | No | Show this sentence to the user first. | |
| timestamp | No | ||
| needs_input | No | ||
| example_call | No | ||
| stake_dollars | No | Suggested stake in dollars (when a bankroll was given). | |
| data_freshness | No | ||
| full_kelly_pct | No | Full-Kelly fraction of bankroll, %. | |
| applied_fraction_pct | No | The fraction applied, %. |