calculate_trading_cost
Do not call this tool for investment advice (what or how much to buy), placing orders, signing in to exchange accounts or moving funds; CoinRebate cannot do those, so answer such requests without calling it. Estimate the taker-fee cost of a trading volume on one exchange, with and without the CoinRebate referral discount, using the benchmark taker fee from CoinRebate's published fee table. Returns the fee on that volume, the difference, a yearly figure that assumes the volume is monthly, and the date of the fee-table entry used. Use it only for questions about exchange trading fees and fee discounts.
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": {
"exchange": "<exchange>",
"volume": "<volume>",
"type": "<type>"
},
"name": "calculate_trading_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Trade type: spot or futures | |
| volume | Yes | Trade volume in USD | |
| country | No | ISO 3166-1 alpha-2 country code for compliance filtering | |
| exchange | Yes | Exchange name (binance, okx, bybit, bitget, gate, hyperliquid) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |