Skip to main content
Version: Upcoming

SRParentBrkrDetail

V8 Message Definiton

SpdrParentBrkrDetail records are created/published by SpiderRock Execution Engines. Each record describes the current active detail of a single parent broker.

METADATA

AttributeValue
Topic3985-parent-orders
MLink TokenInternal
ProductSRTrade
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
accntVARCHAR(16)PRI, SEC''
secKey_atenum - AssetTypePRI'None'
secKey_tsenum - TickerSrcPRI'None'
secKey_tkVARCHAR(12)PRI''
secKey_yrSMALLINT UNSIGNEDPRI0
secKey_mnTINYINT UNSIGNEDPRI0
secKey_dyTINYINT UNSIGNEDPRI0
secKey_xxDOUBLEPRI0
secKey_cpenum - CallPutPRI'Call'
secTypeenum - SpdrKeyTypePRI'None'
spdrSourceenum - SpdrSourcePRI'None'
groupingCodeCHAR(19)PRI'0000-0000-0000-0000'
orderSideenum - BuySellPRI'None'
clientFirmVARCHAR(16)PRI, SEC''SR client firm
userNameVARCHAR(24)SEC''SR user name string
engineNameTINYTEXT''server stripe
parentNumberCHAR(19)'0000-0000-0000-0000'SR parent number
baseParentNumberCHAR(19)'0000-0000-0000-0000'
riskGroupIdCHAR(19)'0000-0000-0000-0000'all orders with the same riskGroupId share a common set of risk countersGrp risk limits apply to these shared counters
triggerGroupIdBIGINT0
strategyVARCHAR(36)''parent order strategy description only
ticker_atenum - AssetType'None'underlier ticker
ticker_tsenum - TickerSrc'None'underlier ticker
ticker_tkVARCHAR(12)''underlier ticker
spdrStageTypeenum - SpdrStageType'None'parent is a staged order ToolVisible
startTypeenum - StartType'None'
maxExposureSizeINT0maximum simultaneous cumulative child order public size exposure 1 orderActiveSize order can overfill if orderActiveSize and numMakeExchanges 1
numMakeExchangesTINYINT UNSIGNED0number of exchanges 1 4 on which to publish public making orders Effective number might be less than requested number if sufficient exchanges are not available
publicSizeenum - PublicSizeHandling'None'public order size handling
canOverlapCxlReplenum - YesNo'None'can execution engines overlap cancelreplace operations order can overfill if YES at most one active overlapping cxlreplace operation for each parent order
progressRuleenum - ProgressRule'None'Immediate all size immediately availableTWAP size released in time intervalsVWAP size released in volume intervals
progressSliceCntTINYINT UNSIGNED0number of progress slices to use default 4 or 8 max 20
progressExposeTimeINT0minimum time secs to expose order 0 no minimum used to guarantee that the order is exposed at midmarket for some time before actively taking
vwapParticipationFLOAT0target vwap participation rate target of trade activity
minMktOnClosePctTINYINT UNSIGNED0Minimum pct 0 100 of order reserved for the onclose auction
triggerTypeenum - TriggerType'None'type of trigger PrintVolSurfVol only for options print print or actionable quote
triggerLevelFLOAT0stoptrigger price for parent order to go active
marketSessionenum - MarketSession'None'
startDttmDATETIME(6)'1900-01-01 00:00:00.000000'Order Start DateTime
orderDurationINT0optional number of seconds
goodTillDttmDATETIME(6)'1900-01-01 00:00:00.000000'optional default 20990101
expireDttmDATETIME(6)'1900-01-01 00:00:00.000000'EE Parent Order Expiry Dttm
cxlUPrcRangeenum - UPrcCxl'None'cancel spdr order ifwhen outside stock price range
minUBidFLOAT0optional
maxUAskFLOAT0optional 001 none
minMaxTypeenum - MinMaxType'None'if Prc minUBidmaxUAsk are expressed as prices if Pct then they are expresses as pct change since parent order arrival
minOptionPxFLOAT0optional option price floor for tied to stock orders
maxChildOrdersINT0maximum number of child orders that can be generated by this parent order order will terminate ifwhen this cap is reachedzero or neg unlimited
exchMaskBIGINT0eligible exchanges 0 all
externExDestVARCHAR(16)''
execBrkrCodeVARCHAR(16)''execBrkrCode attached to parent order if any
positionTypeenum - PositionType'None'
ssaleFlagenum - ShortSaleFlag'None'
locateQuanINT0available locate quantity if selling short child order send time
locateFirmVARCHAR(6)''firm granting the locate also locate firm used on street FIX orders
locatePoolVARCHAR(16)''locate pool firm granting the locate
parentOrderHandlingenum - ParentOrderHandling'None'
parentBalanceHandlingenum - ParentBalanceHandling'None'
atsVisibilityenum - AtsVisibility'None'
orderLimitTypeenum - SpdrLimitType'None'
takeLimitClassenum - SpdrLimitClass'Simple'Simple LimitPrice Surface BESTLimitPrice SurfLimit Probability BESTLimitPrice ProbLimit
makeLimitClassenum - SpdrLimitClass'Simple'Simple LimitPrice Surface BESTLimitPrice SurfLimit Probability BESTLimitPrice ProbLimit
takeReachRuleenum - ReachRule'None'Immediate reach room immediately available Delayed available after 13 seconds Passive available if contra side aggresses WeakOnly only take if available size avgMarketSize ISOSweep Intermarket Sweep requires WaitTrigger
orderPrcLimitDOUBLE0Applies if LimitType Prc
orderRefUPrcDOUBLE0defaultunderliermid
orderRefDeltaFLOAT0defaultoptiondelta
orderRefGammaFLOAT0defaultoptiongamma
orderRefThetaFLOAT0
orderRefYearsFLOAT0
orderVolLimitFLOAT0Applies if LimitType Vol uses SR dividends and borrow rates
rateOverrideFLOAT0zero ignore zero override
sdivOverrideFLOAT0
ddivOverrideTEXT''discrete dividend string override yearsToExpirydivYearsdivAmountdivYearsdivAmount
overrideCodeenum - OverrideCode'None'
orderPrcOffsetDOUBLE0default0
takeAlphaTypeenum - AlphaType'None'Applies if takeLimitClass Probability
makeAlphaTypeenum - AlphaType'None'Applies if makeLimitClass Probability
takeAlphaFactorFLOAT022 takeProbLimit MAXtakeProbability takeProbAvg takeAlphaFactor takeProbStd if takeAlphaType Relative
makeAlphaFactorFLOAT022 makeProbLimit MAXmakeProbability makeProbAvg makeAlphaFactor makeProbStd if makeAlphaType Relative
takeProbabilityFLOAT0takeProbLimit takeProbability if takeAlphaType Static
makeProbabilityFLOAT0makeProbLimit makeProbability if makeAlphaType Static
takeSurfPrcOffsetDOUBLE0default0
takeSurfVolOffsetFLOAT0default0
takeSurfWidthOffsetFLOAT01x to 1x 10 05 avgMktWidth 10 05 avgMktWidth
makeSurfPrcOffsetDOUBLE0default0
makeSurfVolOffsetFLOAT0default0
makeSurfWidthOffsetFLOAT01x to 1x 10 05 avgMktWidth 10 05 avgMktWidth
refRMetric1Srcenum - RMetricSource'None'
refRMetric2Srcenum - RMetricSource'None'
refRMetric3Srcenum - RMetricSource'None'
refRMetric4Srcenum - RMetricSource'None'
refRMetric5Srcenum - RMetricSource'None'
refRMetric6Srcenum - RMetricSource'None'
refRMetric7Srcenum - RMetricSource'None'
orderRefRMetric1FLOAT0user supplied RMetric1 value used in RiskGroupID risk controls netRMetric1 sumfillQty orderRefRMetric1 underlierPerCn
orderRefRMetric2FLOAT0user supplied RMetric2 value used in RiskGroupID risk controls netRMetric2 sumfillQty orderRefRMetric2 underlierPerCn
orderRefRMetric3FLOAT0user supplied RMetric3 value used in RiskGroupID risk controls netRMetric3 sumfillQty orderRefRMetric3 underlierPerCn
orderRefRMetric4FLOAT0user supplied RMetric4 value used in RiskGroupID risk controls netRMetric4 sumfillQty orderRefRMetric4 underlierPerCn
orderRefRMetric5FLOAT0user supplied RMetric5 value used in RiskGroupID risk controls netRMetric5 sumfillQty orderRefRMetric5 underlierPerCn
orderRefRMetric6FLOAT0user supplied RMetric6 value used in ExpDay risk controls netRMetric6 sumfillQty orderRefRMetric6 underlierPerCn
orderRefRMetric7FLOAT0user supplied RMetric7 value used in SymDay risk controls netRMetric7 sumfillQty orderRefRMetric7 underlierPerCn
expDayWtVegaOffsetFLOAT0max acctsymbol day wtVega offset target
maxExpDayWtVegaLnFLOAT0max accntexpiration day time weighted vega long positive number1no limitrisk limit max limit current net counter offset
maxExpDayWtVegaShFLOAT0max accntexpiration day time weighted vega short positive number1no limitrisk limit max limit current net counter offset
maxExpDayRMetric6LnFLOAT0max acctexpiration day rMetric6 long positive number1no limitrisk limit max limit current net counter
maxExpDayRMetric6ShFLOAT0max acctexpiration day rMetric6 short positive number1no limitrisk limit max limit current net counter
symDayDDeltaOffsetFLOAT0max acctsymbol day delta offset target
maxSymDayDDeltaLnFLOAT0max acctsymbol day delta long positive number1no limitrisk limit max limit current net counter offset
maxSymDayDDeltaShFLOAT0max acctsymbol day delta short positive number1no limitrisk limit max limit current net counter offset
symDayVegaOffsetFLOAT0max acctsymbol day vega offset target
maxSymDayVegaLnFLOAT0max acctsymbol day vega long positive number1no limitrisk limit max limit current net counter offset
maxSymDayVegaShFLOAT0max acctsymbol day vega short positive number1no limitrisk limit max limit current net counter offset
symDayWtVegaOffsetFLOAT0max acctsymbol day wtVega offset target
maxSymDayWtVegaLnFLOAT0max acctsymbol day time weighted vega long positive number1no limitrisk limit max limit current net counter offset
maxSymDayWtVegaShFLOAT0max acctsymbol day time weighted vega short positive number1no limitrisk limit max limit current net counter offset
maxSymDayRMetric7LnFLOAT0max acctsymbol day rMetric7 long positive number1no limitrisk limit max limit current net counter
maxSymDayRMetric7ShFLOAT0max acctsymbol day rMetric7 short positive number1no limitrisk limit max limit current net counter
maxGrpDayDDeltaLnFLOAT0max acctriskGroup day delta long positive number1no limitrisk limit max limit current net counter
maxGrpDayDDeltaShFLOAT0max acctriskGroup day delta short positive number1no limitrisk limit max limit current net counter
maxGrpDayVegaLnFLOAT0max acctriskGroup day vega long positive number1no limitrisk limit max limit current net counter
maxGrpDayVegaShFLOAT0max acctriskGroup day vega short positive number1no limitrisk limit max limit current net counter
maxGrpDayVegaAbsFLOAT0max acctriskGroup day vega abs positive number1no limitrisk limit max limit abscurrent net counter
grpDayVegaRatioFLOAT0target bot sld ratio eg ratio20 means that neutral is bot vega 2x sld vega
maxAccDayWtVegaLnFLOAT0max accnt day time weighted vega long positive number1no limitrisk limit max limit current net counter offset
maxAccDayWtVegaShFLOAT0max accnt day time weighted vega short positive number1no limitrisk limit max limit current net counter offset
maxAccDayDDeltaLnFLOAT0max accnt day delta long positive number1no limitrisk limit max limit current net counter offset
maxAccDayDDeltaShFLOAT0max accnt day delta short positive number1no limitrisk limit max limit current net counter offset
maxGrpDayContractsLnINT0max acctriskGroup day opt contracts long positive number1no limitrisk limit max limit current net counter
maxGrpDayContractsShINT0max acctriskGroup day opt contracts short positive number1no limitrisk limit max limit current net counter
maxGrpDayContractsAbsINT0max acctriskGroup day opt contracts abs positive number1no limitrisk limit max limit abscurrent net counter
maxGrpDayRMetric1LnFLOAT0max acctriskGroup day rMetric1 long positive number1no limitrisk limit max limit current net counter
maxGrpDayRMetric1ShFLOAT0max acctriskGroup day rMetric1 short positive number1no limitrisk limit max limit current net counter
maxGrpDayRMetric1AbsFLOAT0max acctriskGroup day rMetric1 abs positive number1no limitrisk limit max limit abscurrent net counter
grpDayRMetric1RatioFLOAT0target bot sld ratio eg ratio05 means that neutral is bot rMetric1 05x sld rMetric1
maxGrpDayRMetric2LnFLOAT0max acctriskGroup day rMetric2 long positive number1no limitrisk limit max limit current net counter
maxGrpDayRMetric2ShFLOAT0max acctriskGroup day rMetric2 short positive number1no limitrisk limit max limit current net counter
maxGrpDayRMetric3LnFLOAT0max acctriskGroup day rMetric3 long positive number1no limitrisk limit max limit current net counter
maxGrpDayRMetric3ShFLOAT0max acctriskGroup day rMetric3 short positive number1no limitrisk limit max limit current net counter
maxGrpDayRMetric4LnFLOAT0max acctriskGroup day rMetric4 long positive number1no limitrisk limit max limit current net counter
maxGrpDayRMetric4ShFLOAT0max acctriskGroup day rMetric4 short positive number1no limitrisk limit max limit current net counter
maxGrpDayRMetric5LnFLOAT0max acctriskGroup day rMetric5 long positive number1no limitrisk limit max limit current net counter
maxGrpDayRMetric5ShFLOAT0max acctriskGroup day rMetric5 short positive number1no limitrisk limit max limit current net counter
symEmaCxlDDeltaLnFLOAT0max acctsymbol 60s EMA delta long positive number 0 is no limit will immediately cxl all option orders in a symbol if any order in the symbol breaches
symEmaCxlDDeltaShFLOAT0max acctsymbol 60s EMA delta short positive number 0 is no limit
symEmaCxlWtVegaLnFLOAT0max acctsymbol 60s EMA wtVega long positive number 0 is no limit will immediately cxl all option orders in a symbol if any order in the symbol breaches
symEmaCxlWtVegaShFLOAT0max acctsymbol 60s EMA wtVega short positive number 0 is no limit
arriveBidDOUBLE0
arriveAskDOUBLE0
arriveSweepCountINT0number of parent orders arriving with immediately available sweep qty
arriveSweepOrderQtyINT0total size of all child orders generated due to parent order arrival sweep
arriveSweepFillQtyINT0total fill size due to parent order arrival sweep
numSweepChildOrdersINT0child orders generated in initial arrival sweep
auctionLinkINT0total linkage auction contracts while parent order was active
auctionFaceINT0total facilitation auction contracts while parent order was active
auctionRespINT0total auction response contracts
prtActiveCntINT0total print events while parent order was active any exchange all prints
prtQtyActiveINT0total quantity printed while parent order was active any exchange all prints
prtQtyActiveMnyFLOAT0total of quantity printed x print price while parent order was active
prtEligibleCntINT0total eligible public print events while parent order was active any exchange all eligible prints
prtQtyEligibleINT0total eligible public quantity printed while parent order was active any exchange all eligible prints
prtQtyLimitOKINT0total quantity printed at or better than parent limit while parent was active SUMMINPrintSizeOpenParentOrderSize any exchange
prtQtyCompeteINT0total quantity printed on an exchange on which we had a competitive child order on that exchange SUMMINPrintSize OpenChildOrderSize childOrderexch printexch
prtQtyAwayChldINT0total quantity printed on an away exchange when we had a competitive child orders in the market and the away exchange was competitive prior to the print SUMMINPrintSize OpenChildOrderSize childOrderexch printexch
prtQtyNoCompeteINT0total quantity printed on an exchange when the print exchange was not competitive prior to the print non quotecompetitive prints
prtQtyNoCompNbboINT0total quantity printed on an exchange when the NBBO was not competitive prior to the print non nbbocompetitive prints
mkCheckCntINT0total number of times order was checked for making
minMkProbFLOAT0min make probability while broker active
avgMkProbFLOAT0average make probability while broker active
curMkProbFLOAT0current make probability
tkCheckCntINT0total number of times order was checked for taking
maxTkProbFLOAT0max take probability while broker active
avgTkProbFLOAT0average take probability while broker active
curTkProbFLOAT0current take probability
prtPrbCntINT0total number of print probability records while broker active all limit types
prtPrbCheckINT0number of print probability records with active probability printTake handler
prtPrbLmtOKINT0number of print probability records that pass broker takeLimit
tkQtyLmtOKINT0total quantity available to take at parent limit or better while broker active
avgQteSzRatioFLOAT0average ratio of child size nbbo size during the life of the working order when child order is at nbbo
cntQteSzRatioINT0sample counter for above 1 second intervals qteCnRatio qteCnRatioCnt avg of child size nbbo size while broker active
minQteWidthFLOAT0minimum quote width during active order window
avgQteWidthFLOAT0average quote width during active order window
cntQteWidthINT0
updateSrcenum - UpdateSource'None'
numUpdatesINT0number of record updates cumulative for the day
timestampDATETIME(6)'1900-01-01 00:00:00.000000'SR system timestamp

PRIMARY KEY DEFINITION (Unique)

FieldSequence
accnt1
secKey_tk2
secKey_yr3
secKey_mn4
secKey_dy5
secKey_xx6
secKey_cp7
secKey_at8
secKey_ts9
secType10
spdrSource11
groupingCode12
orderSide13
clientFirm14

SECONDARY INDEX (AccntIndex) (Not Unique)

FieldSequence
accnt1

SECONDARY INDEX (ClientFirmIndex) (Not Unique)

FieldSequence
clientFirm1

SECONDARY INDEX (UserNameIndex) (Not Unique)

FieldSequence
userName1

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTrade`.`MsgSRParentBrkrDetail`
WHERE
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`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') */
`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'
AND
/* Replace with a ENUM('None','SpdrTicket','SpdrSingle','SRSE','FIX','HedgeTool','TradeHedge','OpenHedge','AutoHedge','Orphan','RiskManager','OrderManager','ManagedOrder','RFQRespSrvr','Legger','SRSEDrop','FixDrop','TicketDrop','SysTest','RFRResponse','AllocOmni','AllocClient','CertGateway','MLegResponse','LeggerX','DropManager','AutoHedgeSrvr','AuctionStrategySrvr','AllocBlockFace','AllocBlockCust','IceChatGateway','EXS2SRC','MLinkResponse','AutoResponderVD','AutoResponderRC','AutoResponderSN','AutoResponderBX','MLink','SymChatGateway','RiskDrop','PolicyOpn','PolicyTrd') */
`spdrSource` = 'None'
AND
/* Replace with a CHAR(19) */
`groupingCode` = 'Example_groupingCode'
AND
/* Replace with a ENUM('None','Buy','Sell') */
`orderSide` = 'None'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm';

Doc Columns Query

SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='SRParentBrkrDetail' ORDER BY ordinal_position ASC;