Best Deal For An Amount
ic_best_dealRank exchanges by the actual amount received for a buy or sell of a given size, accounting for order-book slippage. Find where you get the most USDT for Toman or the best venue to sell coins.
Instructions
Rank every exchange by what a buy or sell of a given size actually gets, with order-book slippage.
Answers "where do I get the most USDT for 50M Toman?" or "where should I sell 0.2 BTC?". Order-book exchanges are
walked level by level (filled_pct < 100 means the visible book is too thin); brokers fill at their own buy/sell
price; source: listed_price (Tetherland) is a single indicative price, ranked last. receive is coins for
a buy and Toman/USDT for a sell. Trading and withdrawal fees are not deducted:
check ic_fees before acting. Prices move every second; this is a snapshot, not a quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Coin symbol, e.g. 'BTC', 'ETH', 'USDT' (Tether in Toman), 'TON' | |
| side | Yes | 'buy' the coin or 'sell' it | |
| quote | No | Quote currency: 'IRT' = Toman market (default), 'USDT' = Tether market | IRT |
| amount | Yes | buy: how much Toman (or USDT) to spend, e.g. 50000000. sell: how many coins to sell, e.g. 0.2 |