get_metrics
Compute financial metrics from SEC filings: margins, returns, growth, leverage. Includes line items and periods for each metric, so you don't need to calculate ratios manually.
Instructions
Derived financial metrics for a company: margins, returns, growth, leverage.
Computed from SEC filings rather than estimated. Covers gross/operating/net
margin, R&D intensity, free cash flow and FCF margin, cash conversion,
debt/equity, net debt, ROE and ROA (on average balances where available),
and YoY plus CAGR growth for revenue, net income and operating cash flow.
Each metric lists the line items it was computed from and the period it
covers. Prefer this over deriving ratios yourself from `get_financials`.
Args:
ticker: Stock symbol, e.g. "AAPL".
history_years: Periods to span when computing growth rates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| history_years | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||