Execution Price (Slippage)
Execution
Execution Price (Slippage)
Compute realistic fill price by walking historical orderbook depth.
GET
Execution Price (Slippage)
Returns the volume-weighted average price (VWAP) for a hypothetical order at a historical moment. Walks the full orderbook, level by level, until the order is filled.Documentation Index
Fetch the complete documentation index at: https://docs.polydata.live/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Outcome token ID
BUY (eats asks) or SELL (eats bids)Order size to simulate
Simulate at this time (Unix ms)
Response
Original order size
Actually filled (may be less if liquidity ran out)
VWAP across all fills
Best price (top of book)
average_price - best_priceSlippage in basis points
Whether the entire order was filled
First 10 levels:
{price, size}