latestOpenAPI 3.0.32026-08-101461131.1 MB
ad6f143e43aa
reference:conditions
Conditions
List all conditions that Massive uses.
get/v3/reference/conditions
Query parameters
asset_class'stocks' | 'options' | 'crypto' | 'fx'
An identifier for a group of similar financial instruments.
Example:stocks
Filter for conditions within a given asset class.
data_type'trade' | 'bbo' | 'nbbo'
The type of financial data represented by a data model.
Filter by data type.
idinteger
An identifier used by Massive for this condition. Unique per data type.
Filter for conditions with a given ID.
sip'CTA' | 'UTP' | 'OPRA'
One of the SIPs.
Filter by SIP. If the condition contains a mapping for that SIP, the condition will be returned.
order'asc' | 'desc'
Example:asc
Order results based on the sort field.
limitinteger
Example:10
Limit the number of results returned, default is 10 and max is 1000.
sort'asset_class' | 'id' | 'type' | 'name' | 'data_types' | 'legacy'
Example:asset_class
Sort field used for ordering.
Response
OK
Example response
{
"count": 1,
"request_id": "31d59dda-80e5-4721-8496-d0d32a654afe",
"results": [
{
"asset_class": "stocks",
"data_types": [
"trade"
],
"id": 2,
"name": "Average Price Trade",
"sip_mapping": {
"CTA": "B",
"UTP": "W"
},
"type": "condition",
"update_rules": {
"consolidated": {
"updates_high_low": false,
"updates_open_close": false,
"updates_volume": true
},
"market_center": {
"updates_high_low": false,
"updates_open_close": false,
"updates_volume": true
}
}
}
],
"status": "OK"
}