m.crypto.quotes¶
Quotes of crypto pairs: each exchange's best bid and ask, as they change.
Call it from a session m, made with dm.MassiveSession():
m.crypto.quotes(symbols, *, on_error=None)
- Methods:
blink(),append_only(),ring(capacity),last_by(by='Symbol') - Read from: WebSocket
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 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 | Quotes (WebSocket) |
|---|---|
| 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 WebSocket pair: "The crypto pair." |
Date |
String | The trading day of the row, as ISO yyyy-MM-dd text: the UTC date of Timestamp. |
Timestamp |
Instant | The row's event time. From WebSocket t: "The Timestamp in Unix MS." |
BidPrice |
double | The bid price. |
BidSize |
double | The bid size. |
AskPrice |
double | The ask price. |
AskSize |
double | The ask size. |
Exchange |
long | The crypto exchange ID. See Exchanges (https://massive.com/docs/rest/crypto/market-operations/exchanges) for a list of exchanges and their IDs. |
ReceivedTimestamp |
Instant | The timestamp that the tick was received by Massive. |
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. |
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 | WebSocket field |
|---|---|
Symbol |
pair |
Date |
|
Timestamp |
t |
BidPrice |
bp |
BidSize |
bs |
AskPrice |
ap |
AskSize |
as |
Exchange |
x |
ReceivedTimestamp |
r |
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.