calculate_lot_size
Calculates position size in lots so the stop loss risks a set percentage of account balance. Use it to size trades safely before placing an order.
Instructions
Position size in lots so hitting the stop loses risk_percent of the balance.
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": {
"symbol": "<symbol>",
"risk_percent": "<risk_percent>",
"stop_loss_price": "<stop_loss_price>"
},
"name": "calculate_lot_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| risk_percent | Yes | ||
| stop_loss_price | Yes |