Schema: ResponderMarkupBX (ID: 2503)
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= | accnt | string(16) | |
11= | clientFirm | string(16) | |
12= | ekey | ExpiryKey | |
13= | respSide | enum : BuySell | auction responder side (your side) (Buy = Buy/Borrow Cash) |
100 | ticker | TickerKey | |
103 | isDisabled | enum : YesNo | if Yes, this auto-responder record is disabled |
106 | expiryMoneyAvail | long | money available for responding (day total; this ticker/expiry; all strikes) [note: money = (hiStrike - loStrike) * pointValue per BX spread] |
109 | tickerMoneyAvail | long | money available for responding (day total; this ticker; all strikes) |
112 | transactFee | double | |
115 | moneyRate | double | 0.00 = no effective lend/borrow value (360 day convention) |
118 | incFeesInResp | enum : YesNo | include all estimated responder fees in final response price |
121 | roundRule | enum : RoundRule | |
124 | openExpiryMoney | int | remaining synthetics (100 share units) available for responding (day total; this ticker/expiry; all strikes) |
127 | openTickerMoney | int | remaining synthetics (100 share units) available for responding (day total; this ticker; all strikes) |
130 | cumFillMoney | double | cumulative fill money (credit/debit) (this expiry) |
133 | avgFillRate | double | avg fill effective moneyRate (this expiry) |
136 | isDivControlDisabled | enum : YesNo | yes if dividend control above is triggered |
139 | iDays | double | iDays = effective interest days [SR supplied] |
142 | iYears | double | iYears = iDays / 360.0 |
145 | numNotices | long | number of notices that match response bucket |
148 | numNoticeSR | long | number of SR auction numNotices |
151 | numNoticeAMEX | long | |
154 | numNoticeBATS | long | |
157 | numNoticeBOX | long | |
160 | numNoticeCBOE | long | |
163 | numNoticeC2 | long | |
166 | numNoticeEDGO | long | |
169 | numNoticeEMLD | long | |
172 | numNoticeGMNI | long | |
175 | numNoticeISE | long | |
178 | numNoticeMCRY | long | |
181 | numNoticeMEMX | long | |
184 | numNoticeMIAX | long | |
187 | numNoticeMPRL | long | |
190 | numNoticeNQBX | long | |
193 | numNoticeNSDQ | long | |
196 | numNoticePHLX | long | |
199 | numNoticeSPHR | long | |
202 | numDisabled | long | number skipped from isDisabled |
205 | numListedFlexMiss | long | number skipped from flex/listed filter |
208 | numNoticePriceMiss | long | number skipped from limit price filter (exchange only) |
211 | numAggSizeLimit | long | number skipped from aggregate contract/vega size limit |
214 | numRiskGroupLimit | long | number skipped from riskGroup limits |
217 | numResponses | long | number of response attempts (number of parentOrders/NoticeExecReports) |
220 | numFullSize | long | |
223 | numAllocSize | long | |
226 | numPriceMiss | long | |
229 | numTooLate | long | |
232 | numOtherMiss | long | |
235 | numDidNotTrade | long | |
238 | modifiedBy | string(24) | user who last modified this record |
241 | modifiedIn | enum : SysEnvironment | |
244 | timestamp | DateTime | timestamp of last modification |
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 = 'ResponderMarkupBX'
# 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=ResponderMarkupBX'
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 = 'ResponderMarkupBX'
# 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|isDisabled|expiryMoneyAvail|tickerMoneyAvail|transactFee|moneyRate|incFeesInResp|roundRule|openExpiryMoney|openTickerMoney|cumFillMoney|avgFillRate|isDivControlDisabled|iDays|iYears|numNotices|numNoticeSR|numNoticeAMEX|numNoticeBATS|numNoticeBOX|numNoticeCBOE|numNoticeC2|numNoticeEDGO|numNoticeEMLD|numNoticeGMNI|numNoticeISE|numNoticeMCRY|numNoticeMEMX|numNoticeMIAX|numNoticeMPRL|numNoticeNQBX|numNoticeNSDQ|numNoticePHLX|numNoticeSPHR|numDisabled|numListedFlexMiss|numNoticePriceMiss|numAggSizeLimit|numRiskGroupLimit|numResponses|numFullSize|numAllocSize|numPriceMiss|numTooLate|numOtherMiss|numDidNotTrade|modifiedBy|modifiedIn|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 = 'accnt: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=ResponderMarkupBX' \
--data-urlencode 'view=ticker|isDisabled|expiryMoneyAvail|tickerMoneyAvail|transactFee|moneyRate|incFeesInResp|roundRule|openExpiryMoney|openTickerMoney|cumFillMoney|avgFillRate|isDivControlDisabled|iDays|iYears|numNotices|numNoticeSR|numNoticeAMEX|numNoticeBATS|numNoticeBOX|numNoticeCBOE|numNoticeC2|numNoticeEDGO|numNoticeEMLD|numNoticeGMNI|numNoticeISE|numNoticeMCRY|numNoticeMEMX|numNoticeMIAX|numNoticeMPRL|numNoticeNQBX|numNoticeNSDQ|numNoticePHLX|numNoticeSPHR|numDisabled|numListedFlexMiss|numNoticePriceMiss|numAggSizeLimit|numRiskGroupLimit|numResponses|numFullSize|numAllocSize|numPriceMiss|numTooLate|numOtherMiss|numDidNotTrade|modifiedBy|modifiedIn|timestamp' \
--data-urlencode 'where=accnt: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 = 'ResponderMarkupBX'
# 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|isDisabled|expiryMoneyAvail|tickerMoneyAvail|transactFee|moneyRate|incFeesInResp|roundRule|openExpiryMoney|openTickerMoney|cumFillMoney|avgFillRate|isDivControlDisabled|iDays|iYears|numNotices|numNoticeSR|numNoticeAMEX|numNoticeBATS|numNoticeBOX|numNoticeCBOE|numNoticeC2|numNoticeEDGO|numNoticeEMLD|numNoticeGMNI|numNoticeISE|numNoticeMCRY|numNoticeMEMX|numNoticeMIAX|numNoticeMPRL|numNoticeNQBX|numNoticeNSDQ|numNoticePHLX|numNoticeSPHR|numDisabled|numListedFlexMiss|numNoticePriceMiss|numAggSizeLimit|numRiskGroupLimit|numResponses|numFullSize|numAllocSize|numPriceMiss|numTooLate|numOtherMiss|numDidNotTrade|modifiedBy|modifiedIn|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 = 'accnt: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=ResponderMarkupBX' \
--data-urlencode 'view=ticker|isDisabled|expiryMoneyAvail|tickerMoneyAvail|transactFee|moneyRate|incFeesInResp|roundRule|openExpiryMoney|openTickerMoney|cumFillMoney|avgFillRate|isDivControlDisabled|iDays|iYears|numNotices|numNoticeSR|numNoticeAMEX|numNoticeBATS|numNoticeBOX|numNoticeCBOE|numNoticeC2|numNoticeEDGO|numNoticeEMLD|numNoticeGMNI|numNoticeISE|numNoticeMCRY|numNoticeMEMX|numNoticeMIAX|numNoticeMPRL|numNoticeNQBX|numNoticeNSDQ|numNoticePHLX|numNoticeSPHR|numDisabled|numListedFlexMiss|numNoticePriceMiss|numAggSizeLimit|numRiskGroupLimit|numResponses|numFullSize|numAllocSize|numPriceMiss|numTooLate|numOtherMiss|numDidNotTrade|modifiedBy|modifiedIn|timestamp' \
--data-urlencode 'where=accnt: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 = 'ResponderMarkupBX'
# Replace with fields you want to see aggregate values for. A "|" separated list of measures should be provided
MEASURE = 'ticker|isDisabled|expiryMoneyAvail|tickerMoneyAvail|transactFee|moneyRate|incFeesInResp|roundRule|openExpiryMoney|openTickerMoney|cumFillMoney|avgFillRate|isDivControlDisabled|iDays|iYears|numNotices|numNoticeSR|numNoticeAMEX|numNoticeBATS|numNoticeBOX|numNoticeCBOE|numNoticeC2|numNoticeEDGO|numNoticeEMLD|numNoticeGMNI|numNoticeISE|numNoticeMCRY|numNoticeMEMX|numNoticeMIAX|numNoticeMPRL|numNoticeNQBX|numNoticeNSDQ|numNoticePHLX|numNoticeSPHR|numDisabled|numListedFlexMiss|numNoticePriceMiss|numAggSizeLimit|numRiskGroupLimit|numResponses|numFullSize|numAllocSize|numPriceMiss|numTooLate|numOtherMiss|numDidNotTrade|modifiedBy|modifiedIn|timestamp'
# Replace with fields you want to see aggregated. A "|" separated list of fields should be provided
GROUP = 'isDisabled|incFeesInResp|roundRule|isDivControlDisabled|modifiedIn'
# 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 = 'accnt: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=ResponderMarkupBX' \
--data-urlencode 'measure=ticker|isDisabled|expiryMoneyAvail|tickerMoneyAvail|transactFee|moneyRate|incFeesInResp|roundRule|openExpiryMoney|openTickerMoney|cumFillMoney|avgFillRate|isDivControlDisabled|iDays|iYears|numNotices|numNoticeSR|numNoticeAMEX|numNoticeBATS|numNoticeBOX|numNoticeCBOE|numNoticeC2|numNoticeEDGO|numNoticeEMLD|numNoticeGMNI|numNoticeISE|numNoticeMCRY|numNoticeMEMX|numNoticeMIAX|numNoticeMPRL|numNoticeNQBX|numNoticeNSDQ|numNoticePHLX|numNoticeSPHR|numDisabled|numListedFlexMiss|numNoticePriceMiss|numAggSizeLimit|numRiskGroupLimit|numResponses|numFullSize|numAllocSize|numPriceMiss|numTooLate|numOtherMiss|numDidNotTrade|modifiedBy|modifiedIn|timestamp' \
--data-urlencode 'group=isDisabled|incFeesInResp|roundRule|isDivControlDisabled|modifiedIn' \
--data-urlencode 'where=accnt: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 = 'ResponderMarkupBX'
# 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 = 'accnt: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=ResponderMarkupBX' \
--data-urlencode 'where=accnt:eq:ExampleString'
Post 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'
# Request Parameters
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'postmsgs',
"postaction": "U", # (U)pdate, (I)nsert, or (R)eplace
"postmerge": "Y", # (Y)es or (N)o
}
payload = {
"header": {
"mTyp": "ResponderMarkupBX"
},
"message": {
"pkey": {
"accnt": "exampleString", // string
"clientFirm": "exampleString", // string
"ekey": {
"at": "EQT",
"ts": "NMS",
"tk": "AAPL",
"dt": "2025-01-01"
},
"respSide": "enumValue" // enum(BuySell) - None Buy Sell
},
"ticker": {
"at": "EQT",
"ts": "NMS",
"tk": "AAPL"
},
"isDisabled": "enumValue", // enum(YesNo) - None, Yes, No
"expiryMoneyAvail": 1, // long
"tickerMoneyAvail": 1, // long
"transactFee": 1.0, // double
"moneyRate": 1.0, // double
"incFeesInResp": "enumValue", // enum(YesNo) - None, Yes, No
"roundRule": "enumValue", // enum(RoundRule) - None, Exact, Fuzzy
"openExpiryMoney": 1, // int
"openTickerMoney": 1, // int
"cumFillMoney": 1.0, // double
"avgFillRate": 1.0, // double
"isDivControlDisabled": "enumValue", // enum(YesNo) - None, Yes, No
"iDays": 1.0, // double
"iYears": 1.0, // double
"numNotices": 1, // long
"numNoticeSR": 1, // long
"numNoticeAMEX": 1, // long
"numNoticeBATS": 1, // long
"numNoticeBOX": 1, // long
"numNoticeCBOE": 1, // long
"numNoticeC2": 1, // long
"numNoticeEDGO": 1, // long
"numNoticeEMLD": 1, // long
"numNoticeGMNI": 1, // long
"numNoticeISE": 1, // long
"numNoticeMCRY": 1, // long
"numNoticeMEMX": 1, // long
"numNoticeMIAX": 1, // long
"numNoticeMPRL": 1, // long
"numNoticeNQBX": 1, // long
"numNoticeNSDQ": 1, // long
"numNoticePHLX": 1, // long
"numNoticeSPHR": 1, // long
"numDisabled": 1, // long
"numListedFlexMiss": 1, // long
"numNoticePriceMiss": 1, // long
"numAggSizeLimit": 1, // long
"numRiskGroupLimit": 1, // long
"numResponses": 1, // long
"numFullSize": 1, // long
"numAllocSize": 1, // long
"numPriceMiss": 1, // long
"numTooLate": 1, // long
"numOtherMiss": 1, // long
"numDidNotTrade": 1, // long
"modifiedBy": "exampleString", // string
"modifiedIn": "enumValue", // enum(SysEnvironment) - None, Neptune, Pluto, V7_Stable, V7_Latest, Saturn, Venus, Mars, SysTest, V7_Current
"timestamp": "2025-01-01 12:00:00.000000" // yyyy-MM-dd HH:mm:ss.SSSSSS
}
}
response = requests.post(MLINK_PROD_URL, params=params, json=payload)
curl -X POST 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=postmsgs' \
--data-urlencode 'postaction=U' \ # (U)pdate, (I)nsert, or (R)eplace
--data-urlencode 'postmerge=Y' \ # (Y)es or (N)o
--header 'Content-Type: application/json' \
--data '{
"header": {
"mTyp": "ResponderMarkupBX"
},
"message": {
"pkey": {
"accnt": "exampleString", // string
"clientFirm": "exampleString", // string
"ekey": {
"at": "EQT",
"ts": "NMS",
"tk": "AAPL",
"dt": "2025-01-01"
},
"respSide": "enumValue" // enum(BuySell) - None Buy Sell
},
"ticker": {
"at": "EQT",
"ts": "NMS",
"tk": "AAPL"
},
"isDisabled": "enumValue", // enum(YesNo) - None, Yes, No
"expiryMoneyAvail": 1, // long
"tickerMoneyAvail": 1, // long
"transactFee": 1.0, // double
"moneyRate": 1.0, // double
"incFeesInResp": "enumValue", // enum(YesNo) - None, Yes, No
"roundRule": "enumValue", // enum(RoundRule) - None, Exact, Fuzzy
"openExpiryMoney": 1, // int
"openTickerMoney": 1, // int
"cumFillMoney": 1.0, // double
"avgFillRate": 1.0, // double
"isDivControlDisabled": "enumValue", // enum(YesNo) - None, Yes, No
"iDays": 1.0, // double
"iYears": 1.0, // double
"numNotices": 1, // long
"numNoticeSR": 1, // long
"numNoticeAMEX": 1, // long
"numNoticeBATS": 1, // long
"numNoticeBOX": 1, // long
"numNoticeCBOE": 1, // long
"numNoticeC2": 1, // long
"numNoticeEDGO": 1, // long
"numNoticeEMLD": 1, // long
"numNoticeGMNI": 1, // long
"numNoticeISE": 1, // long
"numNoticeMCRY": 1, // long
"numNoticeMEMX": 1, // long
"numNoticeMIAX": 1, // long
"numNoticeMPRL": 1, // long
"numNoticeNQBX": 1, // long
"numNoticeNSDQ": 1, // long
"numNoticePHLX": 1, // long
"numNoticeSPHR": 1, // long
"numDisabled": 1, // long
"numListedFlexMiss": 1, // long
"numNoticePriceMiss": 1, // long
"numAggSizeLimit": 1, // long
"numRiskGroupLimit": 1, // long
"numResponses": 1, // long
"numFullSize": 1, // long
"numAllocSize": 1, // long
"numPriceMiss": 1, // long
"numTooLate": 1, // long
"numOtherMiss": 1, // long
"numDidNotTrade": 1, // long
"modifiedBy": "exampleString", // string
"modifiedIn": "enumValue", // enum(SysEnvironment) - None, Neptune, Pluto, V7_Stable, V7_Latest, Saturn, Venus, Mars, SysTest, V7_Current
"timestamp": "2025-01-01 12:00:00.000000" // yyyy-MM-dd HH:mm:ss.SSSSSS
}
}'