Skip to main content
Version: Upcoming

SROmniOrder

V8 Message Definiton

METADATA

AttributeValue
Topic3695-order-allocation
MLink TokenClientTrading
ProductSRTrade
accessTypeSELECT
MLink EndpointMLink-Order

Table Definition

FieldTypeKeyDefault ValueComment
omniOrderNumberBIGINTPRI0unique number for this message
omniAccntVARCHAR(16)''omnibus accnt SR accnt
clientFirmVARCHAR(16)''SR client firm
secKey_atenum - AssetType'None'security key stock future or option
secKey_tsenum - TickerSrc'None'security key stock future or option
secKey_tkVARCHAR(12)''security key stock future or option
secKey_yrSMALLINT UNSIGNED0security key stock future or option
secKey_mnTINYINT UNSIGNED0security key stock future or option
secKey_dyTINYINT UNSIGNED0security key stock future or option
secKey_xxDOUBLE0security key stock future or option
secKey_cpenum - CallPut'Call'security key stock future or option
secTypeenum - SpdrKeyType'None'security type
orderSideenum - BuySell'None'order side always buy for MLEG orders
ssaleFlagenum - ShortSaleFlag'None'ssale flag None if not stock
positionTypeenum - PositionType'None'positionType None if not equity option
spdrSourceenum - SpdrSource'None'parent order source
groupingCodeCHAR(19)'0000-0000-0000-0000'unique broker code
baseParentNumberCHAR(19)'0000-0000-0000-0000'SR BaseParentNumber these executions belong to can be zero if executions are drop
mlegLegKeyTINYTEXT''secKeyStringKeylegRatiosidepositionEffect secKeyStringKeylegRatiosidepositionEffect
cumFillQtyINT0net cumFillQty total for the day
avgFillPrcDOUBLE0average fill price
allocStatusenum - OmniAllocStatus'None'allocation status
timestampDATETIME(6)'1900-01-01 00:00:00.000000'
ChildOrdersListJSON'JSON_ARRAY()'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
omniOrderNumber1

JSON Block (ChildOrdersList)

FieldTypeComment
clOrdIdenum - clOrdIdchildOrders in the above allocation

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTrade`.`MsgSROmniOrder`
WHERE
/* Replace with a BIGINT */
`omniOrderNumber` = 1234567890;

Doc Columns Query

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