Skip to main content
Version: 8.6.9.2

AtsDegrossFlexRequest

V8 Message Definiton

Published by the degrossing execution engine after the close, one record per instrument we want to exist for the next trading day and do not already see as a FlexOptionDefinition (4435). Keyed by the OptionKey we want, so requested-versus-existing is a straight key comparison. The request set is \"desired strike x 3 auction expiries x call and put, minus what already exists\", which covers both triggers without special cases: a strike that drifted past the selection band yields six requests at a new strike, and a calendar roll yields two at the existing strike for the newly appeared expiry.

METADATA

AttributeValue
Topic2270-execution-engine
MLink TokenClientTrading
ProductSRTrade
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
okey_atenum - AssetTypePRI'None'the flex instrument requested
okey_tsenum - TickerSrcPRI'None'the flex instrument requested
okey_tkVARCHAR(12)PRI''the flex instrument requested
okey_yrSMALLINT UNSIGNEDPRI0the flex instrument requested
okey_mnTINYINT UNSIGNEDPRI0the flex instrument requested
okey_dyTINYINT UNSIGNEDPRI0the flex instrument requested
okey_xxDOUBLEPRI0the flex instrument requested
okey_cpenum - CallPutPRI'Call'the flex instrument requested
ticker_atenum - AssetType'None'underlier convenience the root maps to it
ticker_tsenum - TickerSrc'None'underlier convenience the root maps to it
ticker_tkVARCHAR(12)''underlier convenience the root maps to it
forTradeDateDATE'1900-01-01'trade date the instrument is needed for
requestDttmDATETIME(6)'1900-01-01 00:00:00.000000'
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
okey_tk1
okey_yr2
okey_mn3
okey_dy4
okey_xx5
okey_cp6
okey_at7
okey_ts8

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTrade`.`MsgAtsDegrossFlexRequest`
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 SRTrade.doccolumns WHERE TABLE_NAME='AtsDegrossFlexRequest' ORDER BY ordinal_position ASC;