Schema: AuctionPrint (ID: 2485)
METADATA
| Attribute | Value |
|---|---|
| Topic | 2450-liquidity-notice |
| MLink Token | AuctionPrint |
| SRSE Product | SRAuction |
Note: The symbol
=next to a field number indicates that it is a primary key.
BODY
| # | Field | Type | Default Value | Comment |
|---|---|---|---|---|
| 10= | noticeNumber | long | AuctionNotice.noticeNumber | |
| 100 | ticker | TickerKey | underlier ticker | |
| 101 | tradeDate | DateKey | ||
| 157 | isTestAuction | enum : YesNo | if yes, auction is a test auction (not a prod/live auction) | |
| 102 | noticeTime | DateTime | notice create timestamp (high precision) | |
| 103 | auctionType | enum : AuctionType | (eg. Block, Flash, Improvement, Facilitation, etc.) | |
| 104 | auctionSource | enum : AuctionSource | source of the auction notice (eg. SRC, MIAX, etc.) | |
| 203 | auctionDuration | int | expected auction / imbalance action duration (ms) | |
| 111 | industry | text1 | industry string | |
| 112 | symbolType | enum : SymbolType | ||
| 113 | uAvgDailyVlm | float | underlier average daily trading volume | |
| 114 | custSide | enum : BuySell | from AuctionNotice (if known) | |
| 115 | custQty | int | from AuctionNotice (if known) | |
| 116 | custPrc | double | from AuctionNotice (if known) | |
| 117 | hasCustPrc | enum : YesNo | from AuctionNotice (if known) | |
| 118 | custFirmType | enum : FirmType | cust firm type (if disclosed) | |
| 119 | custAgentMPID | string(6) | cust agent exchange member initiating the auction (if disclosed) | |
| 158 | commEnhancement | float | additional commission (if any) paid by responder | |
| 105 | numOptLegs | byte | MLEG Only | |
| 192 | spreadClass | enum : SpreadClass | ||
| 107 | spreadFlavor | enum : SpreadFlavor | MLEG Only | |
| 108 | containsHedge | enum : YesNo | MLEG Only | |
| 204 | flexType | enum : FlexType | all legs are of this flex type | |
| 109 | containsFlex | enum : YesNo | contains FLEX options | |
| 110 | containsMultiHedge | enum : YesNo | contains MultiHedge (corp action adjusted) options | |
| 159 | uBid | double | ||
| 160 | uAsk | double | ||
| 142 | netDe | float | ||
| 143 | netGa | float | ||
| 144 | netTh | float | ||
| 145 | netVe | float | ||
| 161 | pkgSurfPrc | float | SR Surface Price (entire package) from AuctionNotice | |
| 162 | pkgBidPrc | float | pkg bid price (best way price) (entire package) from AuctionNotice | |
| 163 | pkgAskPrc | float | pkg ask price (best way price) (entire package) from AuctionNotice | |
| 205 | minExpiry | ExpiryKey | option exiry (nearest if MLeg) | |
| 121 | prtPrice | double | reported OPRA print price (pkgPrice if MLeg) | |
| 122 | prtPrice2 | double | if reported as 2 separate prints at different prices (ie, partial size improvement, multiple responders) | |
| 123 | prtSize | int | reported OPRA print size (pkgSize if MLeg) | |
| 124 | prtSize2 | int | reported OPRA print size (pkgSize if MLeg) | |
| 125 | prtTime | DateTime | reported OPRA print time (1st print if MLeg) (high precision) | |
| 126 | prtType | enum : PrtType | reported OPRA print type | |
| 127 | prtUBid | double | best estimate of uBid @ auction print time | |
| 128 | prtUAsk | double | best estimate of uAsk @ auction print time | |
| 129 | prtUPrc | double | best estimate of uPrc @ auction print time | |
| 130 | prtSurfVol | float | surface vol @ auction print time (single option auction only) | |
| 131 | prtSurfPrc | float | surface prc @ auction print time (@ uMid) (pkgSurfPrc if MLeg) | |
| 132 | bidPrc | float | option nbbo bid @ auction print time | |
| 133 | bidSz | int | nbbo bid cum size | |
| 199 | bidMask | long | nbbo bid exch mask | |
| 135 | askPrc | float | option nbbo ask @ auction print time | |
| 136 | askSz | int | nbbo ask cum size | |
| 200 | askMask | long | nbbo ask exch mask | |
| 138 | exchBidPrc | float | exch bid @ auction print time | |
| 139 | exchBidSz | int | exch bid size | |
| 140 | exchAskPrc | float | exch ask @ auction print time | |
| 141 | exchAskSz | int | exch ask size | |
| 146 | uPrc1m | float | uPrc (mid market) @ auction print time + 1m | |
| 147 | bidPrc1m | float | option nbbo bid @ auction print time + 1m | |
| 148 | askPrc1m | float | option nbbo ask @ auction print time + 1m | |
| 149 | surfVol1m | float | surface vol @ auction print time + 1m (single option auction only) | |
| 150 | surfPrc1m | float | surface prc @ auction print time + 1m (@ uMid) | |
| 151 | uPrc10m | float | uPrc (mid market) @ auction print time + 10m | |
| 152 | bidPrc10m | float | option nbbo bid @ auction print time + 10m | |
| 153 | askPrc10m | float | option nbbo ask @ auction print time + 10m | |
| 154 | surfVol10m | float | surface vol @ auction print time + 10m (single option auction only) | |
| 155 | surfPrc10m | float | surface prc @ auction print time + 10m (@ uMid) | |
| 156 | timestamp | DateTime |
REPEATING FIELDS
OrderLegs
| # | Field | Type | Default Value | Comment |
|---|---|---|---|---|
| 165 | secKey | OptionKey | ||
| 166 | secType | enum : SpdrKeyType | ||
| 167 | side | enum : BuySell | ||
| 168 | ratio | ushort | ||
| 169 | undPerCn | int | ||
| 170 | pointValue | float | ||
| 191 | pointCurrency | enum : Currency | ||
| 171 | expType | enum : ExpiryType | ZDte,Daily,Weekly,Regular,Quarterly,LongTerm,OtherExp | |
| 172 | years | float | SR volatility years to expiry | |
| 173 | rate | float | SR global (discount) rate to expiry | |
| 174 | atmVol | float | ATM (fwd uPrc) SR surface volatility | |
| 175 | ddivPv | float | SR present value of ddiv stream | |
| 176 | tVol | float | client theo surface volatility (if client surfaces uploaded to SR) | |
| 177 | sVol | float | SR Surface Volatility | |
| 178 | sDiv | float | SR Surface SDiv | |
| 179 | sPrc | float | SR Surface Price | |
| 180 | de | float | ||
| 181 | ga | float | ||
| 182 | th | float | ||
| 183 | ve | float | ||
| 184 | sVolOk | enum : YesNo | Yes if live market and sVol are tracking as expected | |
| 193 | bid | float | Leg bid price | |
| 194 | bidSz | int | cumulative leg bid size | |
| 201 | bidMask | long | bit-mask of participating exchanges | |
| 196 | ask | float | leg ask price | |
| 197 | askSz | int | cumulative leg ask size | |
| 202 | askMask | long | bit-mask of participating exchanges |
Get Schema API Call
- Python
- cUrl
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 = 'AuctionPrint'
# 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)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getschema' \
--data-urlencode 'msgType=AuctionPrint'
Get Msg API Call
- Python
- cUrl
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 = 'AuctionPrint'
# 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|auctionDuration|industry|symbolType|uAvgDailyVlm|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|commEnhancement|numOptLegs|spreadClass|spreadFlavor|containsHedge|flexType|containsFlex|containsMultiHedge|uBid|uAsk|netDe|netGa|netTh|netVe|pkgSurfPrc|pkgBidPrc|pkgAskPrc|minExpiry|prtPrice|prtPrice2|prtSize|prtSize2|prtTime|prtType|prtUBid|prtUAsk|prtUPrc|prtSurfVol|prtSurfPrc|bidPrc|bidSz|bidMask|askPrc|askSz|askMask|exchBidPrc|exchBidSz|exchAskPrc|exchAskSz|uPrc1m|bidPrc1m|askPrc1m|surfVol1m|surfPrc1m|uPrc10m|bidPrc10m|askPrc10m|surfVol10m|surfPrc10m|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)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getmsg' \
--data-urlencode 'pkey=ReplaceThisValueForTheQueryToWork' \
--data-urlencode 'msgType=AuctionPrint' \
--data-urlencode 'view=ticker|tradeDate|isTestAuction|noticeTime|auctionType|auctionSource|auctionDuration|industry|symbolType|uAvgDailyVlm|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|commEnhancement|numOptLegs|spreadClass|spreadFlavor|containsHedge|flexType|containsFlex|containsMultiHedge|uBid|uAsk|netDe|netGa|netTh|netVe|pkgSurfPrc|pkgBidPrc|pkgAskPrc|minExpiry|prtPrice|prtPrice2|prtSize|prtSize2|prtTime|prtType|prtUBid|prtUAsk|prtUPrc|prtSurfVol|prtSurfPrc|bidPrc|bidSz|bidMask|askPrc|askSz|askMask|exchBidPrc|exchBidSz|exchAskPrc|exchAskSz|uPrc1m|bidPrc1m|askPrc1m|surfVol1m|surfPrc1m|uPrc10m|bidPrc10m|askPrc10m|surfVol10m|surfPrc10m|timestamp' \
--data-urlencode 'where=custAgentMPID:eq:ExampleString'
Get Msgs API Call
- Python
- cUrl
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 = 'AuctionPrint'
# 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|auctionDuration|industry|symbolType|uAvgDailyVlm|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|commEnhancement|numOptLegs|spreadClass|spreadFlavor|containsHedge|flexType|containsFlex|containsMultiHedge|uBid|uAsk|netDe|netGa|netTh|netVe|pkgSurfPrc|pkgBidPrc|pkgAskPrc|minExpiry|prtPrice|prtPrice2|prtSize|prtSize2|prtTime|prtType|prtUBid|prtUAsk|prtUPrc|prtSurfVol|prtSurfPrc|bidPrc|bidSz|bidMask|askPrc|askSz|askMask|exchBidPrc|exchBidSz|exchAskPrc|exchAskSz|uPrc1m|bidPrc1m|askPrc1m|surfVol1m|surfPrc1m|uPrc10m|bidPrc10m|askPrc10m|surfVol10m|surfPrc10m|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)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getmsgs' \
--data-urlencode 'msgType=AuctionPrint' \
--data-urlencode 'view=ticker|tradeDate|isTestAuction|noticeTime|auctionType|auctionSource|auctionDuration|industry|symbolType|uAvgDailyVlm|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|commEnhancement|numOptLegs|spreadClass|spreadFlavor|containsHedge|flexType|containsFlex|containsMultiHedge|uBid|uAsk|netDe|netGa|netTh|netVe|pkgSurfPrc|pkgBidPrc|pkgAskPrc|minExpiry|prtPrice|prtPrice2|prtSize|prtSize2|prtTime|prtType|prtUBid|prtUAsk|prtUPrc|prtSurfVol|prtSurfPrc|bidPrc|bidSz|bidMask|askPrc|askSz|askMask|exchBidPrc|exchBidSz|exchAskPrc|exchAskSz|uPrc1m|bidPrc1m|askPrc1m|surfVol1m|surfPrc1m|uPrc10m|bidPrc10m|askPrc10m|surfVol10m|surfPrc10m|timestamp' \
--data-urlencode 'where=custAgentMPID:eq:ExampleString' \
--data-urlencode 'limit=500' \
--data-urlencode 'order=ticker:ASC'
Get Aggregate API Call
- Python
- cUrl
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 = 'AuctionPrint'
# 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|auctionDuration|industry|symbolType|uAvgDailyVlm|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|commEnhancement|numOptLegs|spreadClass|spreadFlavor|containsHedge|flexType|containsFlex|containsMultiHedge|uBid|uAsk|netDe|netGa|netTh|netVe|pkgSurfPrc|pkgBidPrc|pkgAskPrc|minExpiry|prtPrice|prtPrice2|prtSize|prtSize2|prtTime|prtType|prtUBid|prtUAsk|prtUPrc|prtSurfVol|prtSurfPrc|bidPrc|bidSz|bidMask|askPrc|askSz|askMask|exchBidPrc|exchBidSz|exchAskPrc|exchAskSz|uPrc1m|bidPrc1m|askPrc1m|surfVol1m|surfPrc1m|uPrc10m|bidPrc10m|askPrc10m|surfVol10m|surfPrc10m|timestamp'
# Replace with fields you want to see aggregated. A "|" separated list of fields should be provided
GROUP = 'isTestAuction|auctionType|auctionSource|symbolType|custSide|hasCustPrc|custFirmType|spreadClass|spreadFlavor|containsHedge|flexType|containsFlex|containsMultiHedge|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)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getaggregate' \
--data-urlencode 'msgType=AuctionPrint' \
--data-urlencode 'measure=ticker|tradeDate|isTestAuction|noticeTime|auctionType|auctionSource|auctionDuration|industry|symbolType|uAvgDailyVlm|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|commEnhancement|numOptLegs|spreadClass|spreadFlavor|containsHedge|flexType|containsFlex|containsMultiHedge|uBid|uAsk|netDe|netGa|netTh|netVe|pkgSurfPrc|pkgBidPrc|pkgAskPrc|minExpiry|prtPrice|prtPrice2|prtSize|prtSize2|prtTime|prtType|prtUBid|prtUAsk|prtUPrc|prtSurfVol|prtSurfPrc|bidPrc|bidSz|bidMask|askPrc|askSz|askMask|exchBidPrc|exchBidSz|exchAskPrc|exchAskSz|uPrc1m|bidPrc1m|askPrc1m|surfVol1m|surfPrc1m|uPrc10m|bidPrc10m|askPrc10m|surfVol10m|surfPrc10m|timestamp' \
--data-urlencode 'group=isTestAuction|auctionType|auctionSource|symbolType|custSide|hasCustPrc|custFirmType|spreadClass|spreadFlavor|containsHedge|flexType|containsFlex|containsMultiHedge|prtType' \
--data-urlencode 'where=custAgentMPID:eq:ExampleString'
Get Count API Call
- Python
- cUrl
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 = 'AuctionPrint'
# 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)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getcount' \
--data-urlencode 'msgType=AuctionPrint' \
--data-urlencode 'where=custAgentMPID:eq:ExampleString'