m.futures.market_status¶
Whether each futures product is trading right now.
Call it from a session m, made with dm.MassiveSession():
m.futures.market_status(*, product_code=None, limit=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 perProductCodeandTradingVenuepoll(interval, mode=dm.PollMode.APPEND): appends each new state of a row, identified byProductCode,TradingVenueandTimestamp
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. |
limit |
The most rows to return, in total. A table of product codes caps every code's requests instead. |
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 | Market Status (REST) |
|---|---|
| Futures Basic | Updated in real time |
| Futures Starter | Updated in real time |
| Futures Developer | Updated in real time |
| Futures Advanced | Updated in real time |
| Futures Business CME | Updated in real time |
| Futures Business CBOT | Updated in real time |
| Futures Business NYMEX | Updated in real time |
| Futures Business COMEX | Updated in real time |
Columns¶
| Column | Type | Description |
|---|---|---|
Timestamp |
Instant | The row's event time. From REST timestamp: "The timestamp for the given market event." |
MarketEvent |
String | The current status of the market for the product. |
Name |
String | The name of the futures product. |
ProductCode |
String | The product code of the futures contracts for which you want statuses. |
SessionEndDate |
String | The trading date for the current session. |
TradingVenue |
String | The trading venue (MIC) for the exchange on which the corresponding product trades. |
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 |
|---|---|
Timestamp |
timestamp |
MarketEvent |
market_event |
Name |
name |
ProductCode |
product_code |
SessionEndDate |
session_end_date |
TradingVenue |
trading_venue |
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.