Skip to main content
Version: Upcoming

OptionTheoVol

V8 Message Definiton

OptionTheoVol records contain client supplied theoretical volatility surface information resolved at the level if individual strikes. Strike volatilities, prices, greeks and SpiderRock surface volatilites and prices are all available. Values are computed on the fly using fast/accurate calculation methods as records are returned.

METADATA

AttributeValue
Topic5030-srse-calculators
MLink TokenClientTheo
ProductSRTheo
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
okey_atenum - AssetTypePRI'None'
okey_tsenum - TickerSrcPRI'None'
okey_tkVARCHAR(12)PRI''
okey_yrSMALLINT UNSIGNEDPRI, SEC0
okey_mnTINYINT UNSIGNEDPRI, SEC0
okey_dyTINYINT UNSIGNEDPRI, SEC0
okey_xxDOUBLEPRI0
okey_cpenum - CallPutPRI'Call'
theoModelVARCHAR(16)''required in where clause theo model must be associated with an accnt that is visible
clientFirmOutVARCHAR(16)''
yearsFLOAT0volatility years to expiration variable time metric SR holiday calendar
ticker_atenum - AssetType'None'underlier ticker
ticker_tsenum - TickerSrc'None'underlier ticker
ticker_tkVARCHAR(12)SEC''underlier ticker
uprcFLOAT0underlier price
ubidFLOAT0underlier bid
uaskFLOAT0underlier ask
obidFLOAT0option market bid
oaskFLOAT0option market ask
tvolFLOAT0theo vol
tvolBOpnFLOAT0theo buyopen vol
tvolSOpnFLOAT0theo sellopen vol
tprcFLOAT0theo vol price
tbPrcFLOAT0theo buy open price
tsPrcFLOAT0theo sell open price
tbClsPrcFLOAT0theo buy close price
tsClsPrcFLOAT0theo sell close price
veSlopeFLOAT0veSlope dVol dUprc assuming vol xAxis 0 remains constanthedgeDelta de ve 100 veSlope if hedging with this assumption
deFLOAT0implied greeks from theo surface
gaFLOAT0
thFLOAT0
veFLOAT0
voFLOAT0
vaFLOAT0
deDecayFLOAT0
roFLOAT0
phFLOAT0
sdivBFLOAT0normalized sdiv when buying
sdivSFLOAT0normalized sdiv when selling
xAxisFLOAT0xAxis value depends on xAxis definition in TheoExpSurface record
tvolAtmFLOAT0theo model volatility atm
ivolAtmFLOAT0SR Surface Volatility atm
svolFLOAT0SR Surface Volatility
sprcFLOAT0SR Surface Price
sDeFLOAT0SR Surface Delta
sVeFLOAT0SR Surface Vega
rateFLOAT0SR Rate average interest rate to expiration
sdivFLOAT0SR SDiv continuous dividendaccretive with discrete dividends
ddivFLOAT0SR DDiv sum of discrete dividend amounts prior to expiration
errTINYINT UNSIGNED0
theoErrVARCHAR(24)''
calcErrVARCHAR(24)''
theoStatusenum - TheoStatus'Hold'
quoteTimestampBIGINT0SR timestamp OptionNbboQuote publish time
liqTimestampBIGINT0SR timestamp LiveImpliedQuote publish time
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

SECONDARY INDEX (ExpirationIndex) (Not Unique)

FieldSequence
okey_yr1
okey_mn2
okey_dy3

SECONDARY INDEX (TickerIndex) (Not Unique)

FieldSequence
ticker_tk1

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTheo`.`MsgOptionTheoVol`
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 SRTheo.doccolumns WHERE TABLE_NAME='OptionTheoVol' ORDER BY ordinal_position ASC;