get_ratios
Compute financial ratios (margins, returns, leverage, growth) for US public companies from SEC filings. Input a ticker or CIK to get the numbers.
Instructions
Get computed financial ratios (margins, returns, leverage, growth) for a US public company. Derived from SEC filings. Args: ticker: Stock ticker (e.g. 'AAPL'), 10-digit CIK ('0000320193'), stripped CIK ('320193'), or historical ticker ('FB' resolves to META).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| period | No | annual | |
| ticker | Yes | ||
| quarter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |