compare_peers
Benchmark one company's metric against industry peers across multiple years to see whether its performance is good.
Instructions
Benchmark one company against its industry peers on a single metric over several years, returning the company's own series, each peer's series and the industry distribution. Answers 'is this good?', which a single company's numbers alone cannot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Years of history (default 5). | |
| metric | Yes | The metric to compare on. | |
| company | Yes | EDINET code of the company, e.g. E02144 (Toyota Motor) or E02367 (Nintendo). This is not the securities code — resolve a name or securities code to an EDINET code with search_companies first. | |
| peer_count | No | Number of peers to include (default 5). |