m.futures.products¶
The specification of every futures product.
Call it from a session m, made with dm.MassiveSession():
m.futures.products(*, product_code=None, as_of=None, sort=None, order=None, limit=None, filters=None, on_error=None)
- Methods:
fetch(),poll(interval) - Read from: REST
poll()by default:dm.PollMode.REPLACE, which holds only the latest poll's rows, one row perProductCode,TradingVenueandDate
Arguments¶
A linked argument follows its rule under shared arguments on the dataset index.
| Argument | Description |
|---|---|
product_code |
Only this product, such as "ES", or these, such as ["ES", "NQ"]. A table of them in a ProductCode column works too. Leave it out for every product. |
as_of |
The day whose specifications to list; leave it out for today. |
sort |
A field of the rows, such as "name". Without it, Massive sorts by date. Fields: any REST field under Massive fields. |
order |
The direction of sort. |
limit |
The most rows to return, in total. A table of product codes caps every code's requests instead. |
filters |
Further endpoint parameters, such as {"sector": "precious"}. Keys: asset_class, asset_class_any_of, asset_sub_class, asset_sub_class_any_of, name, name_any_of, name_gt, name_gte, name_lt, name_lte, provider_id, sector, sector_any_of, sub_sector, sub_sector_any_of, trading_venue, trading_venue_any_of, trading_venue_gt, trading_venue_gte, trading_venue_lt, trading_venue_lte, type, type_any_of. |
on_error |
What a bad symbol or row does in this call (dm.ErrorPolicy). None, the default, takes each cause from the session's MassiveConfig.on_error. |
Plans¶
How recent the data is on each of Massive's plans, and how far back its history goes, as Massive's pages state them.
| Plan | Products (REST) |
|---|---|
| Futures Basic | Updated daily, 2 years |
| Futures Starter | Updated daily, 2 years |
| Futures Developer | Updated daily, 5 years |
| Futures Advanced | Updated daily, All history |
| Futures Business CME | Updated daily, All history |
| Futures Business CBOT | Updated daily, All history |
| Futures Business NYMEX | Updated daily, All history |
| Futures Business COMEX | Updated daily, All history |
Columns¶
| Column | Type | Description |
|---|---|---|
AssetClass |
String | The asset class to which the product belongs. |
AssetSubClass |
String | The asset sub-class to which the product belongs. |
ClearingSymbol |
String | The clearing symbol assigned to this product by the exchange's clearing house. |
ClearingVenue |
String | The exchange identifier for the clearing house that clears this product's contracts. |
Date |
String | The day, YYYY-MM-DD, whose point-in-time state the row describes. |
LastUpdated |
Instant | The date and time at which this product was last updated. |
Name |
String | The full name of the product. |
PriceQuotation |
String | The quoted price for this product. |
ProductCode |
String | The identifier for the product. |
ProviderId |
String | A unique identifier for the product assigned by the data provider. Can be used to distinguish products that share a product code. |
Sector |
String | The sector to which the product belongs. |
SettlementCurrencyCode |
String | The currency in which this product settles. |
SettlementMethod |
String | The method of settlement for this product (Financially Settled or Deliverable). |
SettlementType |
String | The type of settlement for this product. |
StrategyType |
String | The strategy type for combo products (e.g. calendar, butterfly, strip). Null for single products. |
SubSector |
String | The sub-sector to which the product belongs. |
TradeCurrencyCode |
String | The currency in which this product's contracts trade. |
TradingVenue |
String | The trading venue (MIC) for the exchange on which this product's contracts trade. |
Type |
String | The type of product, one of 'single' or 'combo'. Leaving this filter blank will query for both 'single' and 'combo' types. |
UnitOfMeasure |
String | The unit of measure for this product. |
UnitOfMeasureQty |
double | The quantity of the unit of measure for this product. |
TimestampInsert |
Instant | When the library received the row, by the local clock. Rows that arrive together share it. It isn't Massive's time, and later rows can carry earlier times. In a poll() table, it's the time of the poll the row's values came from. |
Massive fields
The Massive field behind each column, by source. An empty cell means the source doesn't carry the column, or the library computes it.
| Column | REST field |
|---|---|
AssetClass |
asset_class |
AssetSubClass |
asset_sub_class |
ClearingSymbol |
clearing_symbol |
ClearingVenue |
clearing_venue |
Date |
date |
LastUpdated |
last_updated |
Name |
name |
PriceQuotation |
price_quotation |
ProductCode |
product_code |
ProviderId |
provider_id |
Sector |
sector |
SettlementCurrencyCode |
settlement_currency_code |
SettlementMethod |
settlement_method |
SettlementType |
settlement_type |
StrategyType |
strategy_type |
SubSector |
sub_sector |
TradeCurrencyCode |
trade_currency_code |
TradingVenue |
trading_venue |
Type |
type |
UnitOfMeasure |
unit_of_measure |
UnitOfMeasureQty |
unit_of_measure_qty |
TimestampInsert |
Massive's documentation¶
The plan tables and most column descriptions are Massive's, from its documentation as fetched on 2026-12-01, with a few corrected where Massive's are wrong. The library writes its own descriptions of the columns it names or computes, such as Symbol and TimestampInsert.