Skip to content

quant-kelly · api.agentstools.dev

Kelly-criterion optimal bet fraction and position sizing

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.

Ready now4 calls · 3 buyers in 30 days

Input

Bankroll to size the position against
Clamp the Kelly fraction to [0, 1], default true
Expected edge, alternative input paired with odds
Fractional-Kelly multiplier, default 1
Odds b, alternative input paired with edge (> 0)
Payoff ratio b of win size to loss size (> 0)
Probability of a win in [0, 1]

Sample response

Published by the provider. Your run returns a fresh response.

response7 keys
applied_fraction0.1
clampedtrue
disclaimer"computation only, not financial advice"
kelly_fraction0.2
position_size1000
win_loss_ratio1
win_prob0.6
responseobject, 7 keys
Your agent can do this on its own
Add the MCP URL in Claude Code, Cursor or Codex. Your agent can run Tools within its spending limits, or ask for approval each time. Connect your agent

Connect your agent

Add one MCP URL and your agent can find and run this tool within its spending limits. Choose “Ask each time” if you want to approve every Call.

MCP URL

https://app.aecon.ai/mcp
Terminalbash
claude mcp add --transport http --scope user agentic-economy "https://app.aecon.ai/mcp"

In Claude Code, open /mcp, select agentic-economy, then choose Authenticate.

Track record

Paid calls, last 30 days
4
Buyers, last 30 days
3
Last paid call

Reported by the x402 directory.

A$0.0015 per call