dwlf_position_size
Calculates the recommended position size from account size, risk percentage, entry price, and stop loss, so traders can size trades to a defined risk limit.
Instructions
Calculate recommended position size based on account size, risk percentage, entry price, and stop loss.
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": {
"accountSize": "<accountSize>",
"riskPercent": "<riskPercent>",
"entryPrice": "<entryPrice>",
"stopLoss": "<stopLoss>"
},
"name": "dwlf_position_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Trading symbol for context | |
| stopLoss | Yes | Stop loss price | |
| entryPrice | Yes | Planned entry price | |
| accountSize | Yes | Total account size in currency | |
| riskPercent | Yes | Risk percentage (e.g. 1 for 1%) |