m.indices.snapshots¶
The current state of each index: its level, its session so far, and its status.
Call it from a session m, made with dm.MassiveSession():
m.indices.snapshots(symbols, *, 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 perSymbolpoll(interval, mode=dm.PollMode.APPEND): appends each new state of a row, identified bySymbolandLastUpdated
Arguments¶
A linked argument follows its rule under shared arguments on the dataset index.
| Argument | Description |
|---|---|
symbols |
Indices with the I: prefix, or dm.ALL for every index. |
sort |
"ticker", the one field Massive sorts by. |
order |
The direction of sort. |
limit |
The most rows to return, in total. A watchlist's fetch() caps every request instead. |
filters |
Further endpoint parameters, such as {"ticker_gte": "I:N"}. Keys: ticker_gt, ticker_gte, ticker_lt, ticker_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 | Indices Snapshot (REST) |
|---|---|
| Indices Basic | Not included |
| Indices Starter | 15-minute delayed |
| Indices Advanced | Real-time |
| Indices Business | Real-time |
Columns¶
| Column | Type | Description |
|---|---|---|
Symbol |
String | The row's instrument, as Massive's ticker. From REST ticker: "Ticker of asset queried." |
Value |
double | Value of Index. |
LastUpdated |
Instant | The nanosecond timestamp of when this information was updated. |
MarketStatus |
String | The market status for the market that trades this ticker. |
Name |
String | Name of Index. |
TodaysChange |
double | The value of the change for the index from the previous trading day. From the session object: Trading session metrics, detailing change percentages and key price points (open, close, high, low) for the asset within the current trading day. |
SessionOpen |
double | The open value for the index of the day. From the session object: Trading session metrics, detailing change percentages and key price points (open, close, high, low) for the asset within the current trading day. |
SessionHigh |
double | The highest value for the index of the day. From the session object: Trading session metrics, detailing change percentages and key price points (open, close, high, low) for the asset within the current trading day. |
SessionLow |
double | The lowest value for the index of the day. From the session object: Trading session metrics, detailing change percentages and key price points (open, close, high, low) for the asset within the current trading day. |
SessionClose |
double | The closing value for the index of the day. From the session object: Trading session metrics, detailing change percentages and key price points (open, close, high, low) for the asset within the current trading day. |
SessionPreviousClose |
double | The closing value for the index of previous trading day. From the session object: Trading session metrics, detailing change percentages and key price points (open, close, high, low) for the asset within the current trading day. |
TodaysChangePerc |
double | The percent of the change for the index from the previous trading day. From the session object: Trading session metrics, detailing change percentages and key price points (open, close, high, low) for the asset within the current trading day. |
Timeframe |
String | The time relevance of the data. |
Type |
String | The indices market. |
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 |
ticker |
Value |
value |
LastUpdated |
last_updated |
MarketStatus |
market_status |
Name |
name |
TodaysChange |
session.change |
SessionOpen |
session.open |
SessionHigh |
session.high |
SessionLow |
session.low |
SessionClose |
session.close |
SessionPreviousClose |
session.previous_close |
TodaysChangePerc |
session.change_percent |
Timeframe |
timeframe |
Type |
type |
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.