m.indices.daily_open_close¶
One day's opening, closing, high, and low levels of each index.
Call it from a session m, made with dm.MassiveSession():
m.indices.daily_open_close(symbols, date, *, 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 perSymbol
Arguments¶
A linked argument follows its rule under shared arguments on the dataset index.
| Argument | Description |
|---|---|
symbols |
Indices with the I: prefix. dm.ALL is refused; for every index's bar of one day, use m.indices.bars(dm.ALL, dm.Timespan.DAY).history(day, day). |
date |
The day, as a date. A datetime raises. |
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 | Daily Ticker Summary (OHLC) (REST) |
|---|---|
| Indices Basic | End-of-day, All history |
| Indices Starter | 15-minute delayed, All history |
| Indices Advanced | Real-time, All history |
| Indices Business | Real-time, All history |
Columns¶
| Column | Type | Description |
|---|---|---|
Symbol |
String | The row's instrument, as Massive's ticker. From REST symbol: "The exchange symbol that this item is traded under." |
Date |
String | The day the summary covers, as ISO yyyy-MM-dd text: a Chicago calendar day. From REST from: "The requested date." |
TimestampStart |
Instant | The start of the day the summary covers, as an Instant: 00:00 Chicago time (01:00 New York time) of Date, where the index day bar of that date starts. Massive's index days are Chicago days: it stamps an index day at midnight in Chicago on every source, and its values are those of that Chicago day, though Massive's documentation says index days are Eastern. |
TimestampEnd |
Instant | The exclusive end of the day the summary covers, as an Instant: 00:00 Chicago time (01:00 New York time) of the next day, where the index day bar of that date ends. Massive's index days are Chicago days: it stamps an index day at midnight in Chicago on every source, and its values are those of that Chicago day, though Massive's documentation says index days are Eastern. A row read before its window ended has TimestampInsert before TimestampEnd, and its values can still change; t.where("TimestampEnd <= TimestampInsert") keeps only the rows read after their window ended. That test reads the local clock, which can be off, and a row read within moments of its end, or from a delayed feed, may still lack the window's last trades. |
Open |
double | The open value for the symbol in the given time period. |
High |
double | The highest value for the symbol in the given time period. |
Low |
double | The lowest value for the symbol in the given time period. |
Close |
double | The close value for the symbol in the given time period. |
AfterHours |
double | The close value of the ticker symbol in after hours trading. |
PreMarket |
double | The open value of the ticker symbol in pre-market trading. |
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 |
|---|---|
Symbol |
symbol |
Date |
from |
TimestampStart |
|
TimestampEnd |
|
Open |
open |
High |
high |
Low |
low |
Close |
close |
AfterHours |
afterHours |
PreMarket |
preMarket |
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.