Data & methods
Where the data comes from
| Data | Source |
|---|---|
| List of 10-Q/10-K filings, filing dates, fiscal year end | SEC EDGAR submissions API (data.sec.gov/submissions) |
| Financial statement amounts (revenue, net income, assets, cash flows, …) | SEC XBRL company facts API (data.sec.gov/api/xbrl/companyfacts): the numbers each company tags in its own filings |
| Statements "as filed" | The SEC's rendering of each filing's statements (the R pages listed in its FilingSummary.xml) |
| Shares outstanding | The cover page of each 10-Q/10-K (XBRL dei:EntityCommonStockSharesOutstanding), read from the filing itself when a company tags it by share class |
| Public float | The 10-K cover page (dei:EntityPublicFloat) |
| Quarter-end stock prices (for P/E and market cap) | Yahoo Finance via FinanceDataReader, fetched at each refresh; only quarter-end closes, market cap, and P/E are published |
| Stock price chart | An embedded TradingView widget; it loads in your browser and nothing is stored here |
- 46 companies in 12 sectors; the list is set by hand.
- No licensed databases (Compustat, CRSP, I/B/E/S, …) are used.
- StockAnalysis and Finviz appear only as links.
Quarters and dates
- Every 10-Q and 10-K is one period, identified by its period end date.
- Columns are calendar quarters: the period end is rounded to the nearest month end and placed in that month's quarter.
- So a fiscal quarter ending Jan 31 (e.g., NVIDIA, Walmart) sits in calendar Q1.
- If a long first quarter (16 weeks, e.g., CAVA) lands in the same calendar quarter as the next filing, the earlier one moves back a column.
- Hover a quarter for the exact period end and the company's own fiscal quarter label.
- Fiscal labels follow each company's convention (fiscal year named for the year it ends or starts), taken from the fiscal year the company tags in its filings.
Statement amounts
- Q4: a 10-K reports only the full year, so Q4 = annual minus the nine-month year-to-date amount; these quarters are marked *.
- Cash flows are filed year-to-date, so each quarter = year-to-date minus the prior year-to-date.
- Balance sheet amounts are as of the period end; nothing is derived.
- When a company uses different XBRL tags for the same line (e.g.,
Revenuesvs.RevenueFromContractWithCustomerExcludingAssessedTax), the tag with the most recent data is used and older quarters are filled from the others. - EPS for Q4 is left blank: annual EPS minus nine-month EPS is not a valid quarterly EPS, because the share counts differ.
As filed vs. standardized statements
- As filed (SEC): the company's own statements, with its own lines, labels, and comparison columns, exactly as in the filing.
- Standardized: every company's tags mapped onto one template, so companies can be compared line by line.
- In the standardized version, lines a company does not tag go into Others, computed as the subtotal minus the lines shown, so every section adds up.
- When a company reports no total-liabilities line, it is computed as total liabilities and equity minus total equity (marked †).
- Redeemable (mezzanine) equity, when present, is shown between liabilities and equity.
- The accounting equation (assets = liabilities + equity) is checked for every quarter.
- In the standardized cash flow statement, payments (capex, dividends, buybacks) are shown as negatives.
Ratios
| Ratio | Definition |
|---|---|
| Gross / operating / net profit margin | Gross profit / operating income / net income ÷ revenue |
| Current ratio | Current assets ÷ current liabilities, at the quarter end |
| Free cash flow (FCF) | Cash from operations − capital expenditures |
| OCF and FCF margin | Cash from operations or FCF ÷ revenue |
| Cash conversion | Cash from operations ÷ net income; n/m when net income ≤ 0 or the multiple tops 20× |
| P/E | Market cap ÷ net income of the last four quarters; n/m when that income ≤ 0 or P/E tops 200× |
- Net income is net income attributable to the company (excluding noncontrolling interests).
- Gross profit is the tagged gross profit, or revenue minus cost of revenue; airlines, cable companies, and others that report neither show "not filed".
- In sector comparisons, margins beyond ±100% are drawn at the chart's edge; tooltips and tables show the actual values.
Shares, splits, and P/E
- Shares outstanding = all share classes on the cover page, as of a date shortly after the quarter end.
- Stock splits are detected where the count jumps by a standard ratio (×2, ×10, ÷20, …) between quarters; earlier counts are restated to the post-split basis.
- One split is set by hand: FuelCell Energy's 1-for-12 in 2019, which came with heavy share issuance.
- Market cap = quarter-end closing price × split-adjusted shares outstanding.
- Prices are already split-adjusted, so working from market cap keeps P/E on one basis across splits.
- Public float is measured once a year (end of the second fiscal quarter) and is placed in that quarter.
Refresh
- Every Monday a GitHub Actions job reruns all the scripts and publishes the site.
- New filings appear within a week; the SEC usually adds a filing's XBRL data within a day or two of filing.
- The scripts and the workflow are public: github.com/jaeyoonyu/fs.
Limitations
- The data is only as good as each company's XBRL tagging; tagging errors and changes of tags carry through.
- When a company stops tagging a line, the standardized version moves that amount into Others.
- Derived quarters (Q4, cash flows) can differ slightly from figures a company reports elsewhere, e.g., after restatements.
- Gaps: a few filings have no rendered statements (e.g., Sweetgreen's first 10-K, 21Q4), and the latest quarter can lag when the SEC has not yet posted a filing's XBRL data.
- For teaching and research only; not investment advice.
Questions or errors: yu10j@cmich.edu