Kelly Criterion Calculator
calculate_kellyThe share of an account to risk on each trade that grows it fastest over many trades (the Kelly criterion), half and quarter Kelly, and what a chosen risk gives. Same calculation as the Kelly Criterion Calculator page at https://forexdemo.com/kelly-criterion-calculator.html. Every input is optional unless marked required; left-out inputs use the page's defaults, which are listed in the reply.
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": {
"winRate": "<winRate>",
"reward": "<reward>"
},
"name": "calculate_kelly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | No | Risk per trade in percent, to compare with Kelly. Give 2 for 2%. | |
| reward | Yes | Average win as a multiple of the average loss, such as 1.5. | |
| sample | No | Optional: how many past trades the win rate comes from, to show how sure it is. | |
| trades | No | Number of trades to look ahead. | |
| balance | No | Optional account balance, to show amounts. | |
| winRate | Yes | Win rate in percent. Give 2 for 2%. |