Skip to main content
Version: Upcoming

OptionNbboQuote

V8 Message Definiton

This table contains live option quote records from OPRA (equities) or the listing exchange (futures). Each record contains up to two price levels and represents a live snapshot of the book for a specific option series. There are typically 1mm+ records in this table if all ticker sources are enabled.

METADATA

AttributeValue
Topic2750-market-data-options
MLink TokenOptMktData
ProductSRLive
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
okey_atenum - AssetTypePRI'None'
okey_tsenum - TickerSrcPRI'None'
okey_tkVARCHAR(12)PRI''
okey_yrSMALLINT UNSIGNEDPRI, SEC0
okey_mnTINYINT UNSIGNEDPRI, SEC0
okey_dyTINYINT UNSIGNEDPRI, SEC0
okey_xxDOUBLEPRI0
okey_cpenum - CallPutPRI'Call'
updateTypeenum - UpdateType'None'
bidPriceFLOAT0bid price
askPriceFLOAT0ask price
bidSizeINT0bid size in contracts largest exch quote
askSizeINT0ask size in contracts largest exch quote
cumBidSizeINT0bid size in contracts total nbbo size
cumAskSizeINT0ask size in contracts total nbbo size
bidExchenum - OptExch'None'first or largest remaining exchange at bid price
askExchenum - OptExch'None'first or largest remaining exchange at ask price
bidMaskBIGINT0exchange bid bit mask
askMaskBIGINT0exchange ask bit mask
bidMktTypeVARCHAR(255)'None'bid side quote flags if any
askMktTypeVARCHAR(255)'None'ask side quote flags if any
bidPrice2FLOAT02nd best bid price
askPrice2FLOAT02nd best ask price
cumBidSize2INT0cumulative size at 2nd price
cumAskSize2INT0cumulative size at 2nd price
bidTimeINT0last bid price change milliseconds since midnight calculated from the srcTimestamp
askTimeINT0last ask price change milliseconds since midnight calculated from the srcTimestamp
srcTimestampBIGINT0source high precision timestamp if available
netTimestampBIGINT0inbound packet PTP timestamp from SR gateway switchusually syncronized with facility grandfather clock

PRIMARY KEY DEFINITION (Unique)

FieldSequence
okey_tk1
okey_yr2
okey_mn3
okey_dy4
okey_xx5
okey_cp6
okey_at7
okey_ts8

SECONDARY INDEX (ExpirationIndex) (Not Unique)

FieldSequence
okey_yr1
okey_mn2
okey_dy3

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRLive`.`MsgOptionNbboQuote`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`okey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX') */
`okey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`okey_tk` = 'Example_okey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`okey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`okey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`okey_dy` = 1
AND
/* Replace with a DOUBLE */
`okey_xx` = 4.56
AND
/* Replace with a ENUM('Call','Put','Pair') */
`okey_cp` = 'Call';

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='OptionNbboQuote' ORDER BY ordinal_position ASC;