Skip to main content
Version: 8.6.9.2

FlexOptionDefinition

V8 Message Definiton

One record per flex OptionKey. BaseObj:Option, so a create hook calling Option.FindOrCreate builds the Option, its OptionExpiry and the call/put OptionPair into the normal chain — flex instruments participate in expiry chains exactly as listed options do, and consumers walk the chain rather than a side registry. The root carries the contract definition (RootDefinition optionType/exerciseTime/exerciseType and the deliverable terms); this record only asserts existence. createDttm is WRITE-ONCE: it is the first moment we became aware of the instrument, so a republish or a cache reload must not re-stamp it.

METADATA

AttributeValue
Topic4335-product-definition
MLink TokenOptionDefinition
ProductSRLive
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
okey_atenum - AssetTypePRI'None'
okey_tsenum - TickerSrcPRI'None'
okey_tkVARCHAR(12)PRI''
okey_yrSMALLINT UNSIGNEDPRI0
okey_mnTINYINT UNSIGNEDPRI0
okey_dyTINYINT UNSIGNEDPRI0
okey_xxDOUBLEPRI0
okey_cpenum - CallPutPRI'Call'
createDttmDATETIME(6)'1900-01-01 00:00:00.000000'first time we became aware of this instrument writeonce
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 `SRLive`.`MsgFlexOptionDefinition`
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='FlexOptionDefinition' ORDER BY ordinal_position ASC;