PMDataDocs
Data Schemas

Trades

Schema for Polymarket WebSocket trade executions.

Each row represents a trade execution reported by the Polymarket market WebSocket.

Data type: trades · Download sample ↗

Schema

All fields come from the raw Polymarket WebSocket, not computed by PMData.

FieldTypeDescription
market_slugstringPolymarket market_slug.
timestamptimestamp[us]Polymarket event timestamp.
local_timestamptimestamp[us]PMData receive timestamp.
event_typestringSource row type, normally last_trade_price.
outcomestringTraded outcome, usually Yes or No.
pricefloatExecution price from 0 to 1; represents the implied probability of the selected outcome.
sizefloatNumber of outcome tokens traded.
sidestringAggressor side: BUY or SELL.
trade_idstring | nullOn-chain transaction hash of the trade. Null when unavailable.

Example data

market_slugoutcomepricesizeside
btc-updown-5m-1784332800No0.492SELL
btc-updown-5m-1784332800Yes0.515.882351BUY

On this page