Schema: AuctionNoticeBX (ID: 2468)
METADATA
Attribute | Value |
---|---|
Topic | 2450-liquidity-notice |
MLink Token | SRATS |
SRSE Product | SRTrade |
Note: The symbol
=
next to a field number indicates that it is a primary key.
BODY
# | Field | Type | Comment |
---|---|---|---|
10= | noticeNumber | long | |
100 | ticker | TickerKey | underlier ticker |
101 | tradeDate | DateKey | |
102 | auctionType | enum : AuctionType | |
103 | auctionEvent | enum : AuctionEvent | |
104 | srcAuctionID | string(20) | auction ID as known by the auction source (empty for SRC) |
105 | srcAuctionType | string(4) | |
106 | auctionSource | enum : AuctionSource | source of the auction notice (eg. SRC, MIAX, etc.) |
107 | isTestAuction | enum : YesNo | if yes, auction is a test auction (not a prod/live auction) |
108 | shortCode | string(8) | 8 letter auction short code (unique per day) (block auctions only) (can be used to find auctions on SR tools) |
137 | industry | text1 | industry string |
138 | symbolType | enum : SymbolType | |
139 | uAvgDailyVlm | float | underlier average daily trading volume |
109 | root | TickerKey | option root (+C.Lo/-P.Lo/-C.Hi/+P.Hi) |
110 | expiry | DateKey | |
111 | loStrike | double | lo strike |
112 | hiStrike | double | hi strike |
113 | custSide | enum : BuySell | if available |
114 | custQty | int | |
115 | custPrc | double | public cust price |
116 | hasCustPrc | enum : YesNo | |
117 | custFirmType | enum : FirmType | cust firm type (if disclosed) |
118 | custAgentMPID | string(6) | cust agent exchange member initiating the auction (if disclosed) |
119 | custClientFirm | string(16) | cust client firm (if disclosed) |
120 | commEnhancement | float | additional commission (if any) paid by responder |
121 | custCommPaying | enum : YesNo | client is commission paying (to the responder) |
122 | custQtyCond | enum : CustQtyCond | UpToQty, AllOrNone, QtyOrMore |
123 | auctionDuration | int | [expected] auction duration (in milliseconds) |
124 | iDays | double | iDays = effective interest days [SR supplied] |
125 | iYears | double | iYears = iDays / 360.0 |
126 | pointValue | double | point value of the associated options; expiry money = (hiStrike - loStrike) * pointValue; |
140 | pointCurrency | enum : Currency | |
127 | strikePv | double | strikePv = strike * (1.0 - moneyRate * iYears) [moneyRate supplied above] |
128 | effMoneyRate | double | effMoneyRate = (1.0 - (custPrc / (hiStrike - loStrike)) / iYears |
129 | srcTimestamp | long | |
130 | netTimestamp | long | |
131 | timestamp | DateTime | from ats / exchange net timestamp if possible |
132 | includeSRNetwork | enum : InclExclDisclose |
REPEATING FIELDS
DirectedCounterParty
Field | Type | Comment |
---|---|---|
134 | clientFirm | string(16) |
135 | inclExcl | enum : InclExclDisclose |
136 | isCommPaying | enum : YesNo |
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 = 'AuctionNoticeBX'
# 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=AuctionNoticeBX'
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 = 'AuctionNoticeBX'
# 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|auctionType|auctionEvent|srcAuctionID|srcAuctionType|auctionSource|isTestAuction|shortCode|industry|symbolType|uAvgDailyVlm|root|expiry|loStrike|hiStrike|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|custClientFirm|commEnhancement|custCommPaying|custQtyCond|auctionDuration|iDays|iYears|pointValue|pointCurrency|strikePv|effMoneyRate|srcTimestamp|netTimestamp|timestamp|includeSRNetwork'
# 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 = 'srcAuctionID: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=AuctionNoticeBX' \
--data-urlencode 'view=ticker|tradeDate|auctionType|auctionEvent|srcAuctionID|srcAuctionType|auctionSource|isTestAuction|shortCode|industry|symbolType|uAvgDailyVlm|root|expiry|loStrike|hiStrike|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|custClientFirm|commEnhancement|custCommPaying|custQtyCond|auctionDuration|iDays|iYears|pointValue|pointCurrency|strikePv|effMoneyRate|srcTimestamp|netTimestamp|timestamp|includeSRNetwork' \
--data-urlencode 'where=srcAuctionID: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 = 'AuctionNoticeBX'
# 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|auctionType|auctionEvent|srcAuctionID|srcAuctionType|auctionSource|isTestAuction|shortCode|industry|symbolType|uAvgDailyVlm|root|expiry|loStrike|hiStrike|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|custClientFirm|commEnhancement|custCommPaying|custQtyCond|auctionDuration|iDays|iYears|pointValue|pointCurrency|strikePv|effMoneyRate|srcTimestamp|netTimestamp|timestamp|includeSRNetwork'
# 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 = 'srcAuctionID: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=AuctionNoticeBX' \
--data-urlencode 'view=ticker|tradeDate|auctionType|auctionEvent|srcAuctionID|srcAuctionType|auctionSource|isTestAuction|shortCode|industry|symbolType|uAvgDailyVlm|root|expiry|loStrike|hiStrike|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|custClientFirm|commEnhancement|custCommPaying|custQtyCond|auctionDuration|iDays|iYears|pointValue|pointCurrency|strikePv|effMoneyRate|srcTimestamp|netTimestamp|timestamp|includeSRNetwork' \
--data-urlencode 'where=srcAuctionID: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 = 'AuctionNoticeBX'
# Replace with fields you want to see aggregate values for. A "|" separated list of measures should be provided
MEASURE = 'ticker|tradeDate|auctionType|auctionEvent|srcAuctionID|srcAuctionType|auctionSource|isTestAuction|shortCode|industry|symbolType|uAvgDailyVlm|root|expiry|loStrike|hiStrike|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|custClientFirm|commEnhancement|custCommPaying|custQtyCond|auctionDuration|iDays|iYears|pointValue|pointCurrency|strikePv|effMoneyRate|srcTimestamp|netTimestamp|timestamp|includeSRNetwork'
# Replace with fields you want to see aggregated. A "|" separated list of fields should be provided
GROUP = 'auctionType|auctionEvent|auctionSource|isTestAuction|symbolType|custSide|hasCustPrc|custFirmType|custCommPaying|custQtyCond|pointCurrency|includeSRNetwork'
# 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 = 'srcAuctionID: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=AuctionNoticeBX' \
--data-urlencode 'measure=ticker|tradeDate|auctionType|auctionEvent|srcAuctionID|srcAuctionType|auctionSource|isTestAuction|shortCode|industry|symbolType|uAvgDailyVlm|root|expiry|loStrike|hiStrike|custSide|custQty|custPrc|hasCustPrc|custFirmType|custAgentMPID|custClientFirm|commEnhancement|custCommPaying|custQtyCond|auctionDuration|iDays|iYears|pointValue|pointCurrency|strikePv|effMoneyRate|srcTimestamp|netTimestamp|timestamp|includeSRNetwork' \
--data-urlencode 'group=auctionType|auctionEvent|auctionSource|isTestAuction|symbolType|custSide|hasCustPrc|custFirmType|custCommPaying|custQtyCond|pointCurrency|includeSRNetwork' \
--data-urlencode 'where=srcAuctionID: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 = 'AuctionNoticeBX'
# 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 = 'srcAuctionID: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=AuctionNoticeBX' \
--data-urlencode 'where=srcAuctionID:eq:ExampleString'