Skip to main content
Version: Upcoming

NoticeResponse

V8 Message Definiton

METADATA

AttributeValue
Topic2450-liquidity-notice
MLink TokenClientTrading
ProductSRTrade
accessTypeSELECT,UPDATE,INSERT,DELETE
MLink EndpointMLink-Order

Table Definition

FieldTypeKeyDefault ValueComment
noticeNumberCHAR(19)PRI'0000-0000-0000-0000'required AuctionNoticenoticeNumber
accntVARCHAR(16)PRI''required SR Accnt
clientFirmVARCHAR(16)PRI''optional SR ClientFirm
responseIdVARCHAR(24)PRI''required client ResponseId of this response reflected back on NoticeExecReport messages
ticker_atenum - AssetType'None'filled in on server underlier ticker
ticker_tsenum - TickerSrc'None'filled in on server underlier ticker
ticker_tkVARCHAR(12)''filled in on server underlier ticker
tradeDateDATE'1900-01-01'filled in on server
stageTypeenum - SpdrStageType'None'optional default is NoneLive can only be supplied on the initial notice response in a cancelreplace chain
respSideenum - BuySell'None'
respSizeINT0
respPriceDOUBLE0
refUPrcDOUBLE0
refDeFLOAT0
refGaFLOAT0
deltaAdjenum - DeltaDirection'None'optional Delta Adjusted Limit type None Price Limit
minUBidFLOAT0
maxUAskFLOAT0
riskGroupIdCHAR(19)'0000-0000-0000-0000'optional any auction response is associated with this riskGroupID and SpdrRiskGroupControl
strategyVARCHAR(32)''optional user strategy field visible on SR tools
userData1TINYTEXT''optional user data field free text reflected on NoticeResponse
locateFirmVARCHAR(6)''
locatePoolVARCHAR(16)''
ssaleFlagenum - ShortSaleFlag'Auto'Used to determine stock autohedge flags
reqAuxRiskGroupCtrlenum - YesNo'None'
autoHedgeenum - AutoHedge'None'
hedgeInstrumentenum - HedgeInst'None'
hedgeSecKey_atenum - AssetType'None'autohedge instrument can be a TickerKey stock or ExpiryKey future required for Stock and Future
hedgeSecKey_tsenum - TickerSrc'None'autohedge instrument can be a TickerKey stock or ExpiryKey future required for Stock and Future
hedgeSecKey_tkVARCHAR(12)''autohedge instrument can be a TickerKey stock or ExpiryKey future required for Stock and Future
hedgeSecKey_yrSMALLINT UNSIGNED0autohedge instrument can be a TickerKey stock or ExpiryKey future required for Stock and Future
hedgeSecKey_mnTINYINT UNSIGNED0autohedge instrument can be a TickerKey stock or ExpiryKey future required for Stock and Future
hedgeSecKey_dyTINYINT UNSIGNED0autohedge instrument can be a TickerKey stock or ExpiryKey future required for Stock and Future
hedgeBetaRatioFLOAT0portion of executed money to autohedge can be 10 Beta for beta hedging 40 to 40
hedgeScopeenum - HedgeScope'None'hedge group scope RiskGroup or Accnt
hedgeSessionenum - MarketSession'None'
modifiedByVARCHAR(24)''
modifiedInenum - SysEnvironment'None'
timestampDATETIME(6)'1900-01-01 00:00:00.000000'
OrderLegsListJSON'JSON_ARRAY()'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
noticeNumber1
accnt2
clientFirm3
responseId4

JSON Block (OrderLegsList)

FieldTypeComment
secKeyenum - secKey
secTypeenum - SpdrKeyType
sideenum - BuySell
positionTypeenum - LegPositionType

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTrade`.`MsgNoticeResponse`
WHERE
/* Replace with a CHAR(19) */
`noticeNumber` = 'Example_noticeNumber'
AND
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm'
AND
/* Replace with a VARCHAR(24) */
`responseId` = 'Example_responseId';

UPDATE TABLE EXAMPLE QUERY

UPDATE `SRTrade`.`MsgNoticeResponse` 
SET
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`ticker_at` = 'None',
/* 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') */
`ticker_ts` = 'None',
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk',
/* Replace with a DATE */
`tradeDate` = '2022-01-01',
/* Replace with a ENUM('None','ModifyAny','ModifyAlgo') */
`stageType` = 'None',
/* Replace with a ENUM('None','Buy','Sell') */
`respSide` = 'None',
/* Replace with a INT */
`respSize` = 5,
/* Replace with a DOUBLE */
`respPrice` = 4.56,
/* Replace with a DOUBLE */
`refUPrc` = 4.56,
/* Replace with a FLOAT */
`refDe` = 1.23,
/* Replace with a FLOAT */
`refGa` = 1.23,
/* Replace with a ENUM('None','OneWay','TwoWay') */
`deltaAdj` = 'None',
/* Replace with a FLOAT */
`minUBid` = 1.23,
/* Replace with a FLOAT */
`maxUAsk` = 1.23,
/* Replace with a CHAR(19) */
`riskGroupId` = 'Example_riskGroupId',
/* Replace with a VARCHAR(32) */
`strategy` = 'Example_strategy',
/* Replace with a TINYTEXT */
`userData1` = 'dummy tiny text',
/* Replace with a VARCHAR(6) */
`locateFirm` = 'Example_locateFirm',
/* Replace with a VARCHAR(16) */
`locatePool` = 'Example_locatePool',
/* Replace with a ENUM('None','Long','Short','Cover','Auto','NA') */
`ssaleFlag` = 'Auto',
/* Replace with a ENUM('None','Yes','No') */
`reqAuxRiskGroupCtrl` = 'None',
/* Replace with a ENUM('None','Static','AutoMid','AutoCrx','AutoTrn','SpdrAuto','Spdr10S','Spdr30S','Spdr90S','Spdr5M','Spdr30M','SpdrDay','SmartFast','SmartNorm','FastCrx','FastDark','SlowDark','AlphaVwap1pct','AlphaVwap2pct','AlphaVwap5pct','AlphaVwap25pct','Custom','AwayAlgo','EuMsAlgo','Policy') */
`autoHedge` = 'None',
/* Replace with a ENUM('None','Default','FrontMonth','Stock','Future') */
`hedgeInstrument` = 'None',
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`hedgeSecKey_at` = 'None',
/* 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') */
`hedgeSecKey_ts` = 'None',
/* Replace with a VARCHAR(12) */
`hedgeSecKey_tk` = 'Example_hedgeSecKey_tk',
/* Replace with a SMALLINT UNSIGNED */
`hedgeSecKey_yr` = 123,
/* Replace with a TINYINT UNSIGNED */
`hedgeSecKey_mn` = 1,
/* Replace with a TINYINT UNSIGNED */
`hedgeSecKey_dy` = 1,
/* Replace with a FLOAT */
`hedgeBetaRatio` = 1.23,
/* Replace with a ENUM('None','Accnt','RiskGroup') */
`hedgeScope` = 'None',
/* Replace with a ENUM('None','PreMkt','RegMkt','PostMkt','PreRegMkt','RegPostMkt','AllDay') */
`hedgeSession` = 'None',
/* Replace with a DATETIME(6) */
`timestamp` = '2022-01-01 12:34:56.000000',
/* Replace with a JSON */
`OrderLegsList` = '{"key": "value"}'
WHERE
/* Replace with a CHAR(19) */
`noticeNumber` = 'Example_noticeNumber'
AND
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm'
AND
/* Replace with a VARCHAR(24) */
`responseId` = 'Example_responseId';

INSERT TABLE EXAMPLE QUERY

INSERT INTO `SRTrade`.`MsgNoticeResponse`(
/* Replace with a CHAR(19) */
`noticeNumber`,
/* Replace with a VARCHAR(16) */
`accnt`,
/* Replace with a VARCHAR(16) */
`clientFirm`,
/* Replace with a VARCHAR(24) */
`responseId`,
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`ticker_at`,
/* 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') */
`ticker_ts`,
/* Replace with a VARCHAR(12) */
`ticker_tk`,
/* Replace with a DATE */
`tradeDate`,
/* Replace with a ENUM('None','ModifyAny','ModifyAlgo') */
`stageType`,
/* Replace with a ENUM('None','Buy','Sell') */
`respSide`,
/* Replace with a INT */
`respSize`,
/* Replace with a DOUBLE */
`respPrice`,
/* Replace with a DOUBLE */
`refUPrc`,
/* Replace with a FLOAT */
`refDe`,
/* Replace with a FLOAT */
`refGa`,
/* Replace with a ENUM('None','OneWay','TwoWay') */
`deltaAdj`,
/* Replace with a FLOAT */
`minUBid`,
/* Replace with a FLOAT */
`maxUAsk`,
/* Replace with a CHAR(19) */
`riskGroupId`,
/* Replace with a VARCHAR(32) */
`strategy`,
/* Replace with a TINYTEXT */
`userData1`,
/* Replace with a VARCHAR(6) */
`locateFirm`,
/* Replace with a VARCHAR(16) */
`locatePool`,
/* Replace with a ENUM('None','Long','Short','Cover','Auto','NA') */
`ssaleFlag`,
/* Replace with a ENUM('None','Yes','No') */
`reqAuxRiskGroupCtrl`,
/* Replace with a ENUM('None','Static','AutoMid','AutoCrx','AutoTrn','SpdrAuto','Spdr10S','Spdr30S','Spdr90S','Spdr5M','Spdr30M','SpdrDay','SmartFast','SmartNorm','FastCrx','FastDark','SlowDark','AlphaVwap1pct','AlphaVwap2pct','AlphaVwap5pct','AlphaVwap25pct','Custom','AwayAlgo','EuMsAlgo','Policy') */
`autoHedge`,
/* Replace with a ENUM('None','Default','FrontMonth','Stock','Future') */
`hedgeInstrument`,
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`hedgeSecKey_at`,
/* 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') */
`hedgeSecKey_ts`,
/* Replace with a VARCHAR(12) */
`hedgeSecKey_tk`,
/* Replace with a SMALLINT UNSIGNED */
`hedgeSecKey_yr`,
/* Replace with a TINYINT UNSIGNED */
`hedgeSecKey_mn`,
/* Replace with a TINYINT UNSIGNED */
`hedgeSecKey_dy`,
/* Replace with a FLOAT */
`hedgeBetaRatio`,
/* Replace with a ENUM('None','Accnt','RiskGroup') */
`hedgeScope`,
/* Replace with a ENUM('None','PreMkt','RegMkt','PostMkt','PreRegMkt','RegPostMkt','AllDay') */
`hedgeSession`,
/* Replace with a DATETIME(6) */
`timestamp`,
/* Replace with a JSON */
`OrderLegsList`
)
VALUES(
'Example_noticeNumber',
'Example_accnt',
'Example_clientFirm',
'Example_responseId',
'None',
'None',
'Example_ticker_tk',
'2022-01-01',
'None',
'None',
5,
4.56,
4.56,
1.23,
1.23,
'None',
1.23,
1.23,
'Example_riskGroupId',
'Example_strategy',
'dummy tiny text',
'Example_locateFirm',
'Example_locatePool',
'Auto',
'None',
'None',
'None',
'None',
'None',
'Example_hedgeSecKey_tk',
123,
1,
1,
1.23,
'None',
'None',
'2022-01-01 12:34:56.000000',
'{"key": "value"}'
);

DELETE TABLE EXAMPLE QUERY

DELETE FROM `SRTrade`.`MsgNoticeResponse` 
WHERE
/* Replace with a CHAR(19) */
`noticeNumber` = 'Example_noticeNumber'
AND
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm'
AND
/* Replace with a VARCHAR(24) */
`responseId` = 'Example_responseId';

Doc Columns Query

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