Ticker mapping picks a secondary listing (notes, preferreds) instead of the common stock #37

Closed
opened 2026-11-06 03:42:29 +00:00 by chris-kreidl · 0 comments
chris-kreidl commented 2026-11-06 03:42:29 +00:00 (Migrated from github.com)

🤖 Claude: Found while verifying S1-5 (#10) on real data.

fetchTickerMapping in enrich-prices.ts keeps the last company_tickers.json entry for each CIK. SEC lists the primary ticker first, so companies with several listed securities get a note or preferred ticker instead of their common stock.

Examples from the Nov 5 ranking: METAM (Meta, market cap $124B instead of the common stock's), GOOGM (Alphabet), TMUSL (T-Mobile), WHR-PA (Whirlpool), MGRB (Affiliated Managers Group).

Two effects:

  • Wrong market cap and EY, from the secondary security's price.
  • No sector: Yahoo returns no profile for these listings, so the Financial Services / Utilities exclusion can't apply. AMG, an asset manager, ranks #1.

Expected: each company maps to its common stock ticker.

🤖 **Claude:** Found while verifying S1-5 (#10) on real data. `fetchTickerMapping` in `enrich-prices.ts` keeps the **last** `company_tickers.json` entry for each CIK. SEC lists the primary ticker first, so companies with several listed securities get a note or preferred ticker instead of their common stock. Examples from the Nov 5 ranking: METAM (Meta, market cap $124B instead of the common stock's), GOOGM (Alphabet), TMUSL (T-Mobile), WHR-PA (Whirlpool), MGRB (Affiliated Managers Group). Two effects: - **Wrong market cap and EY**, from the secondary security's price. - **No sector**: Yahoo returns no profile for these listings, so the Financial Services / Utilities exclusion can't apply. AMG, an asset manager, ranks #1. **Expected:** each company maps to its common stock ticker.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/screener#37
No description provided.