All-in trading cost on every perp DEX
trading_costFull ranking: the round-trip cost (taker fees on both legs + slippage on the live book) of one market order on every perp DEX we read, cheapest first, with each venue's fee tier, book time, and the venues that give no figure and why. Use it to compare venues or explain a choice; for just the winner, use best_venue.
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": {
"pair": "<pair>",
"size_usd": "<size_usd>"
},
"name": "trading_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Base asset of the perpetual, e.g. BTC | |
| size_usd | Yes | Order size in USD (notional) | |
| monthly_volume_usd | No | Your 30-day trading volume in USD, to pick your fee tier (default 0) |