Schema: SpdrParentBrkrEvent (ID: 4065)
SpdrParentBrkrEvent records are published when a new or cxl/replace parent order arrives causes a broker to begin working and again when a parent order terminates and the underlying broker stops working. The initial version contains state and market data from just after the initial risk check and first attempt at generating child orders.
METADATA
Attribute | Value |
---|---|
Topic | 3985-parent-orders |
MLink Token | ClientTrading |
SRSE Product | SRTrade |
Note: The symbol
=
next to a field number indicates that it is a primary key.
BODY
# | Field | Type | Comment |
---|---|---|---|
10= | parentNumber | long | |
11= | recType | enum : EventRecType | type of record [New,Modify,Replace,Close,Reject] |
100 | secKey | OptionKey | |
103 | secType | enum : SpdrKeyType | |
106 | accnt | string(16) | |
109 | spdrSource | enum : SpdrSource | |
112 | groupingCode | long | |
115 | orderSide | enum : BuySell | |
118 | clientFirm | string(16) | SR client firm code |
121 | altAccnt | text1 | alternate (client assigned) "long" account string (optional) |
124 | altUserName | string(24) | alternate (client assigned) user name (optional) |
127 | eventNumber | ushort | |
130 | stageType | enum : SpdrStageType | parent is a staged order [ToolVisible] |
371 | stageReview | enum : StageReview | |
133 | baseParentNumber | long | SPDR order number (initial number in cancel/replace sequence) (also, source parent for dynamically generated orders;eg auto-hedges) |
136 | prevParentNumber | long | SPDR order number (order being cancelled/replaced) (zero if none) |
139 | engineName | text1 | server stripe |
142 | ticker | TickerKey | SpiderRock underlier stock key |
145 | spdrBrokerStatus | enum : SpdrBrokerStatus | |
148 | spdrOrderStatus | enum : SpdrOrderStatus | parent order status |
151 | spdrCloseReason | enum : SpdrCloseReason | parent order close reason (if closed) |
154 | spdrRejectReason | enum : SpdrRejectReason | parent order reject reason (if any) |
157 | spdrComment | text1 | additional detail (close/reject reason; last child order error) |
178 | bidPrc | double | bid (nbbo) price @ record publish |
181 | askPrc | double | ask (nbbo) price @ record publish |
184 | bidIVol | float | bid (nbbo) ivol @ record publish |
187 | askIVol | float | ask (nbbo) ivol @ record publish |
190 | bidSize | int | bid size (nbbo cum) @ record publish |
193 | askSize | int | ask size (nbbo cum) @ record publish |
196 | uBid | double | underlier bid price @ record publish (options only) |
199 | uAsk | double | underlier ask price @ record publish (options only) |
202 | surfacePrc | float | SR surface price @ record publish |
205 | surfaceVol | float | SR surface volatility @ record publish |
208 | surfaceYrs | float | SR surface calc value @ record publish |
211 | surfaceSDiv | float | SR surface calc value @ record publish |
214 | surfaceRate | float | SR surface calc value @ record publish |
217 | surfaceUPrc | float | SR surface calc value @ record publish |
220 | surfaceDe | float | SR surface calc value @ record publish |
223 | surfaceGa | float | SR surface calc value @ record publish |
226 | surfaceTh | float | SR surface calc value @ record publish |
229 | surfaceVe | float | SR surface calc value @ record publish |
232 | surfaceRo | float | SR surface calc value @ record publish |
235 | surfacePh | float | SR surface calc value @ record publish |
238 | arriveNbboSize | int | size of the single largest exchange @ parent order arrival |
241 | arriveNbboExch | enum : OptExch | exchange representing largest size @ order arrival |
244 | arriveCumSize | int | cum size of all exchanges at NBBO price @ parent order arrival |
247 | arriveNumExch | byte | num exchanges making up cum size @ parent order arrival |
250 | arriveLimitSize | int | immediately marketable size up to limit price on parent order arrival |
253 | arriveLimitPrc | double | expected average fill price if all immediately marketable size executed as advertized |
256 | avgFillPrc | double | average fill price of all fills attributed parent order |
259 | cumFillQuan | int | cumulative fill quantity attributed to parent order |
262 | numChildOrders | ushort | total number of child orders generated by this parent broker (parent number) |
265 | numDayChildOrders | ushort | total number of child orders generated by this parent broker (all day; base parent number) |
268 | openOrderSize | int | open order size |
271 | actionOrderSize | int | order size available for immediate action (note: not all algo combinations allow immediate action) |
274 | riskLimitSize | int | risk limit size (distance to most restrictive risk limit associated with this parent order) |
277 | riskLimitDesc | enum : SpdrRisk | reason for size reduction (identifies the most restrictive risk limit) |
372 | riskLimitLevel | enum : SpdrRiskLevel | risk limit level responsible for reduction |
280 | riskLimitDetail | text1 | risk limit level responsible for reduction |
283 | limitRefUPrc | double | effective reference underlier price @ record publish (usually either mid or bid/ask depending on limit type) |
286 | limitPrice | double | parent simple prc limit (if any) |
289 | limitVol | float | parent simple vol limit (if any) |
292 | makeLimitPrice | double | effective order limit price @ record publish |
295 | makeLimitErr | enum : LimitError | limit price error code (if any) |
298 | makeLimitErrDesc | text1 | additional limit price error descriptive text |
301 | takeLimitPrice | double | effective order limit price @ record publish |
304 | takeLimitErr | enum : LimitError | limit price error code (if any) |
307 | takeLimitErrDesc | text1 | additional limit price error descriptive text |
310 | brokerState | enum : BrokerState | broker monitor state |
313 | makeState | enum : AlgoState | [enum] current state of non-marketable order handler (maker) |
316 | takeState | enum : AlgoState | [enum] current state of marketable order handler (taker) |
319 | mktCrossState | enum : MktCrossState | [enum] current state of mkt cross handler (if any) |
322 | lastChildEvent | enum : ChildEvent | most recent child handling event |
325 | spdrMktState | enum : SpdrMarketState | market state code |
328 | numOrders | int | number active child orders @ record send |
331 | leavesQty | int | number of active child order contracts (sum of all active child orders) @ record send |
334 | childOrderLeaves | int | number of open child orders @ record send |
337 | arrivalSDiv | float | effective sdiv rate @ parent order arrival (fixed for life of parent order) |
340 | arrivalRate | float | effective interest rate @ parent order arrival (fixed for life of parent order) |
343 | arrivalDDiv | float | effective cumulative discrete dividend @ parent order arrival (fixed for life of parent order) |
346 | hedgeSecKey | ExpiryKey | auto-hedge sec key |
349 | hedgeSecType | enum : SpdrKeyType | auto-hedge sec type |
352 | theoOpx | float | option theo prc (from theoVol) |
355 | theoVol | float | option theo vol (from theoModel;if any) |
358 | childOrderMask | uint | bit-mask of all exchange for which a child order was generated |
361 | priceFormat | enum : PriceFormat | price display format code |
364 | uPriceFormat | enum : PriceFormat | underlier price display format code |
367 | userName | string(24) | user associated with the most recent parent order |
370 | 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 = 'SpdrParentBrkrEvent'
# 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=SpdrParentBrkrEvent'
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 = 'SpdrParentBrkrEvent'
# 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 = 'secKey|secType|accnt|spdrSource|groupingCode|orderSide|clientFirm|altAccnt|altUserName|eventNumber|stageType|stageReview|baseParentNumber|prevParentNumber|engineName|ticker|spdrBrokerStatus|spdrOrderStatus|spdrCloseReason|spdrRejectReason|spdrComment|bidPrc|askPrc|bidIVol|askIVol|bidSize|askSize|uBid|uAsk|surfacePrc|surfaceVol|surfaceYrs|surfaceSDiv|surfaceRate|surfaceUPrc|surfaceDe|surfaceGa|surfaceTh|surfaceVe|surfaceRo|surfacePh|arriveNbboSize|arriveNbboExch|arriveCumSize|arriveNumExch|arriveLimitSize|arriveLimitPrc|avgFillPrc|cumFillQuan|numChildOrders|numDayChildOrders|openOrderSize|actionOrderSize|riskLimitSize|riskLimitDesc|riskLimitLevel|riskLimitDetail|limitRefUPrc|limitPrice|limitVol|makeLimitPrice|makeLimitErr|makeLimitErrDesc|takeLimitPrice|takeLimitErr|takeLimitErrDesc|brokerState|makeState|takeState|mktCrossState|lastChildEvent|spdrMktState|numOrders|leavesQty|childOrderLeaves|arrivalSDiv|arrivalRate|arrivalDDiv|hedgeSecKey|hedgeSecType|theoOpx|theoVol|childOrderMask|priceFormat|uPriceFormat|userName|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=SpdrParentBrkrEvent' \
--data-urlencode 'view=secKey|secType|accnt|spdrSource|groupingCode|orderSide|clientFirm|altAccnt|altUserName|eventNumber|stageType|stageReview|baseParentNumber|prevParentNumber|engineName|ticker|spdrBrokerStatus|spdrOrderStatus|spdrCloseReason|spdrRejectReason|spdrComment|bidPrc|askPrc|bidIVol|askIVol|bidSize|askSize|uBid|uAsk|surfacePrc|surfaceVol|surfaceYrs|surfaceSDiv|surfaceRate|surfaceUPrc|surfaceDe|surfaceGa|surfaceTh|surfaceVe|surfaceRo|surfacePh|arriveNbboSize|arriveNbboExch|arriveCumSize|arriveNumExch|arriveLimitSize|arriveLimitPrc|avgFillPrc|cumFillQuan|numChildOrders|numDayChildOrders|openOrderSize|actionOrderSize|riskLimitSize|riskLimitDesc|riskLimitLevel|riskLimitDetail|limitRefUPrc|limitPrice|limitVol|makeLimitPrice|makeLimitErr|makeLimitErrDesc|takeLimitPrice|takeLimitErr|takeLimitErrDesc|brokerState|makeState|takeState|mktCrossState|lastChildEvent|spdrMktState|numOrders|leavesQty|childOrderLeaves|arrivalSDiv|arrivalRate|arrivalDDiv|hedgeSecKey|hedgeSecType|theoOpx|theoVol|childOrderMask|priceFormat|uPriceFormat|userName|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 = 'SpdrParentBrkrEvent'
# Replace with your desired view. A "|" separated list of views can be provided
# If no view is provided, all views will be returned
VIEW = 'secKey|secType|accnt|spdrSource|groupingCode|orderSide|clientFirm|altAccnt|altUserName|eventNumber|stageType|stageReview|baseParentNumber|prevParentNumber|engineName|ticker|spdrBrokerStatus|spdrOrderStatus|spdrCloseReason|spdrRejectReason|spdrComment|bidPrc|askPrc|bidIVol|askIVol|bidSize|askSize|uBid|uAsk|surfacePrc|surfaceVol|surfaceYrs|surfaceSDiv|surfaceRate|surfaceUPrc|surfaceDe|surfaceGa|surfaceTh|surfaceVe|surfaceRo|surfacePh|arriveNbboSize|arriveNbboExch|arriveCumSize|arriveNumExch|arriveLimitSize|arriveLimitPrc|avgFillPrc|cumFillQuan|numChildOrders|numDayChildOrders|openOrderSize|actionOrderSize|riskLimitSize|riskLimitDesc|riskLimitLevel|riskLimitDetail|limitRefUPrc|limitPrice|limitVol|makeLimitPrice|makeLimitErr|makeLimitErrDesc|takeLimitPrice|takeLimitErr|takeLimitErrDesc|brokerState|makeState|takeState|mktCrossState|lastChildEvent|spdrMktState|numOrders|leavesQty|childOrderLeaves|arrivalSDiv|arrivalRate|arrivalDDiv|hedgeSecKey|hedgeSecType|theoOpx|theoVol|childOrderMask|priceFormat|uPriceFormat|userName|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 = 'secKey: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=SpdrParentBrkrEvent' \
--data-urlencode 'view=secKey|secType|accnt|spdrSource|groupingCode|orderSide|clientFirm|altAccnt|altUserName|eventNumber|stageType|stageReview|baseParentNumber|prevParentNumber|engineName|ticker|spdrBrokerStatus|spdrOrderStatus|spdrCloseReason|spdrRejectReason|spdrComment|bidPrc|askPrc|bidIVol|askIVol|bidSize|askSize|uBid|uAsk|surfacePrc|surfaceVol|surfaceYrs|surfaceSDiv|surfaceRate|surfaceUPrc|surfaceDe|surfaceGa|surfaceTh|surfaceVe|surfaceRo|surfacePh|arriveNbboSize|arriveNbboExch|arriveCumSize|arriveNumExch|arriveLimitSize|arriveLimitPrc|avgFillPrc|cumFillQuan|numChildOrders|numDayChildOrders|openOrderSize|actionOrderSize|riskLimitSize|riskLimitDesc|riskLimitLevel|riskLimitDetail|limitRefUPrc|limitPrice|limitVol|makeLimitPrice|makeLimitErr|makeLimitErrDesc|takeLimitPrice|takeLimitErr|takeLimitErrDesc|brokerState|makeState|takeState|mktCrossState|lastChildEvent|spdrMktState|numOrders|leavesQty|childOrderLeaves|arrivalSDiv|arrivalRate|arrivalDDiv|hedgeSecKey|hedgeSecType|theoOpx|theoVol|childOrderMask|priceFormat|uPriceFormat|userName|timestamp' \
--data-urlencode 'where=accnt:eq:ExampleString' \
--data-urlencode 'limit=500' \
--data-urlencode 'order=secKey: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 = 'SpdrParentBrkrEvent'
# Replace with fields you want to see aggregate values for. A "|" separated list of measures should be provided
MEASURE = 'secKey|secType|accnt|spdrSource|groupingCode|orderSide|clientFirm|altAccnt|altUserName|eventNumber|stageType|stageReview|baseParentNumber|prevParentNumber|engineName|ticker|spdrBrokerStatus|spdrOrderStatus|spdrCloseReason|spdrRejectReason|spdrComment|bidPrc|askPrc|bidIVol|askIVol|bidSize|askSize|uBid|uAsk|surfacePrc|surfaceVol|surfaceYrs|surfaceSDiv|surfaceRate|surfaceUPrc|surfaceDe|surfaceGa|surfaceTh|surfaceVe|surfaceRo|surfacePh|arriveNbboSize|arriveNbboExch|arriveCumSize|arriveNumExch|arriveLimitSize|arriveLimitPrc|avgFillPrc|cumFillQuan|numChildOrders|numDayChildOrders|openOrderSize|actionOrderSize|riskLimitSize|riskLimitDesc|riskLimitLevel|riskLimitDetail|limitRefUPrc|limitPrice|limitVol|makeLimitPrice|makeLimitErr|makeLimitErrDesc|takeLimitPrice|takeLimitErr|takeLimitErrDesc|brokerState|makeState|takeState|mktCrossState|lastChildEvent|spdrMktState|numOrders|leavesQty|childOrderLeaves|arrivalSDiv|arrivalRate|arrivalDDiv|hedgeSecKey|hedgeSecType|theoOpx|theoVol|childOrderMask|priceFormat|uPriceFormat|userName|timestamp'
# Replace with fields you want to see aggregated. A "|" separated list of fields should be provided
GROUP = 'secType|spdrSource|orderSide|stageType|stageReview|spdrBrokerStatus|spdrOrderStatus|spdrCloseReason|spdrRejectReason|arriveNbboExch|riskLimitDesc|riskLimitLevel|makeLimitErr|takeLimitErr|brokerState|makeState|takeState|mktCrossState|lastChildEvent|spdrMktState|hedgeSecType|priceFormat|uPriceFormat'
# 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=SpdrParentBrkrEvent' \
--data-urlencode 'measure=secKey|secType|accnt|spdrSource|groupingCode|orderSide|clientFirm|altAccnt|altUserName|eventNumber|stageType|stageReview|baseParentNumber|prevParentNumber|engineName|ticker|spdrBrokerStatus|spdrOrderStatus|spdrCloseReason|spdrRejectReason|spdrComment|bidPrc|askPrc|bidIVol|askIVol|bidSize|askSize|uBid|uAsk|surfacePrc|surfaceVol|surfaceYrs|surfaceSDiv|surfaceRate|surfaceUPrc|surfaceDe|surfaceGa|surfaceTh|surfaceVe|surfaceRo|surfacePh|arriveNbboSize|arriveNbboExch|arriveCumSize|arriveNumExch|arriveLimitSize|arriveLimitPrc|avgFillPrc|cumFillQuan|numChildOrders|numDayChildOrders|openOrderSize|actionOrderSize|riskLimitSize|riskLimitDesc|riskLimitLevel|riskLimitDetail|limitRefUPrc|limitPrice|limitVol|makeLimitPrice|makeLimitErr|makeLimitErrDesc|takeLimitPrice|takeLimitErr|takeLimitErrDesc|brokerState|makeState|takeState|mktCrossState|lastChildEvent|spdrMktState|numOrders|leavesQty|childOrderLeaves|arrivalSDiv|arrivalRate|arrivalDDiv|hedgeSecKey|hedgeSecType|theoOpx|theoVol|childOrderMask|priceFormat|uPriceFormat|userName|timestamp' \
--data-urlencode 'group=secType|spdrSource|orderSide|stageType|stageReview|spdrBrokerStatus|spdrOrderStatus|spdrCloseReason|spdrRejectReason|arriveNbboExch|riskLimitDesc|riskLimitLevel|makeLimitErr|takeLimitErr|brokerState|makeState|takeState|mktCrossState|lastChildEvent|spdrMktState|hedgeSecType|priceFormat|uPriceFormat' \
--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 = 'SpdrParentBrkrEvent'
# 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=SpdrParentBrkrEvent' \
--data-urlencode 'where=accnt:eq:ExampleString'