Position size calculator
calc_position_sizeRisk-based position size from account balance, risk percent, entry and stop.
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": {
"balance": "<balance>",
"risk_pct": "<risk_pct>",
"entry": "<entry>",
"stop": "<stop>"
},
"name": "calc_position_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | Yes | ||
| entry | Yes | ||
| balance | Yes | ||
| risk_pct | Yes |