Best Deal For An Amount
ic_best_dealRanks exchanges by actual execution outcome for a specified buy or sell amount, walking order books to estimate slippage and coins received or Toman/USDT proceeds.
Instructions
Rank every exchange by what a buy or sell of a given size actually gets, with order-book slippage.
Order books are walked level by level (filled_pct < 100: book too thin); brokers fill at their own price;
source: listed_price (Tetherland, Balinex) is indicative, ranked last. receive is coins for a buy, Toman/USDT for a
sell. Fees are not deducted (see ic_fees). A snapshot, not a quote.
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": {
"coin": "<coin>",
"side": "<side>",
"amount": "<amount>"
},
"name": "ic_best_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Coin symbol, e.g. 'BTC', 'USDT' | |
| side | Yes | Buy or sell the coin | |
| quote | No | 'IRT' = Toman market, 'USDT' = Tether market | IRT |
| amount | Yes | buy: Toman (or USDT) to spend, e.g. 50000000. sell: coins to sell, e.g. 0.2 |