Split a big order into child orders
plan_slicesSplits a parent order into sequential child orders priced against remaining order-book depth, caps each at the venue ceiling, and reports per-child and cumulative costs plus size fitting a budget.
Instructions
Cuts one parent order into sequential child orders, each priced against the depth the previous children left behind, and each capped by the venue's market-order ceiling. Reports the cost of every child and the cumulative cost of the whole plan, plus the size that fits the budget.
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": {
"symbol": "<symbol>"
},
"name": "plan_slices"
}
}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. | |
| symbol | Yes | Pair in any spelling: 'BTC/USDT', 'BTCUSDT' or 'btc-usdt'. | |
| 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. | |
| size_usd | No | Notional per child order. Omit to split the target evenly. | |
| budget_bps | No | Cost ceiling against the mid, in basis points. Slices whose cumulative cost passes it are flagged, not dropped. | |
| max_slices | No | Maximum child orders. Default 8, maximum 20. | |
| target_usd | No | Total dollar amount to place. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||