Skip to content

events list --expand company does not inline company names (bare companyId only) #6

Description

@arcaputo3

Problem

quartr events list --expand company does not inline company names — rows still carry only a bare companyId (observed 2026-07-25, weekly-digest pull). Every consumer ends up making a second quartr companies list --company-ids ... call and joining by hand.

This combines badly with the ticker-collision problem (#see companion issue): without names in the events output there is no way to notice that --tickers ACA gave you Crédit Agricole rows interleaved with Arcosa's.

Proposed fix

  • If the API's expand=company genuinely returns the embedded company object, surface it in the CLI's table/JSON output (this may just be an output-shaping bug in internal/output/).
  • If the API ignores the expand parameter for this endpoint, do the join client-side when --expand company is passed: batch the distinct companyIds into one companies list call and merge name/primaryTicker into each row.

Either way, --expand company should never be a silent no-op.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions