Skip to content

m.crypto.snapshots

The current state of crypto pairs: today's, the last minute's, and yesterday's bars.

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

m.crypto.snapshots(symbols, *, 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 Symbol
  • poll(interval, mode=dm.PollMode.APPEND): appends each new state of a row, identified by Symbol and Updated

Dataset index

Arguments

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

Argument Description
symbols Crypto pairs, such as X:BTCUSD, or dm.ALL for every traded pair.
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 Full Market Snapshot (REST)
Currencies Basic Not included
Currencies Starter Real-time
Currencies Business Real-time

Columns

Column Type Description
Symbol String The row's instrument, as Massive's ticker. From REST ticker: "The exchange symbol that this item is traded under."
DayOpen double The open price for the symbol in the given time period. From the day object: The most recent daily bar for this ticker.
DayHigh double The highest price for the symbol in the given time period. From the day object: The most recent daily bar for this ticker.
DayLow double The lowest price for the symbol in the given time period. From the day object: The most recent daily bar for this ticker.
DayClose double The close price for the symbol in the given time period. From the day object: The most recent daily bar for this ticker.
DayVolume double The trading volume of the symbol in the given time period. From the day object: The most recent daily bar for this ticker.
DayVwap double The volume weighted average price. From the day object: The most recent daily bar for this ticker.
Fmv double Fair market value is only available on Business plans. It is our proprietary algorithm to generate a real-time, accurate, fair market value of a tradable security. For more information, contact us (https://massive.com/contact).
LastTradePrice double The price of the trade: the amount of the pair's second currency paid for one unit of its first (US dollars per bitcoin for X:BTCUSD). From the lastTrade object: The most recent trade for this ticker.
LastTradeSize double The size (volume) of the trade. From the lastTrade object: The most recent trade for this ticker.
LastTradeConditions long[] A list of condition codes. See Crypto Condition Codes (https://massive.com/docs/rest/crypto/market-operations/condition-codes) for what each code means. From the lastTrade object: The most recent trade for this ticker.
LastTradeId String The Trade ID which uniquely identifies a trade on the exchange that the trade happened on. From the lastTrade object: The most recent trade for this ticker.
LastTradeParticipantTimestamp Instant The millisecond accuracy timestamp. This is the timestamp of when the trade was generated at the exchange. From the lastTrade object: The most recent trade for this ticker.
LastTradeExchange long The exchange that this crypto trade happened on. See Exchanges (https://massive.com/docs/rest/crypto/market-operations/exchanges) for a mapping of exchanges to IDs. From the lastTrade object: The most recent trade for this ticker.
LastMinuteOpen double The open price for the symbol in the given time period. From the min object: The most recent minute bar for this ticker.
LastMinuteHigh double The highest price for the symbol in the given time period. From the min object: The most recent minute bar for this ticker.
LastMinuteLow double The lowest price for the symbol in the given time period. From the min object: The most recent minute bar for this ticker.
LastMinuteClose double The close price for the symbol in the given time period. From the min object: The most recent minute bar for this ticker.
LastMinuteVolume double The trading volume of the symbol in the given time period. From the min object: The most recent minute bar for this ticker.
LastMinuteVwap double The volume weighted average price. From the min object: The most recent minute bar for this ticker.
LastMinuteTransactions long The number of transactions in the aggregate window. From the min object: The most recent minute bar for this ticker.
LastMinuteWindowStart Instant The Unix millisecond timestamp for the start of the aggregate window. From the min object: The most recent minute bar for this ticker.
PrevDayOpen double The open price for the symbol in the given time period. From the prevDay object: The previous day's bar for this ticker.
PrevDayHigh double The highest price for the symbol in the given time period. From the prevDay object: The previous day's bar for this ticker.
PrevDayLow double The lowest price for the symbol in the given time period. From the prevDay object: The previous day's bar for this ticker.
PrevDayClose double The close price for the symbol in the given time period. From the prevDay object: The previous day's bar for this ticker.
PrevDayVolume double The trading volume of the symbol in the given time period. From the prevDay object: The previous day's bar for this ticker.
PrevDayVwap double The volume weighted average price. From the prevDay object: The previous day's bar for this ticker.
TodaysChange double The value of the change from the previous day.
TodaysChangePerc double The percentage change since the previous day.
Updated Instant The last updated timestamp.
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
DayOpen day.o
DayHigh day.h
DayLow day.l
DayClose day.c
DayVolume day.v
DayVwap day.vw
Fmv fmv
LastTradePrice lastTrade.p
LastTradeSize lastTrade.s
LastTradeConditions lastTrade.c
LastTradeId lastTrade.i
LastTradeParticipantTimestamp lastTrade.t
LastTradeExchange lastTrade.x
LastMinuteOpen min.o
LastMinuteHigh min.h
LastMinuteLow min.l
LastMinuteClose min.c
LastMinuteVolume min.v
LastMinuteVwap min.vw
LastMinuteTransactions min.n
LastMinuteWindowStart min.t
PrevDayOpen prevDay.o
PrevDayHigh prevDay.h
PrevDayLow prevDay.l
PrevDayClose prevDay.c
PrevDayVolume prevDay.v
PrevDayVwap prevDay.vw
TodaysChange todaysChange
TodaysChangePerc todaysChangePerc
Updated updated
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.