Schema: RootDefinitionV3 (ID: 9112)
One row per option root: its underlier, its delivery and exercise terms, and its pricing conventions. Sourced from the listing exchange for future options and from OCC for US equity options, and updated as SpiderRock receives changes.
Field 100 ticker is the MASTER UNDERLYING - the containing complex - which is not the same key as the root itself.
METADATA
| Attribute | Value |
|---|---|
| Topic | 9100-product-def-core |
| MLink Token | OptionDefinition |
| MLink Endpoint | MLink-Live |
| SRSE Product | SRReference |
Note: The symbol
=next to a field number indicates that it is a primary key.
BODY
| # | Field | Type | Default Value | Comment |
|---|---|---|---|---|
| 10= | root | TickerKey | the option root; AT and TS identify the universe it belongs to | |
| 100 | ticker | TickerKey | the line this root hangs on, or its product for an option on a future; a delivery basket only when it delivers more than one line | |
| 103 | osiRoot | string(8) | long version of the root. the short version is used in the TickerKey (for example RYAAY1, not RYAA1) | |
| 106 | ccode | TickerKey | the futures product code this root lists against, where the underlier is a future | |
| 109 | uPrcDriverKey | ExpiryKey | (optional) option underlier price driver (all option expiries) (overrides optExpiryDefinition); on a line with composites a market or currency composite, empty = the primary market's | |
| 112 | uPrcDriverType | enum : SpdrKeyType | Stock or Future (note: if Future and uPrcDriverKey does not have an expiry month then FrontMonth will be used) | |
| 115 | uPrcDriverKey2 | ExpiryKey | (optional) alternate option underlier price driver (all option expiries) (overrides optExpiryDefinition) | |
| 118 | uPrcDriverType2 | enum : SpdrKeyType | Stock or Future (note: if Future and uPrcDriverKey does not have an expiry month then FrontMonth will be used) | |
| 121 | uPrcBoundCCode | enum : YesNo | if Yes and if a future exists with ccode=CCode and futExpiry = optExpiry the use this future as a pricing bound | |
| 124 | expirationMap | enum : ExpirationMap | determines the underlying future (if any) | |
| 127 | underlierMode | enum : UnderlierMode | how the underlier price for this root is formed | |
| 130 | optionType | enum : OptionType | indicator for option type | |
| 133 | multihedge | enum : Multihedge | indicates type of multihedge (None = standard root; all other root types are not None) | |
| 136 | exerciseTime | enum : ExerciseTime | Exercise time type | |
| 139 | exerciseType | enum : ExerciseType | Exercise style | |
| 142 | timeMetric | enum : TimeMetric | trading time metric - 252 or 365 trading days or a weekly cycle type | |
| 223 | tradingPeriod | enum : TradingPeriod | the rotation rule that sets this product's trade date - TradingPeriodDefinitionV3 9015 | |
| 450 | pricingModel | enum : PricingModel | non-functional. temporarily added back for binary compatibility with mars | |
| 230 | calcModelType | enum : CalcModelType | [LogNormal or Normal] - default is determined by product characteristics and is usually correct. for binary compatibility with new quant package | |
| 231 | prcFramework | enum : PricingFramework | [Spot or Forward] (override; default is usually ok). for binary compatibility with new quant package | |
| 148 | moneynessType | enum : MoneynessType | moneyness (xAxis) convention: PctStd = (K / fUPrc - 1) / (axisVol * RT), LogStd = LOG(K/fUPrc) / (axisVol * RT), NormStd = (K - fUPrc) / (axisVol * RT) | |
| 151 | priceQuoteType | enum : PriceQuoteType | quoting style for the option series on the exchange, price (standard price quote) or volatility quoted (vol points) | |
| 154 | volumeTier | enum : VolumeTier | liquidity tier for this root, used to scale quoting and surface work | |
| 157 | positionLimit | int | max contract limit | |
| 163 | tickValue | float | $NLV value of a single tick change in display premium (pointValue = tickValue / tickSize) | |
| 166 | pointValue | float | $NLV value of a single point change in display premium (pointValue = tickValue / tickSize) | |
| 169 | pointCurrency | string(3) | ISO 4217 currency pointValue is denominated in | |
| 172 | strikeScale | double | manual strike price adjustment multiplier (used for some CME products if set, otherwise displayFactor is used) (okey_xx = strikePrice * manualStrikeScale) | |
| 175 | strikeRatio | float | note: effective strike = strike * strikeRatio - cashOnExercise | |
| 178 | cashOnExercise | float | cash delivered per contract; positive decreases the effective strike. Cash alone: multihedge AllCash, ticker stays on the line | |
| 181 | underliersPerCn | double | shares per contract; for a delivery-basket root, the contract's share count (100, or 1000 on a 1000-share contract) | |
| 184 | premiumMult | double | note: OCC premium/strike multiplier (usually 100) | |
| 222 | symbolRatio | float | note: currently used when AdjConvention is None, value of 0 implies symbolRatio is 1 | |
| 187 | adjConvention | enum : AdjConvention | how the root was adjusted for a corporate action; symbolRatio applies when this is None | |
| 190 | optPriceInc | enum : OptPriceInc | the premium tick regime for series on this root | |
| 193 | priceFormat | enum : PriceFormat | price display format | |
| 226 | minTickSize | double | min tick size used for European native exchange options | |
| 196 | tradeCurr | string(3) | unit the option is quoted in: ISO 4217, or GBX where the venue quotes pence; money is pointCurrency | |
| 199 | settleCurr | string(3) | ISO 4217 currency the option settles in | |
| 202 | strikeCurr | string(3) | unit strikes are quoted in: ISO 4217, or GBX for pence strikes | |
| 205 | defaultSurfaceRoot | TickerKey | fallback ticker to use for option surfaces if no native surfaces are available | |
| 251 | regionalCompositeRoot | TickerKey | regional composite ticker - set on European contributor products only | |
| 254 | isHftTaxLiable | enum : YesNo | if Yes options on this root are liable for high frequency taxation and require hft throttling for maker algos | |
| 257 | hftTaxTriggerTime | double | value in seconds that any order activity (new, cancel, update) needs witheld for to prevent triggering hft (default .5 seconds per Italian tax) | |
| 260 | description | string(80) | product description (sourced from Activ FidName) | |
| 266 | flexType | enum : FlexType | the FLEX type this root was minted as; Listed for a listed root. May-mint lives on the underlier (9106/9115/9109) | |
| 269 | clearVenue | string(8) | ClearVenueDefinitionV3 - where options on this root clear | |
| 900 | v3Source | enum : V3Source | Bridge = projected from a legacy record; Loader = written natively. None reads as Loader | |
| 232 | timestamp | DateTime | when this row was last written | |
| 456 | scheduleGroup | string(6) | -> ScheduleDefinitionV3 9057; an option-on-future root carries its product's code; empty = '*' | |
| 459 | settlementDays | byte | T+n of the current regime; 0 means T+0, never unknown | |
| 462 | bbgYrCode | enum : BbgYrCode | Bloomberg year-code and weekly rendering the drop-copy symbol builders key on; a counterparty rendering policy until one exists | |
| 468 | liveRateKey | TickerKey | empty = $MRGN-<pointCurrency>-RATE | |
| 471 | basisKey | TickerKey | skew basis function key; empty = $SPX | |
| 474 | reverseSkew | enum : YesNo | None = auto-determine the skew orientation from data | |
| 477 | uPrcDriverFxPair | TickerKey | the CUR pair (FxSpotDefinitionV3 9124) converting uPrcDriverKey's composite into the root's currency when its currency has no composite; empty otherwise |
REPEATING FIELDS
Exchange
| # | Field | Type | Default Value | Comment |
|---|---|---|---|---|
| 247 | mic | string(4) | ISO 10383 listing venue | |
| 250 | marketSegmentId | string(24) | venue market segment id | |
| 253 | productGroup | string(6) | venue product group (CME Asset) | |
| 256 | securityGroup | string(6) | venue security group (CME SecurityGroup) | |
| 259 | root | TickerKey | the venue's own root for this listing when it differs from the parent root; empty otherwise |
Get Schema API Call
- Python
- cUrl
import requests
# Replace with your desired MLINK URL
MLINK_PROD_URL = 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json'
# Replace with your MLINK API Key
API_KEY = 'XXXX-XXXX-XXXX-XXXX'
# Replace with your desired MsgType.
MSG_TYPE = 'RootDefinitionV3'
# Request Parameters for Get Schema Of The MsgType
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'getschema',
"msgType": MSG_TYPE,
}
response = requests.get(MLINK_PROD_URL, params=params)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getschema' \
--data-urlencode 'msgType=RootDefinitionV3'
Get Msg API Call
- Python
- cUrl
import requests
# Replace with your desired MLINK URL
MLINK_PROD_URL = 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json'
# Replace with your MLINK API Key
API_KEY = 'XXXX-XXXX-XXXX-XXXX'
# Replace with your desired MsgType.
MSG_TYPE = 'RootDefinitionV3'
# Replace with your pkey value for getting the specific message desired
PKEY = 'ReplaceThisValueForTheQueryToWork'
# Replace with your desired view. A "|" separated list of views can be provided
# If no view is provided, all views will be returned.
VIEW = 'ticker|osiRoot|ccode|uPrcDriverKey|uPrcDriverType|uPrcDriverKey2|uPrcDriverType2|uPrcBoundCCode|expirationMap|underlierMode|optionType|multihedge|exerciseTime|exerciseType|timeMetric|tradingPeriod|pricingModel|calcModelType|prcFramework|moneynessType|priceQuoteType|volumeTier|positionLimit|tickValue|pointValue|pointCurrency|strikeScale|strikeRatio|cashOnExercise|underliersPerCn|premiumMult|symbolRatio|adjConvention|optPriceInc|priceFormat|minTickSize|tradeCurr|settleCurr|strikeCurr|defaultSurfaceRoot|regionalCompositeRoot|isHftTaxLiable|hftTaxTriggerTime|description|flexType|clearVenue|v3Source|timestamp|scheduleGroup|settlementDays|bbgYrCode|liveRateKey|basisKey|reverseSkew|uPrcDriverFxPair'
# Replace with your desired where clause.
# a string in the form "field1:eq:valuse" or "(field1:ne:value1 & field1:ne:value2)
# "WHERE" clauses can contain the following comparison symbols:
# :gt: is greater than
# :ge: is greater than or equal to
# :lt: is less than
# :le: is less than or equal to
# :eq: is equal
# :ne: is not equal
# %26 is an AND statement
# | is an OR statement
# :sw: is starts with
# :ew: is ends with
# :cv: is contains values
# :nv: is does not contain value
# :cb: is contained between (two dates for instance) separated by '$'
WHERE = 'osiRoot:eq:ExampleString'
# Request Parameters for getmsg Of The MsgType
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'getmsg',
"pkey": PKEY,
"msgType": MSG_TYPE,
# Optional Parameters
"view": VIEW,
"where": WHERE
}
response = requests.get(MLINK_PROD_URL, params=params)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getmsg' \
--data-urlencode 'pkey=ReplaceThisValueForTheQueryToWork' \
--data-urlencode 'msgType=RootDefinitionV3' \
--data-urlencode 'view=ticker|osiRoot|ccode|uPrcDriverKey|uPrcDriverType|uPrcDriverKey2|uPrcDriverType2|uPrcBoundCCode|expirationMap|underlierMode|optionType|multihedge|exerciseTime|exerciseType|timeMetric|tradingPeriod|pricingModel|calcModelType|prcFramework|moneynessType|priceQuoteType|volumeTier|positionLimit|tickValue|pointValue|pointCurrency|strikeScale|strikeRatio|cashOnExercise|underliersPerCn|premiumMult|symbolRatio|adjConvention|optPriceInc|priceFormat|minTickSize|tradeCurr|settleCurr|strikeCurr|defaultSurfaceRoot|regionalCompositeRoot|isHftTaxLiable|hftTaxTriggerTime|description|flexType|clearVenue|v3Source|timestamp|scheduleGroup|settlementDays|bbgYrCode|liveRateKey|basisKey|reverseSkew|uPrcDriverFxPair' \
--data-urlencode 'where=osiRoot:eq:ExampleString'
Get Msgs API Call
- Python
- cUrl
import requests
# Replace with your desired MLINK URL
MLINK_PROD_URL = 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json'
# Replace with your MLINK API Key
API_KEY = 'XXXX-XXXX-XXXX-XXXX'
# Replace with your desired MsgType.
MSG_TYPE = 'RootDefinitionV3'
# Replace with your desired view. A "|" separated list of views can be provided
# If no view is provided, all views will be returned
VIEW = 'ticker|osiRoot|ccode|uPrcDriverKey|uPrcDriverType|uPrcDriverKey2|uPrcDriverType2|uPrcBoundCCode|expirationMap|underlierMode|optionType|multihedge|exerciseTime|exerciseType|timeMetric|tradingPeriod|pricingModel|calcModelType|prcFramework|moneynessType|priceQuoteType|volumeTier|positionLimit|tickValue|pointValue|pointCurrency|strikeScale|strikeRatio|cashOnExercise|underliersPerCn|premiumMult|symbolRatio|adjConvention|optPriceInc|priceFormat|minTickSize|tradeCurr|settleCurr|strikeCurr|defaultSurfaceRoot|regionalCompositeRoot|isHftTaxLiable|hftTaxTriggerTime|description|flexType|clearVenue|v3Source|timestamp|scheduleGroup|settlementDays|bbgYrCode|liveRateKey|basisKey|reverseSkew|uPrcDriverFxPair'
# Replace with your desired where clause.
# a string in the form "field1:eq:value" or "(field1:ne:value1 & field1:ne:value2)
# "WHERE" clauses can contain the following comparison symbols:
# :gt: is greater than
# :ge: is greater than or equal to
# :lt: is less than
# :le: is less than or equal to
# :eq: is equal
# :ne: is not equal
# %26 is an AND statement
# | is an OR statement
# :sw: is starts with
# :ew: is ends with
# :cv: is contains values
# :nv: is does not contain value
# :cb: is contained between (two dates for instance) separated by '$'
WHERE = 'osiRoot:eq:ExampleString'
# Replace with your desired limit of how many messages you receive. The default limit is 500
LIMIT = 500
# Order clause eg. "(field1:DESC | field1:ASC | field2:DESC:ABS | field2:ASC:ABS" (default is unordered; default is faster)
ORDER = 'ticker:ASC'
# Request Parameters for getmsgs Of The MsgType
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'getmsgs',
"msgType": MSG_TYPE,
# Optional Parameters
"view": VIEW,
"where": WHERE,
"limit": LIMIT,
"order": ORDER
}
response = requests.get(MLINK_PROD_URL, params=params)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getmsgs' \
--data-urlencode 'msgType=RootDefinitionV3' \
--data-urlencode 'view=ticker|osiRoot|ccode|uPrcDriverKey|uPrcDriverType|uPrcDriverKey2|uPrcDriverType2|uPrcBoundCCode|expirationMap|underlierMode|optionType|multihedge|exerciseTime|exerciseType|timeMetric|tradingPeriod|pricingModel|calcModelType|prcFramework|moneynessType|priceQuoteType|volumeTier|positionLimit|tickValue|pointValue|pointCurrency|strikeScale|strikeRatio|cashOnExercise|underliersPerCn|premiumMult|symbolRatio|adjConvention|optPriceInc|priceFormat|minTickSize|tradeCurr|settleCurr|strikeCurr|defaultSurfaceRoot|regionalCompositeRoot|isHftTaxLiable|hftTaxTriggerTime|description|flexType|clearVenue|v3Source|timestamp|scheduleGroup|settlementDays|bbgYrCode|liveRateKey|basisKey|reverseSkew|uPrcDriverFxPair' \
--data-urlencode 'where=osiRoot:eq:ExampleString' \
--data-urlencode 'limit=500' \
--data-urlencode 'order=ticker:ASC'
Get Aggregate API Call
- Python
- cUrl
import requests
# Replace with your desired MLINK URL
MLINK_PROD_URL = 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json'
# Replace with your MLINK API Key
API_KEY = 'XXXX-XXXX-XXXX-XXXX'
# Replace with your desired MsgType.
MSG_TYPE = 'RootDefinitionV3'
# Replace with fields you want to see aggregate values for. A "|" separated list of measures should be provided
MEASURE = 'ticker|osiRoot|ccode|uPrcDriverKey|uPrcDriverType|uPrcDriverKey2|uPrcDriverType2|uPrcBoundCCode|expirationMap|underlierMode|optionType|multihedge|exerciseTime|exerciseType|timeMetric|tradingPeriod|pricingModel|calcModelType|prcFramework|moneynessType|priceQuoteType|volumeTier|positionLimit|tickValue|pointValue|pointCurrency|strikeScale|strikeRatio|cashOnExercise|underliersPerCn|premiumMult|symbolRatio|adjConvention|optPriceInc|priceFormat|minTickSize|tradeCurr|settleCurr|strikeCurr|defaultSurfaceRoot|regionalCompositeRoot|isHftTaxLiable|hftTaxTriggerTime|description|flexType|clearVenue|v3Source|timestamp|scheduleGroup|settlementDays|bbgYrCode|liveRateKey|basisKey|reverseSkew|uPrcDriverFxPair'
# Replace with fields you want to see aggregated. A "|" separated list of fields should be provided
GROUP = 'uPrcDriverType|uPrcDriverType2|uPrcBoundCCode|expirationMap|underlierMode|optionType|multihedge|exerciseTime|exerciseType|timeMetric|tradingPeriod|pricingModel|calcModelType|prcFramework|moneynessType|priceQuoteType|volumeTier|adjConvention|optPriceInc|priceFormat|isHftTaxLiable|flexType|v3Source|bbgYrCode|reverseSkew'
# Replace with your desired where clause.
# a string in the form "field1:eq:value" or "(field1:ne:value1 & field1:ne:value2)
# "WHERE" clauses can contain the following comparison symbols:
# :gt: is greater than
# :ge: is greater than or equal to
# :lt: is less than
# :le: is less than or equal to
# :eq: is equal
# :ne: is not equal
# %26 is an AND statement
# | is an OR statement
# :sw: is starts with
# :ew: is ends with
# :cv: is contains values
# :nv: is does not contain value
# :cb: is contained between (two dates for instance) separated by '$'
WHERE = 'osiRoot:eq:ExampleString'
# Request Parameters for getaggregate Of The MsgType
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'getaggregate',
"msgType": MSG_TYPE,
"measure": MEASURE,
"group": GROUP,
# Optional Parameters
"where": WHERE,
}
response = requests.get(MLINK_PROD_URL, params=params)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getaggregate' \
--data-urlencode 'msgType=RootDefinitionV3' \
--data-urlencode 'measure=ticker|osiRoot|ccode|uPrcDriverKey|uPrcDriverType|uPrcDriverKey2|uPrcDriverType2|uPrcBoundCCode|expirationMap|underlierMode|optionType|multihedge|exerciseTime|exerciseType|timeMetric|tradingPeriod|pricingModel|calcModelType|prcFramework|moneynessType|priceQuoteType|volumeTier|positionLimit|tickValue|pointValue|pointCurrency|strikeScale|strikeRatio|cashOnExercise|underliersPerCn|premiumMult|symbolRatio|adjConvention|optPriceInc|priceFormat|minTickSize|tradeCurr|settleCurr|strikeCurr|defaultSurfaceRoot|regionalCompositeRoot|isHftTaxLiable|hftTaxTriggerTime|description|flexType|clearVenue|v3Source|timestamp|scheduleGroup|settlementDays|bbgYrCode|liveRateKey|basisKey|reverseSkew|uPrcDriverFxPair' \
--data-urlencode 'group=uPrcDriverType|uPrcDriverType2|uPrcBoundCCode|expirationMap|underlierMode|optionType|multihedge|exerciseTime|exerciseType|timeMetric|tradingPeriod|pricingModel|calcModelType|prcFramework|moneynessType|priceQuoteType|volumeTier|adjConvention|optPriceInc|priceFormat|isHftTaxLiable|flexType|v3Source|bbgYrCode|reverseSkew' \
--data-urlencode 'where=osiRoot:eq:ExampleString'
Get Count API Call
- Python
- cUrl
import requests
# Replace with your desired MLINK URL
MLINK_PROD_URL = 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json'
# Replace with your MLINK API Key
API_KEY = 'XXXX-XXXX-XXXX-XXXX'
# Replace with your desired MsgType.
MSG_TYPE = 'RootDefinitionV3'
# Replace with your desired where clause.
# a string in the form "field1:eq:value" or "(field1:ne:value1 & field1:ne:value2)
# "WHERE" clauses can contain the following comparison symbols:
# :gt: is greater than
# :ge: is greater than or equal to
# :lt: is less than
# :le: is less than or equal to
# :eq: is equal
# :ne: is not equal
# %26 is an AND statement
# | is an OR statement
# :sw: is starts with
# :ew: is ends with
# :cv: is contains values
# :nv: is does not contain value
# :cb: is contained between (two dates for instance) separated by '$'
WHERE = 'osiRoot:eq:ExampleString'
# Request Parameters for getCount Of The MsgType
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'getcount',
"msgType": MSG_TYPE,
# Optional Parameters
"where": WHERE,
}
response = requests.get(MLINK_PROD_URL, params=params)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getcount' \
--data-urlencode 'msgType=RootDefinitionV3' \
--data-urlencode 'where=osiRoot:eq:ExampleString'