m.stocks.splits¶
Stock splits, reverse splits, and stock dividends of US-listed stocks.
Call it from a session m, made with dm.MassiveSession():
m.stocks.splits(symbols=None, *, start=None, end=None, 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 perId
Arguments¶
A linked argument follows its rule under shared arguments on the dataset index.
| Argument | Description |
|---|---|
symbols |
Stock tickers; leave it out for every ticker. |
start |
The first execution date. |
end |
The last execution date. |
sort |
Any of Massive's field names, such as "execution_date". Fields: any REST field under Massive fields. |
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 {"adjustment_type": "reverse_split"}. Keys: adjustment_type, adjustment_type_any_of, 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 | Splits (REST) |
|---|---|
| Stocks Basic | Updated daily, 2 years |
| Stocks Starter | Updated daily, All history |
| Stocks Developer | Updated daily, All history |
| Stocks Advanced | Updated daily, All history |
| Stocks Business | Updated daily, All history |
Columns¶
| Column | Type | Description |
|---|---|---|
Symbol |
String | The row's instrument, as Massive's ticker. From REST ticker: "Stock symbol for the company that executed the split". |
AdjustmentType |
String | Classification of the share-change event. Possible values include: forward_split (share count increases), reverse_split (share count decreases), stock_dividend (shares issued as a dividend) |
ExecutionDate |
String | Date when the stock split takes effect. The adjustment is applied overnight. On the prior trading day, the post-market session is the last session that shows pre-split prices. On the execution date, all trading is already adjusted for the split. This includes the pre-market session. |
HistoricalAdjustmentFactor |
double | Cumulative adjustment factor used to offset split effects on historical prices. To adjust a historical price for splits: for a price on date D, find the first split whose execution_date is after date D and multiply the unadjusted price by the historical_adjustment_factor. |
Id |
String | Unique identifier for each stock split event |
SplitFrom |
double | Denominator of the split ratio (old shares) |
SplitTo |
double | Numerator of the split ratio (new shares) |
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 |
AdjustmentType |
adjustment_type |
ExecutionDate |
execution_date |
HistoricalAdjustmentFactor |
historical_adjustment_factor |
Id |
id |
SplitFrom |
split_from |
SplitTo |
split_to |
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.