Skip to main content
Version: 8.4.10.4

Schema: AuctionPrintBX (ID: 2488)

METADATA

AttributeValue
Topic2450-liquidity-notice
MLink TokenSRATS
SRSE ProductSRTrade

Note: The symbol = next to a field number indicates that it is a primary key.

BODY

#FieldTypeComment
10=noticeNumberlongAuctionNotice.noticeNumber
100tickerTickerKeyunderlier ticker
101tradeDateDateKey
102isTestAuctionenum : YesNoif yes, auction is a test auction (not a prod/live auction)
103noticeTimeDateTimenotice create timestamp (high precision)
104auctionTypeenum : AuctionType(eg. Block, Flash, Improvement, Facilitation, etc.)
105auctionSourceenum : AuctionSourcesource of the auction notice (eg. SRC, MIAX, etc.)
106containsFlexenum : YesNoFlex = European
107rootTickerKeyoption root
108expiryDateKey
109loStrikedoublelo strike
110hiStrikedoublehi strike
111industrytext1industry string
112symbolTypeenum : SymbolType
113uAvgDailyVlmfloatunderlier average daily trading volume
114custSideenum : BuySellfrom AuctionNotice (if known)
115custQtyintfrom AuctionNotice (if known)
116custPrcdoublefrom AuctionNotice (if known)
117hasCustPrcenum : YesNofrom AuctionNotice (if known)
118custFirmTypeenum : FirmTypecust firm type (if disclosed)
119custAgentMPIDstring(6)cust agent exchange member initiating the auction (if disclosed)
120commEnhancementfloatadditional commission (if any) paid by responder
121noticeUBiddouble
122noticeUAskdouble
123netSurfPrcfloatSR Surface Price (entire package)
124iDaysdoubleiDays = effective interest days [SR supplied]
125iYearsdoubleiYears = iDays / 360.0
126moneyRatedoubleeffective rate to borrow/lend money to expiry (360 day convention) [compares to globalRate * 360 / 365] [SR Supplied Estimate]
127strikePvdoublestrikePv = strike * (1.0 - moneyRate * iYears) [moneyRate supplied above]
128prtPricedoublereported OPRA print price (pkgPrice if MLeg)
129prtPrice2doubleif reported as 2 separate prints at different prices (ie, partial size improvement)
130prtSizeintreported OPRA print size (pgkSize if MLeg)
131prtSize2intreported OPRA print size (pgkSize if MLeg)
132prtTimeDateTimereported OPRA print time (1st print if MLeg) (high precision)
133prtTypeenum : PrtTypereported OPRA print type
134prtUPrcdoublebest estimate of uPrc @ auction print time
135prtSurfPrcfloatsurface prc @ auction print time (@ uMid) (pkgSurfPrc if MLeg)
136prtMoneyRatedoubleprtMoneyRate = (1.0 - (prtPrice / (hiStrike - loStrike)) / iYears
137uPrc1mfloatuPrc (mid market) @ auction print time + 1m
138bidPrc1mfloatoption nbbo bid @ auction print time + 1m
139askPrc1mfloatoption nbbo ask @ auction print time + 1m
140surfPrc1mfloatsurface prc @ auction print time + 1m (@ uMid)
141surfRate1mdoublesurfRate1m = (1.0 - (surfPrc1m / (hiStrike - loStrike)) / iYears
142uPrc10mfloatuPrc (mid market) @ auction print time + 10m
143bidPrc10mfloatoption nbbo bid @ auction print time + 10m
144askPrc10mfloatoption nbbo ask @ auction print time + 10m
145surfPrc10mfloatsurface prc @ auction print time + 10m (@ uMid)
146surfRate10mdoublesurfRate10m = (1.0 - (surfPrc10m / (hiStrike - loStrike)) / iYears
147timestampDateTime

Get Schema API Call

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 = 'AuctionPrintBX'

# 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)

Get Msg API Call

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 = 'AuctionPrintBX'

# 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|tradeDate|isTestAuction|noticeTime|auctionType|auctionSource|containsFlex|root|expiry|loStrike|hiStrike|industry|symbolType|uAvgDailyVlm|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|commEnhancement|noticeUBid|noticeUAsk|netSurfPrc|iDays|iYears|moneyRate|strikePv|prtPrice|prtPrice2|prtSize|prtSize2|prtTime|prtType|prtUPrc|prtSurfPrc|prtMoneyRate|uPrc1m|bidPrc1m|askPrc1m|surfPrc1m|surfRate1m|uPrc10m|bidPrc10m|askPrc10m|surfPrc10m|surfRate10m|timestamp'

# 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 = 'custAgentMPID: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)

Get Msgs API Call

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 = 'AuctionPrintBX'

# 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|tradeDate|isTestAuction|noticeTime|auctionType|auctionSource|containsFlex|root|expiry|loStrike|hiStrike|industry|symbolType|uAvgDailyVlm|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|commEnhancement|noticeUBid|noticeUAsk|netSurfPrc|iDays|iYears|moneyRate|strikePv|prtPrice|prtPrice2|prtSize|prtSize2|prtTime|prtType|prtUPrc|prtSurfPrc|prtMoneyRate|uPrc1m|bidPrc1m|askPrc1m|surfPrc1m|surfRate1m|uPrc10m|bidPrc10m|askPrc10m|surfPrc10m|surfRate10m|timestamp'

# 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 = 'custAgentMPID: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)

Get Aggregate API Call

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 = 'AuctionPrintBX'

# Replace with fields you want to see aggregate values for. A "|" separated list of measures should be provided
MEASURE = 'ticker|tradeDate|isTestAuction|noticeTime|auctionType|auctionSource|containsFlex|root|expiry|loStrike|hiStrike|industry|symbolType|uAvgDailyVlm|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|commEnhancement|noticeUBid|noticeUAsk|netSurfPrc|iDays|iYears|moneyRate|strikePv|prtPrice|prtPrice2|prtSize|prtSize2|prtTime|prtType|prtUPrc|prtSurfPrc|prtMoneyRate|uPrc1m|bidPrc1m|askPrc1m|surfPrc1m|surfRate1m|uPrc10m|bidPrc10m|askPrc10m|surfPrc10m|surfRate10m|timestamp'

# Replace with fields you want to see aggregated. A "|" separated list of fields should be provided
GROUP = 'isTestAuction|auctionType|auctionSource|containsFlex|symbolType|custSide|hasCustPrc|custFirmType|prtType'

# 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 = 'custAgentMPID: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)

Get Count API Call

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 = 'AuctionPrintBX'

# 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 = 'custAgentMPID: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)