Model vs market edge
compare_model_vs_marketCompare the model against live Kalshi contract prices and report the net edge after fees plus a quarter-Kelly stake, on whichever side of the contract is better value. NFL, MLB, NHL and NBA pull Kalshi automatically; for soccer, or to use a bookmaker instead, pass your own prices in marketProbabilities. Research output, not betting advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sport": "<sport>"
},
"name": "compare_model_vs_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | Yes | nfl, mlb, nhl, nba or soccer. | |
| league | No | Soccer only. A league name or ESPN slug, for example "Premier League" or "esp.1". Ignored for every other sport. | |
| metric | No | Which probability the contract settles on. Defaults to the playoff/title market. | |
| feeRate | No | Fee coefficient. Default 0.07, the Kalshi taker rate. | |
| minEdge | No | Minimum disagreement to flag as value. Default 0.05. | |
| bankroll | No | Capital used to scale stake sizing. Default 1000. | |
| maxPerPositionPct | No | Ceiling on one position, as a fraction of bankroll. Default 0.02. | |
| marketProbabilities | No | Your own prices as probabilities. Overrides the Kalshi lookup when given. | |
| maxTotalExposurePct | No | Ceiling on all positions together. Default 0.06. |