Skip to content

m.reference.market_holidays

The upcoming market holidays and early closes, one row per exchange and day.

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

m.reference.market_holidays(*, 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 Exchange and Date

Dataset index

Arguments

A linked argument follows its rule under shared arguments on the dataset index.

Argument Description
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 Holidays (REST)
Currencies Basic Updated as needed
Currencies Starter Updated as needed
Currencies Business Updated as needed
Indices Basic Updated as needed
Indices Starter Updated as needed
Indices Advanced Updated as needed
Indices Business Updated as needed
Options Basic Updated as needed
Options Starter Updated as needed
Options Developer Updated as needed
Options Advanced Updated as needed
Options Business Updated as needed
Stocks Basic Updated as needed
Stocks Starter Updated as needed
Stocks Developer Updated as needed
Stocks Advanced Updated as needed
Stocks Business Updated as needed

Columns

Column Type Description
Open Instant The market open time on the holiday (if it's not closed).
Date String The date of the holiday.
Close Instant The market close time on the holiday (if it's not closed).
Exchange String Which market the record is for.
Name String The name of the holiday.
Status String The status of the market on the holiday.
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
Open open
Date date
Close close
Exchange exchange
Name name
Status status
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.