Skip to content

m.futures.schedules

The timed events of each futures product's trading sessions.

Call it from a session m, made with dm.MassiveSession():

m.futures.schedules(*, product_code=None, start=None, end=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 per ProductCode, TradingVenue, Timestamp and Event

Dataset index

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.
start The first session, by SessionEndDate, as a date.
end The last session, as a date. Leave it out to include sessions still to come.
sort A field of the rows. Without it, Massive sorts by product_code. 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 {"trading_venue": "XCME"}. Don't pass session_end_date, which start and end set. Keys: trading_venue, trading_venue_any_of, trading_venue_gt, trading_venue_gte, trading_venue_lt, trading_venue_lte.
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 Schedules (REST)
Futures Basic Updated daily, 2 years
Futures Starter Updated daily, 2 years
Futures Developer Updated daily, 2 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
Timestamp Instant The row's event time. From REST timestamp: "The timestamp for the given market event."
Event String The type of session on the given trading date.
ProductCode String The product code of the futures contract.
ProductName String The name of the futures product to which this schedule applies.
SessionEndDate String The session end date (also known as the trading date) of the session the event belongs to. Trading sessions end at 5 PM Central Time, so a session ending at 5 PM CT on January 1st has a session_end_date of 2025-01-01.
TradingVenue String The trading venue (MIC) for the exchange on which this schedule's 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
Event event
ProductCode product_code
ProductName product_name
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.