Trades
WS
Delayed: wss://delayed.polygon.io/options
Real-Time: wss://socket.polygon.io/options
Stream tick-level trade data for option contracts via WebSocket. Each message delivers key trade details (price, size, exchange, conditions, and timestamps) as they occur, enabling users to track market activity, power live dashboards, and inform rapid decision-making.
Use Cases: Live monitoring, algorithmic trading, market analysis, data visualization.
Parameters
ticker
string
required
Specify an option contract or use * to subscribe to all option contracts.
You can also use a comma separated list to subscribe to multiple option contracts.
You can retrieve active options contracts from our Options Contracts API.
Response Attributes
ev
enum (T)
The event type.
sym
string
The ticker symbol for the given option contract.
x
integer
The exchange ID. See Exchanges for Polygon.io's mapping of exchange IDs.
p
number
The price.
s
integer
The trade size.
c
array (integer)
The trade conditions
t
integer
The Timestamp in Unix MS.
q
integer
The sequence number represents the sequence in which trade events happened. These are increasing and unique per ticker symbol, but will not always be sequential (e.g., 1, 2, 6, 9, 10, 11).