ThetaData · AsyncAPI Specification
ThetaData Streaming WebSocket API (derived)
Version v1
JSON WebSocket streaming of US stock trade/quote, option trade/quote/full-trade, and index price/market-value streams, served locally by Theta Terminal v3. A single connection per user is permitted; all stream messages arrive on one endpoint and it is up to the consumer to distribute them. A STATUS keep-alive message is sent every second. Requires a paid subscription with streaming permissions (Standard/Pro tiers).
View Spec
View on GitHub
FinancialMarket DataOptionsStocksIndicesReal-TimeHistorical DataTradingAsyncAPIWebhooksEvents
Channels
events
The single event channel carrying all STATUS, QUOTE, and TRADE messages.
Messages
status
status
Keep-alive sent every second with terminal-to-FPSS connectivity status.
quote
quote
NBBO quote event for a subscribed contract.
trade
trade
Trade event for a subscribed contract.
Servers
ws
theta-terminal
Local Theta Terminal FPSS WebSocket endpoint. Streaming requests are sent and all event messages received on this single connection. Connection status is DISCONNECTED until the first request is made. FPSS region is configurable ([fpss] fpss_region = fpss_nj_hosts | fpss_stage_hosts | fpss_dev_hosts).