Streaming Market Data

Response definitions and payload examples for the streaming service

Responses

{
  "type": "quote",
  "symbol": "SPY",
  "bid": 281.84,
  "bidsz": 60,
  "bidexch": "M",
  "biddate": "1557757189000",
  "ask": 281.85,
  "asksz": 6,
  "askexch": "Z",
  "askdate": "1557757190000"
}
{
  "type": "trade",
  "symbol": "SPY",
  "exch": "J",
  "price": "281.85",
  "size": "100",
  "cvol": "27978993",
  "date": "1557757190000",
  "last": "281.85"
}
{
  "type": "summary",
  "symbol": "SPY",
  "open": "282.42",
  "high": "283.49",
  "low": "281.07",
  "prevClose": "288.1"
}
{
  "type": "timesale",
  "symbol": "SPY",
  "exch": "Q",
  "bid": "282.08",
  "ask": "282.09",
  "last": "282.09",
  "size": "100",
  "date": "1557758874355",
  "seq": 352795,
  "flag": "",
  "cancel": false,
  "correction": false,
  "session": "normal"
}
{
  "type": "tradex",
  "symbol": "SPY",
  "exch": "J",
  "price": "281.85",
  "size": "100",
  "cvol": "27978993",
  "date": "1557757190000",
  "last": "281.85"
}

Quote

The quote event is issued when a viable quote has been created on an exchange. This represents the most current bid/ask pricing available.

FieldDescription
typeType of the event
symbolSecurity symbol for the event
bidBid price
bidszBid size
bidexchBid exchange
biddateBid date
askAsk price
askszAsk size
askexchAsk exchange
askdateAsk date

Trade

The trade event is sent for all trade events at exchanges. By default, the trade event is filtered to only include valid ticks (removing trade corrections, errors, etc).

FieldDescription
typeType of the event
symbolSecurity symbol for the event
exchExchange code reporting the event
priceLast price available
sizeSize of the trade event
cvolCumulative volume
dateTrade date
lastLast price (this is a duplicate of price)

Summary

The summary event is triggered when a market session high, low, open, or close event is triggered.

FieldDescription
typeType of the event
symbolSecurity symbol for the event
openOpen price
highHigh price
lowLow price
prevClosePrevious close price

Timesale

Time and Sale represents a trade or other market event with price, like market open/close price, etc. Time and Sales are intended to provide information about trades in a continuous time slice (unlike Trade events which are supposed to provide snapshot about the current last trade). Timesale events are uniquely sequenced.

FieldDescription
typeType of the event
symbolSecurity symbol for the event
exchExchange code reporting the event
bidBid price
askAsk price
lastLast price
sizeSize of the event
dateDate of the event
seqSequence number
flagEvent flag Reference
cancelWas this a cancel event
correctionWas this a correction event
sessionMarket session type of the event

Tradex

The trade event is sent for all trade events at exchanges. This payload has more accurate information during the pre/post market sessions. If you plan streaming market data during these sessions, you should use this payload over the trade payload.

FieldDescription
typeType of the event
symbolSecurity symbol for the event
exchExchange code reporting the event
priceLast price available
sizeSize of the trade event
cvolCumulative volume
dateTrade date
lastLast price (this is a duplicate of price)