calculate_position_size
Translate risk constraints into perpetual futures position size and leverage from equity, entry, and stop prices to produce actionable trade parameters.
Instructions
[Capability: available_with_tier_gate; tier: pioneer_plus_or_x402; API: /api/v1/agent/futures/position-sizing; authority: /api/v1/agent/status] Translate risk constraints into size and leverage for a perp setup.
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": {
"equity": "<equity>",
"entryPrice": "<entryPrice>",
"stopPrice": "<stopPrice>"
},
"name": "calculate_position_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| equity | Yes | ||
| stopPrice | Yes | ||
| entryPrice | Yes | ||
| riskPercent | No | ||
| targetPrice | No | ||
| riskMultiplier | No |