compare_stocks
Side-by-side comparison of 2-6 stocks as one table: TTM revenue and growth, pretax margin, net income
growth and diluted EPS growth from SEC filings (each row's window ends on its ttm_to), net debt for
standard layouts, delayed price, day change, distance from the 52-week high and trend, market cap, and
P/E on filed diluted EPS LTM (FY + YTD - prior YTD). order lists each filed figure highest first, P/E
lowest first. comparability says what revenue means per layout; cell_notes say what moves a figure.
Filings are cited by accession in sources.edgar: open
https://www.sec.gov/Archives/edgar/data/{cik}/{accession without dashes}/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | 2 to 6 tickers, e.g. ['NVDA', 'AMD'] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||