m.stocks.financials.cash_flow_statements¶
Cash flow statements of US public companies, one row per filer and reporting period.
Call it from a session m, made with dm.MassiveSession():
m.stocks.financials.cash_flow_statements(symbols=None, *, timeframe=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 perCik,PeriodEnd,TimeframeandSymbol
Arguments¶
A linked argument follows its rule under shared arguments on the dataset index.
| Argument | Description |
|---|---|
symbols |
Tickers whose filings to return; leave it out for every filing. dm.ALL is refused. |
timeframe |
dm.Timeframe.ANNUAL, QUARTERLY, or TRAILING_TWELVE_MONTHS; leave it out for all three. |
start |
The first period end date. |
end |
The last period end date. |
sort |
Any of Massive's field names, such as "fiscal_year". 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 {"fiscal_year_gte": 2020}. Keys: cik, cik_any_of, cik_gt, cik_gte, cik_lt, cik_lte, filing_date, filing_date_gt, filing_date_gte, filing_date_lt, filing_date_lte, fiscal_quarter, fiscal_quarter_gt, fiscal_quarter_gte, fiscal_quarter_lt, fiscal_quarter_lte, fiscal_year, fiscal_year_gt, fiscal_year_gte, fiscal_year_lt, fiscal_year_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 | Cash Flow Statements (REST) |
|---|---|
| Stocks Basic | Not included |
| Stocks Starter | Not included |
| Stocks Developer | Not included |
| Stocks Advanced | End-of-day, All history |
| Financials & Ratios Expansion | End-of-day, All history |
| Stocks Business | Not included |
| Financials & Ratios Expansion Business | End-of-day, All history |
Columns¶
| Column | Type | Description |
|---|---|---|
Symbol |
String | The ticker the request named that the row lists in Tickers: a row that lists several of the named tickers appears once for each, so an article about AAPL and MSFT read for both is listed under each. A row that lists none of the named tickers is left out, as an unrequested_symbols problem. Null when the call named no ticker. |
CashFromOperatingActivitiesContinuingOperations |
double | Cash generated from continuing business operations before discontinued operations. |
ChangeInCashAndEquivalents |
double | Net change in cash and cash equivalents during the period, representing the sum of operating, investing, and financing cash flows plus currency effects. |
ChangeInOtherOperatingAssetsAndLiabilitiesNet |
double | Net change in working capital components including accounts receivable, inventory, accounts payable, and other operating items. |
Cik |
String | The company's Central Index Key (CIK), a unique identifier assigned by the U.S. Securities and Exchange Commission (SEC). You can look up a company’s CIK using the SEC CIK Lookup tool (https://www.sec.gov/search-filings/cik-lookup). |
DepreciationDepletionAndAmortization |
double | Non-cash charges for the reduction in value of tangible and intangible assets over time. |
Dividends |
double | Cash payments to shareholders in the form of dividends, typically reported as negative values. |
EffectOfCurrencyExchangeRate |
double | Impact of foreign exchange rate changes on cash and cash equivalents denominated in foreign currencies. |
FilingDate |
String | The date of the most recent SEC filing that included this period's data. This is not necessarily the date this period was originally filed. Because SEC filings restate comparative data for prior periods, multiple records can share the same filing_date. For example, an annual 10-K reports three years of results, and a 10-Q includes prior period comparatives. To find the original filing date for a specific 10-K or 10-Q, use the SEC EDGAR filings index endpoint (/stocks/filings/vX/index). |
FiscalQuarter |
long | The fiscal quarter number (1, 2, 3, or 4) for the reporting period. |
FiscalYear |
long | The fiscal year for the reporting period. |
IncomeLossFromDiscontinuedOperations |
double | After-tax income or loss from business operations that have been discontinued. |
LongTermDebtIssuancesRepayments |
double | Net cash flows from issuing or repaying long-term debt obligations. |
NetCashFromFinancingActivities |
double | Total cash generated or used by financing activities, including debt issuance, debt repayment, dividends, and share transactions. |
NetCashFromFinancingActivitiesContinuingOperations |
double | Cash flows from financing activities of continuing operations before discontinued operations. |
NetCashFromFinancingActivitiesDiscontinuedOperations |
double | Cash flows from financing activities of discontinued business segments. |
NetCashFromInvestingActivities |
double | Total cash generated or used by investing activities, including capital expenditures, acquisitions, and asset sales. |
NetCashFromInvestingActivitiesContinuingOperations |
double | Cash flows from investing activities of continuing operations before discontinued operations. |
NetCashFromInvestingActivitiesDiscontinuedOperations |
double | Cash flows from investing activities of discontinued business segments. |
NetCashFromOperatingActivities |
double | Total cash generated or used by operating activities, representing cash flow from core business operations. |
NetCashFromOperatingActivitiesDiscontinuedOperations |
double | Cash flows from operating activities of discontinued business segments. |
NetIncome |
double | Net income used as the starting point for operating cash flow calculations. |
NoncontrollingInterests |
double | Cash flows related to minority shareholders in consolidated subsidiaries. |
OtherCashAdjustments |
double | Other miscellaneous adjustments to cash flows not classified elsewhere. |
OtherFinancingActivities |
double | Cash flows from financing activities not classified elsewhere, including share repurchases and other equity transactions. |
OtherInvestingActivities |
double | Cash flows from investing activities not classified elsewhere, including acquisitions, divestitures, and investments. |
OtherOperatingActivities |
double | Other adjustments to reconcile net income to operating cash flow not classified elsewhere. |
PeriodEnd |
String | The last date of the reporting period (formatted as YYYY-MM-DD). |
PurchaseOfPropertyPlantAndEquipment |
double | Cash outflows for capital expenditures on fixed assets, typically reported as negative values. |
SaleOfPropertyPlantAndEquipment |
double | Cash inflows from disposing of fixed assets, typically reported as positive values. |
ShortTermDebtIssuancesRepayments |
double | Net cash flows from issuing or repaying short-term debt obligations. |
Tickers |
String[] | A list of ticker symbols under which the company is listed. Multiple symbols may indicate different share classes for the same company. |
Timeframe |
String | The reporting period type. Possible values include: quarterly, annual, trailing_twelve_months. |
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 |
|
CashFromOperatingActivitiesContinuingOperations |
cash_from_operating_activities_continuing_operations |
ChangeInCashAndEquivalents |
change_in_cash_and_equivalents |
ChangeInOtherOperatingAssetsAndLiabilitiesNet |
change_in_other_operating_assets_and_liabilities_net |
Cik |
cik |
DepreciationDepletionAndAmortization |
depreciation_depletion_and_amortization |
Dividends |
dividends |
EffectOfCurrencyExchangeRate |
effect_of_currency_exchange_rate |
FilingDate |
filing_date |
FiscalQuarter |
fiscal_quarter |
FiscalYear |
fiscal_year |
IncomeLossFromDiscontinuedOperations |
income_loss_from_discontinued_operations |
LongTermDebtIssuancesRepayments |
long_term_debt_issuances_repayments |
NetCashFromFinancingActivities |
net_cash_from_financing_activities |
NetCashFromFinancingActivitiesContinuingOperations |
net_cash_from_financing_activities_continuing_operations |
NetCashFromFinancingActivitiesDiscontinuedOperations |
net_cash_from_financing_activities_discontinued_operations |
NetCashFromInvestingActivities |
net_cash_from_investing_activities |
NetCashFromInvestingActivitiesContinuingOperations |
net_cash_from_investing_activities_continuing_operations |
NetCashFromInvestingActivitiesDiscontinuedOperations |
net_cash_from_investing_activities_discontinued_operations |
NetCashFromOperatingActivities |
net_cash_from_operating_activities |
NetCashFromOperatingActivitiesDiscontinuedOperations |
net_cash_from_operating_activities_discontinued_operations |
NetIncome |
net_income |
NoncontrollingInterests |
noncontrolling_interests |
OtherCashAdjustments |
other_cash_adjustments |
OtherFinancingActivities |
other_financing_activities |
OtherInvestingActivities |
other_investing_activities |
OtherOperatingActivities |
other_operating_activities |
PeriodEnd |
period_end |
PurchaseOfPropertyPlantAndEquipment |
purchase_of_property_plant_and_equipment |
SaleOfPropertyPlantAndEquipment |
sale_of_property_plant_and_equipment |
ShortTermDebtIssuancesRepayments |
short_term_debt_issuances_repayments |
Tickers |
tickers |
Timeframe |
timeframe |
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.