Skip to main content
Version: 8.4.10.2

OptionCorpActionRecordV5

V8 Message Definiton

METADATA

AttributeValue
Topic4740-risk-v5
MLink TokenClientRisk
ProductSRRisk
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
root_atenum - AssetTypePRI'None'root at EOD on trading date
root_tsenum - TickerSrcPRI'None'root at EOD on trading date
root_tkVARCHAR(12)PRI''root at EOD on trading date
exDateDATEPRI'1900-01-01'exdate of the action
sodRoot_atenum - AssetType'None'new mh root post adjustment
sodRoot_tsenum - TickerSrc'None'new mh root post adjustment
sodRoot_tkVARCHAR(12)''new mh root post adjustment
markMultiplierDOUBLE0sodMark eodMark x markMultiplier
positionMultiplierINT0sodPosition eodPosition x positionMultiplier
strikeFactorDOUBLE0sodStrike eodStrike x strikeMultiplier strikeFactor
strikeMultiplierDOUBLE0sodStrike eodStrike x strikeMultiplier strikeFactor
strikePrecisionSMALLINT0number of decimal places to round after adjusting strike usually 2
corpActionTextTINYTEXT''descriptive detail optional
corpActionTypeenum - CAType'Other'corporate action type
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
root_tk1
root_at2
root_ts3
exDate4

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRRisk`.`MsgOptionCorpActionRecordV5` (
`root_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'root at EOD on trading date',
`root_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'root at EOD on trading date',
`root_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'root at EOD on trading date',
`exDate` DATE NOT NULL DEFAULT '1900-01-01' COMMENT 'ex-date of the action',
`sodRoot_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT '(new) mh root post adjustment',
`sodRoot_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT '(new) mh root post adjustment',
`sodRoot_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT '(new) mh root post adjustment',
`markMultiplier` DOUBLE NOT NULL DEFAULT 0 COMMENT 'sodMark = eodMark x markMultiplier',
`positionMultiplier` INT NOT NULL DEFAULT 0 COMMENT 'sodPosition = eodPosition x positionMultiplier',
`strikeFactor` DOUBLE NOT NULL DEFAULT 0 COMMENT 'sodStrike = eodStrike x strikeMultiplier - strikeFactor',
`strikeMultiplier` DOUBLE NOT NULL DEFAULT 0 COMMENT 'sodStrike = eodStrike x strikeMultiplier - strikeFactor',
`strikePrecision` SMALLINT NOT NULL DEFAULT 0 COMMENT 'number of decimal places to round after adjusting strike (usually 2)',
`corpActionText` TINYTEXT NOT NULL DEFAULT '' COMMENT 'descriptive detail (optional)',
`corpActionType` ENUM('Other','CashDividend','SpecialDividend','StockDividend','StockSplitNonInt','ReverseStockSplit','StockSplit','Merger','RightsOffering','Spinoff','SymbolConversion','Consolidation','NameChange','Liquidation') NOT NULL DEFAULT 'Other' COMMENT 'corporate action type',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`root_tk`,`root_at`,`root_ts`,`exDate`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='';

SELECT TABLE EXAMPLE QUERY

SELECT
`root_at`,
`root_ts`,
`root_tk`,
`exDate`,
`sodRoot_at`,
`sodRoot_ts`,
`sodRoot_tk`,
`markMultiplier`,
`positionMultiplier`,
`strikeFactor`,
`strikeMultiplier`,
`strikePrecision`,
`corpActionText`,
`corpActionType`,
`timestamp`
FROM `SRRisk`.`MsgOptionCorpActionRecordV5`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`root_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','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`root_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`root_tk` = 'Example_root_tk'
AND
/* Replace with a DATE */
`exDate` = '2022-01-01';

Doc Columns Query

SELECT * FROM SRRisk.doccolumns WHERE TABLE_NAME='OptionCorpActionRecordV5' ORDER BY ordinal_position ASC;