profit_calc
Calculate crypto profit/loss, ROI, and break-even including exchange fees and fixed network/gas fees. Enter buy price, sell price, and quantity; no API key required.
Instructions
Calculate crypto profit/loss, ROI, break-even. Supports exchange fees and fixed network/gas fee. No API needed.
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": {
"buy_price": "<buy_price>",
"sell_price": "<sell_price>",
"quantity": "<quantity>"
},
"name": "profit_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | ||
| buy_price | Yes | ||
| sell_price | Yes | ||
| network_fee | No | Fixed network fee in same unit as prices | |
| buy_fee_percent | No | ||
| sell_fee_percent | No |