Compare companies side by side
compare_companiesThe latest filed value of one to 5 metrics for up to 10 companies, side by side, each value with its period (fy, fp, end), filing date, basis (consolidated, solo or reported), unit and source register. Values are as filed, in each company's own currency and unit, never converted; compare fy, fp, end and basis before reading two values together. Inputs: tickers (list), metric (comma-separated, e.g. revenue,net_income), as_of (only filings dated on or before that day; needs a licence key), compact (true leaves out market_notes). Each company counts as one call against the rate limit and, for a key with a company limit, as one company read. Figures are as filed, each keyed to its filing date (filed) as its market records it (how each market dates a filing: https://www.tradingagentapp.com/fundamentals/methodology). .TW quarterly values are already SINGLE-QUARTER amounts, so differencing adjacent quarters gives wrong figures. For a quarterly row (US, Taiwan) fy and fp are the CALENDAR quarter containing the period end, not the company's fiscal quarter. Each reply's market_notes and schema state the per-market caveats (solo or group accounts, lawful gaps, charities, flags in form). Detailed line items follow local accounting rules and keep the filed sign (capex is negative in Taiwan and Japan); get_data_dictionary defines them per market. The source licences require each reply's attribution and licence notices to accompany the figures.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tickers": "<tickers>",
"metric": "<metric>"
},
"name": "compare_companies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Filing-date cut-off, YYYY-MM-DD: only filings dated on or before that day | |
| metric | Yes | 1-5 comma-separated metrics, e.g. revenue,net_income,assets | |
| compact | No | true leaves out the long per-market notes (market_notes, schema) to save tokens; default false | |
| tickers | Yes | 1-10 tickers, e.g. ["AAPL", "MSFT"] or ["0403091220.BE", "775670417.FR"] |