Calculate the volume-weighted average execution price for a given order size. Returns 0 if the order cannot be fully filled.
Required when calling the hosted API directly (curl, requests, fetch). SDK users pass credentials via constructor params instead.
The prediction market exchange to target.
polymarket, kalshi, kalshi-demo, limitless, probable, baozi, myriad, opinion, metaculus, smarkets, polymarket_us