Schema: AtsDegrossAvailability (ID: 2357)
Published by the degrossing execution engine once a minute from open + 5 minutes until the final
auction of the day, smeared to a fixed publish rate. Every candidate ticker is published with a
status: Available, Suspended, DayClosed, or the reason it is not offered — so a client can always
see why a position is not degrossable.
Strike is a TICKER-level fact shared by all three expiries, chosen from flex instruments that
actually exist (nearest the underlier), and frozen at the ticker's first publish of the day.
The per-expiry block (3 entries) carries the SR-controlled economics; block index = expiry slot =
SpdrParentOrder groupingCode (1/2/3). Auction sequence state lives on AtsDegrossAuctionSchedule
(2358). Publish-only: no archive directives and .Archive() is never called — published messages
are captured automatically.
A ticker is only published when it has a current-day stock book quote or print; names with no
today market are not advertised at all.
Retired field numbers (NEVER reuse): 112 (per-slot strike; strike is row-level at 103),
101 (row-level srRate; the rate is per expiry at 120).
Replaces AtsDegrossRevConSpreads (2355).
METADATA
| Attribute | Value |
|---|---|
| Topic | 2270-execution-engine |
| MLink Token | ClientTrading |
| MLink Endpoint | MLink-Live |
| SRSE Product | SRTrade |
Note: The symbol
=next to a field number indicates that it is a primary key.
BODY
| # | Field | Type | Default Value | Comment |
|---|---|---|---|---|
| 10= | ticker | TickerKey | underlier ticker | |
| 11= | tradeDate | DateKey | the trade date this advertisement is for | |
| 100 | refUPrc | double | current reference underlier price (main-session cascade) | |
| 102 | status | enum : DegrossTickerStatus | Available/Suspended/DayClosed or the reason not offered; Available and Suspended are sticky for the day and Suspended outranks DayClosed | |
| 103 | strike | double | ticker-level strike, shared by all 3 expiries; frozen at the first publish of the day | |
| 150 | timestamp | DateTime |
REPEATING FIELDS
DegrossExpiry
| # | Field | Type | Default Value | Comment |
|---|---|---|---|---|
| 111 | expiry | DateKey | flex option expiry date for this slot | |
| 113 | iDays | int | interest days to expiry | |
| 120 | srRate | double | SOFR to THIS expiry (GlobalRates, RateSource.SOFR) — the rate every fair price on this slot derives from | |
| 114 | srSDiv | double | SR continuous dividend rate at this expiry (interpolated/extrapolated to the flex expiry) | |
| 118 | srSDivMin | double | low end of the fitted sdiv range | |
| 119 | srSDivMax | double | high end of the fitted sdiv range | |
| 115 | ddivPv | double | PV of SR discrete dividends to expiry (per share) | |
| 116 | srRcFairPrc | double | SR computed fair RevCon price, TRADER R/C premium space (package premium + strike) — the SR-fair default for BasketDegrossSubmit (6913) rcLimitPrice | |
| 117 | srClearingSDiv | double | prior auction clearing SDIV (0 = no prior auction; 0 with state=Unavailable = inversion failed) | |
| 121 | srBoxSpread | double | BOX/360: implied financing spread over srRate from the listed R/C synthetic (sdiv=0 / SR ddivs), quoted simple Act/360; GC/HTB classifies off the cross-section (specialness depresses this) | |
| 122 | ddivPvList | string(64) | dated schedule behind ddivPv: per-dividend PVs at SOFR, comma-joined, parallel to ddivDaysList (empty = no dividends; the venue fair prices each dividend over its own tail) | |
| 123 | ddivDaysList | string(32) | calendar days from tradeDate to each dividend, comma-joined (Act/365 clock: years = days/365) | |
| 124 | srClearingSDivState | enum : DegrossRateState | None = no prior auction, Ok = valid (a true 0 included), Unavailable = the prior clearing price has no admissible rate |
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 = 'AtsDegrossAvailability'
# 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=AtsDegrossAvailability'
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 = 'AtsDegrossAvailability'
# 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 = 'refUPrc|status|strike|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 = ''
# 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=AtsDegrossAvailability' \
--data-urlencode 'view=refUPrc|status|strike|timestamp' \
--data-urlencode 'where='
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 = 'AtsDegrossAvailability'
# Replace with your desired view. A "|" separated list of views can be provided
# If no view is provided, all views will be returned
VIEW = 'refUPrc|status|strike|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 = ''
# 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 = 'refUPrc: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=AtsDegrossAvailability' \
--data-urlencode 'view=refUPrc|status|strike|timestamp' \
--data-urlencode 'where=' \
--data-urlencode 'limit=500' \
--data-urlencode 'order=refUPrc: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 = 'AtsDegrossAvailability'
# Replace with fields you want to see aggregate values for. A "|" separated list of measures should be provided
MEASURE = 'refUPrc|status|strike|timestamp'
# Replace with fields you want to see aggregated. A "|" separated list of fields should be provided
GROUP = 'status'
# 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 = ''
# 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=AtsDegrossAvailability' \
--data-urlencode 'measure=refUPrc|status|strike|timestamp' \
--data-urlencode 'group=status' \
--data-urlencode 'where='
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 = 'AtsDegrossAvailability'
# 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 = ''
# 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=AtsDegrossAvailability' \
--data-urlencode 'where='