Net risk/reward after fees
calculate_net_risk_rewardCompare gross and fee-adjusted reward-to-risk, loss and profit per unit, and breakeven win rate for a linear trade with known entry, stop and target. Accepts distinct entry/stop/target fee percentages. Use for questions about a planned R ratio or how fees change it. Direction is derived from entry and stop. Does not fetch venue fees or predict execution, liquidation, or trade outcomes.
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": {
"entryPrice": "<entryPrice>",
"stopPrice": "<stopPrice>",
"targetPrice": "<targetPrice>"
},
"name": "calculate_net_risk_reward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fees | No | User-supplied rates. Omission explicitly assumes zero fees; no exchange rate lookup is performed. | |
| stopPrice | Yes | Planned stop price. Direction is derived from entry and stop. | |
| entryPrice | Yes | Planned entry price in quote currency per base unit. | |
| targetPrice | Yes | Profit target price, opposite the stop relative to entry. | |
| quoteCurrency | No | Currency shared by all monetary inputs. Defaults to USD; no currency conversion is performed. | |
| instrumentType | No | Linear quote-margined instruments only. Inverse contracts and liquidation are unsupported. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| inputs | Yes | ||
| metrics | Yes | ||
| formulas | Yes | ||
| warnings | Yes | ||
| assumptions | Yes | ||
| reproduceUrl | Yes | ||
| documentationUrl | Yes | ||
| calculationVersion | Yes |