Skip to main content
Version: Upcoming

StockPrint

V8 Message Definiton

The most recent (last) print record for CTS/UTDF markets as well as SpiderRock synthetic markets. Records also incorporate some summary detail and closing mark information as well.

METADATA

AttributeValue
Topic2990-market-data-stock
MLink TokenEqtMktData
ProductSRLive
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
ticker_atenum - AssetTypePRI'None'
ticker_tsenum - TickerSrcPRI'None'
ticker_tkVARCHAR(12)PRI''
prtExchenum - StkExch'None'print exch
prtSizeINT0print size
prtSizeFractionalFLOAT0print size today in fractional qty
isPrtSizeFractionalenum - YesNo'None'print size has fractional qty
prtPriceFLOAT0print price level
prtClusterNumINT0incremental print cluster counter one counter per ticker used to group prints into clusters
prtClusterSizeINT0cumulative size of prints in this sequence prints same or more aggressive price with less than 25 ms elapsing since first print can span exchanges
prtClusterSizeFractionalFLOAT0cumulative fractional size of prints in this sequence prints same or more aggressive price with less than 25 ms elapsing since first print can span exchanges
prtVolumeINT0cumulative print size today
prtVolumeFractionalFLOAT0cumulative print size fractional today
mrkPriceFLOAT0last regular market print price
clsPriceFLOAT0official closing price if available
prtTypeenum - StkPrintType'None'
printCodesVARCHAR(36)''European trade condition codes
prtCond1TINYINT UNSIGNED0print condition from SIP feed
prtCond2TINYINT UNSIGNED0
prtCond3TINYINT UNSIGNED0
prtCond4TINYINT UNSIGNED0
ebidFLOAT0exchange bid print time SIP feed
easkFLOAT0exchange ask print time SIP feed
ebszINT0exchange bid size
easzINT0exchange ask size
eageFLOAT0age of prevailing quote at time of print
prtSideenum - PrtSide'None'
prtTimestampBIGINT0exchange high precision timestamp if available
netTimestampBIGINT0inbound packet PTP timestamp from SR gateway switch usually syncronized with facility grandfather clock
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ticker_tk1
ticker_at2
ticker_ts3

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRLive`.`MsgStockPrint`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`ticker_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') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk';

Doc Columns Query

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