ProductDefinitionV2
SpiderRock normalized exchange futures contract definitions. An option series is ProductExchMappingV3 (9130) under its RootDefinitionV3 (9112) and OptExpiryDefinitionV3 (9121); a spread is SpreadDefinitionV3 (9300) and SpreadExchIDV3 (9303). TickerDefinitions, RootDefinitions and CCodeDefinitions are consistent with these records.
METADATA
| Attribute | Value |
|---|---|
| Topic | 4335-product-definition |
| MLink Token | FutureDefinition |
| Product | SRAnalytics |
| accessType | SELECT |
| MLink Endpoint | MLink-Live |
Table Definition
| Field | Type | Key | Default Value | Comment |
|---|---|---|---|---|
| secKey_at | enum - AssetType | PRI | 'None' | SR Security Key can be partially filled in look at secType |
| secKey_ts | enum - TickerSrc | PRI | 'None' | SR Security Key can be partially filled in look at secType |
| secKey_tk | VARCHAR(12) | PRI | '' | SR Security Key can be partially filled in look at secType |
| secKey_yr | SMALLINT UNSIGNED | PRI | 0 | SR Security Key can be partially filled in look at secType |
| secKey_mn | TINYINT UNSIGNED | PRI | 0 | SR Security Key can be partially filled in look at secType |
| secKey_dy | TINYINT UNSIGNED | PRI | 0 | SR Security Key can be partially filled in look at secType |
| secKey_xx | DOUBLE | PRI | 0 | SR Security Key can be partially filled in look at secType |
| secKey_cp | enum - CallPut | PRI | 'Call' | SR Security Key can be partially filled in look at secType |
| secType | enum - SpdrKeyType | PRI | 'None' | Security Type Future |
| securityID | TINYTEXT | '' | unique exchange id exch assigned | |
| ticker_at | enum - AssetType | 'None' | master underlier | |
| ticker_ts | enum - TickerSrc | 'None' | master underlier | |
| ticker_tk | VARCHAR(12) | '' | master underlier | |
| productClass | enum - ProductClass | 'None' | ||
| productGroup | VARCHAR(6) | '' | Underlying product code IE All GE Eurodollar spreads options futures will be in the same productGroup This is the Asset field from the SecurityDefinition message | |
| securityGroup | VARCHAR(6) | '' | Exchange specific code for a group of related securities that are all affected by market events IE All Emini weekly options EW This is SecurityGroup field from the SecurityDefinition messages | |
| marketSegmentID | INT | 0 | Exchange specific market segment identifier | |
| ricCode | VARCHAR(32) | '' | Full RIC Code only provided for nonuser defined instruments | |
| securityDesc | TINYTEXT | '' | full exchange symbol | |
| exchange | VARCHAR(8) | '' | listing exchange | |
| productType | enum - ProductType | 'None' | ||
| productTerm | enum - ProductTerm | 'None' | ||
| productIndexType | enum - ProductIndexType | 'None' | ||
| productRate | FLOAT | 0 | ||
| contractSize | FLOAT | 0 | ||
| contractUnit | enum - ContractUnit | 'None' | ||
| priceFormat | enum - PriceFormat | 'None' | ||
| minTickSize | DOUBLE | 0 | ||
| displayFactor | DOUBLE | 0 | ||
| minLotSize | SMALLINT | 0 | minimum lot size | |
| bookDepth | SMALLINT | 0 | levels in the Globex quote book | |
| impliedBookDepth | SMALLINT | 0 | levels in the globex implied quote book 0 if no implied depth | |
| impMarketInd | SMALLINT | 0 | implied market type 0 no implied 1 implied in 2 implied out 3 implied in out | |
| minPriceIncrementAmount | FLOAT | 0 | depricate minimum price amount points per handle | |
| parValue | FLOAT | 0 | per contract par value | |
| contMultiplier | FLOAT | 0 | contract deliverable multipler | |
| tradeCurr | enum - Currency | 'None' | ||
| settleCurr | enum - Currency | 'None' | ||
| expiration | DATETIME(6) | '1900-01-01 00:00:00.000000' | future expiration or option expiration if product is an option we use the last TRADING day as the expiration date | |
| maturity | DATE | '1900-01-01' | future maturity date or option maturity date this is the delivery month | |
| userDefined | enum - YesNo | 'None' | ||
| decayStartYear | SMALLINT | 0 | ||
| decayStartMonth | TINYINT UNSIGNED | 0 | ||
| decayStartDay | TINYINT UNSIGNED | 0 | ||
| decayQty | INT | 0 | daily decay quantity | |
| priceRatio | DOUBLE | 0 | price ratio for interest rate intercommodity spreads | |
| isHftTaxLiable | enum - YesNo | 'None' | if Yes spreads in this product def are liable for high frequency taxation and require hft throttling for maker algos | |
| hftTaxTriggerTime | DOUBLE | 0 | value in seconds that any order activity new cancel update needs witheld for to prevent triggering hft default 5 seconds per Italian tax | |
| timestamp | DATETIME(6) | '1900-01-01 00:00:00.000000' |
PRIMARY KEY DEFINITION (Unique)
| Field | Sequence |
|---|---|
| secKey_tk | 1 |
| secKey_yr | 2 |
| secKey_mn | 3 |
| secKey_dy | 4 |
| secKey_xx | 5 |
| secKey_cp | 6 |
| secKey_at | 7 |
| secKey_ts | 8 |
| secType | 9 |
SELECT TABLE EXAMPLE QUERY
SELECT *
FROM `SRAnalytics`.`MsgProductDefinitionV2`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE','CRDT','GCR','SWAP','ENT','MBS','SET','LOAN') */
`secKey_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','CRCY','CMDY','DTI','SOVN','SR_US','SR_EU','SR_AP','SR_UK','USD','EUR','GBP','CHF','JPY','CAD','AUD','HKD','KRW','INR','SGD','TWD','CNY','CNH','BRL','MXN','ZAR','SEK','NOK','DKK','PLN','ILS','TRY','NZD','THB','MYR','IDR','PHP','CZK','HUF','SAR','AED','CLP','COP') */
`secKey_ts` = 'NONE'
AND
/* Replace with a VARCHAR(12) */
`secKey_tk` = 'Example_secKey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`secKey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`secKey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`secKey_dy` = 1
AND
/* Replace with a DOUBLE */
`secKey_xx` = 4.56
AND
/* Replace with a ENUM('Call','Put','Pair') */
`secKey_cp` = 'CALL'
AND
/* Replace with a ENUM('None','Stock','Future','Option','MLeg') */
`secType` = 'NONE';
Doc Columns Query
SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='ProductDefinitionV2' ORDER BY ordinal_position ASC;