Map each CIK to its common stock ticker #39
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
epic:E1-foundation
epic:E2-correct-metrics
epic:E3-fast-jobs
epic:E4-cli
epic:E5-web-ui
epic:E6-history
good first issue
help wanted
invalid
question
sprint-tracking
story
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/screener!39
Loading…
Reference in a new issue
No description provided.
Delete branch "37-primary-ticker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🤖 Claude: Closes #37
SEC's
company_tickers.jsonlists a company's primary security first, then its other share classes, notes and preferreds.fetchTickerMappingkept the last entry for each CIK. It now keeps the first, using a new pure functionprimaryTickersinsrc/tickers.ts, whichenrich-prices.tscalls.Definition of Done
primaryTickerson today's livecompany_tickers.json, and every example from the issue now maps to its common stock:bun testpasses; new logic has tests: 142 pass, 0 fail.test/tickers.test.tsuses real entries and ranks from the SEC file.bun checkis clean (no type errors) andbun fmt --checkpasses on the changed files.bun run enrich+bun run export(it takes hours at 1 req/s). After that rerun, AMG should drop out as Financial Services, and Meta's market cap should reflect META.🤖 Generated with Claude Code
🤖 Claude: ## Code review
No issues found. Checked for bugs and CLAUDE.md compliance.