Size many pairs at once
batch_slippagePrice a grid of Bybit spot pairs at multiple dollar sizes in one call, walking each order book to report slippage, fees, and total cost after quantity and notional limits.
Instructions
Prices a grid of pairs by dollar sizes: every pair against every size, in one call. Each row walks the real order book for that size, then applies Bybit's quantity step, minimum and maximum before reporting. Use it to find how far a size can grow on each pair before the cost bites.
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": {
"symbols": "<symbols>"
},
"name": "batch_slippage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | 'buy' walks the asks, 'sell' walks the bids. | buy |
| venue | No | Venue to read. Default 'bybit', the only adapter so far. | bybit |
| levels | No | Depth levels per side to request. Default 200, the venue maximum. | |
| fee_bps | No | Taker fee in basis points, per side; a round trip costs twice this. Default 10 (0.10%), Bybit's standard spot taker fee. Put in your own tier's number if it differs. | |
| symbols | Yes | Pairs to size in one pass. Up to 12 pairs, one order book each. | |
| sizes_usd | No | Dollar sizes to price, in USDT. Up to 8 sizes; every pair is priced at every size. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||