Skip to main content
Version: Upcoming

DirectStockPrint

V8 Message Definiton

The most recent (last) print record CBOE.

METADATA

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

Table Definition

FieldTypeKeyDefault ValueComment
ticker_atenum - AssetTypePRI'None'
ticker_tsenum - TickerSrcPRI'None'
ticker_tkVARCHAR(12)PRI''
prtSizeINT0print size
prtSizeFractionalFLOAT0print size today in fractional qty
isPrtSizeFractionalenum - YesNo'None'print size has fractional qty
prtPriceFLOAT0print price level
prtVolumeINT0cumulative print size today
prtVolumeFractionalFLOAT0cumulative print size fractional today
mrkPriceFLOAT0last regular market print price
clsPriceFLOAT0official closing price if available
openPriceFLOAT0official Open price if available
highPriceFLOAT0official High price if available
lowPriceFLOAT0official Low price if available
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

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRLive`.`MsgDirectStockPrint` (
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') NOT NULL DEFAULT 'None',
`ticker_ts` 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') NOT NULL DEFAULT 'None',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '',
`prtSize` INT NOT NULL DEFAULT 0 COMMENT 'print size',
`prtSizeFractional` FLOAT NOT NULL DEFAULT 0 COMMENT 'print size today in fractional qty',
`isPrtSizeFractional` ENUM('None','Yes','No') NOT NULL DEFAULT 'None' COMMENT 'print size has fractional qty',
`prtPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'print price level',
`prtVolume` INT NOT NULL DEFAULT 0 COMMENT 'cumulative print size today',
`prtVolumeFractional` FLOAT NOT NULL DEFAULT 0 COMMENT 'cumulative print size fractional today',
`mrkPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'last regular market print price',
`clsPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'official closing price (if available)',
`openPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'official Open price (if available)',
`highPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'official High price (if available)',
`lowPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'official Low price (if available)',
`prtTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'exchange high precision timestamp (if available)',
`netTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'inbound packet PTP timestamp from SR gateway switch; usually syncronized with facility grandfather clock',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`ticker_tk`,`ticker_at`,`ticker_ts`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='The most recent (last) print record CBOE.';

SELECT TABLE EXAMPLE QUERY

SELECT
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`prtSize`,
`prtSizeFractional`,
`isPrtSizeFractional`,
`prtPrice`,
`prtVolume`,
`prtVolumeFractional`,
`mrkPrice`,
`clsPrice`,
`openPrice`,
`highPrice`,
`lowPrice`,
`prtTimestamp`,
`netTimestamp`,
`timestamp`
FROM `SRLive`.`MsgDirectStockPrint`
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') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk';

Doc Columns Query

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