prediction.order_split_guide
Walks a Polymarket outcome's live order book to recommend how many clips to split a large position into, so each clip's own price impact stays at or under max_price_impact_pct_per_slice (default 1.0%). Also returns full_size_price_impact_pct - the baseline impact if filled in one shot right now, for comparison. Single-snapshot calculation - it has no idea whether the book refills between clips in real trading. Accepts either a raw token_id or a market_slug (+ outcome) to resolve it automatically - exact slug only, no fuzzy keyword search. Paid in USDC on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | "sell" (default) or "buy". | |
| outcome | No | "yes" (default) or "no" - which side to resolve when using market_slug. | |
| token_id | No | The outcome's CLOB token_id / asset_id, if already known. | |
| market_slug | No | Exact Polymarket market slug, used to resolve token_id automatically. | |
| position_size_shares | Yes | Total number of outcome shares to sell (or buy). Must be positive. | |
| max_price_impact_pct_per_slice | No | Target ceiling on each clip's own price impact, in percent. Defaults to 1.0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| notice | No | ||
| token_id | Yes | ||
| data_source | Yes | ||
| market_slug | No | ||
| generated_at | Yes | ||
| executable_now | Yes | ||
| book_snapshot_time | No | ||
| position_size_shares | Yes | ||
| max_single_clip_shares | Yes | ||
| recommended_slice_count | No | ||
| full_size_price_impact_pct | No | ||
| recommended_slice_size_shares | No | ||
| max_price_impact_pct_per_slice | Yes |