Repository navigation
Choose primary listings better for companies abroad and on small venues - #243
Merged
Merged
Conversation
- A country that leads no main venue gets the venue holding most of its listings as its home venue, for its own companies only (Vienna for Austria, Mexico City, Buenos Aires): FACC.VI instead of Prague, America Movil's AMXB.MX instead of its ADR. - A home line on its country's own venue outranks one on a venue another country leads, and home currencies also come from those own venues. - At home, a line without an ISIN gives way to a line of the same name with one (Avon's Aquis line to AVON.L). - Abroad, a line in the currency of the company's ISIN country on a selective venue (few foreign listings) beats the rest: STMicroelectronics in Paris, argenx in Brussels; euro lines on Xetra don't count, so Accenture stays on NYSE. - Share classes don't set the bar for a company's other lines, and a known country is no longer replaced by a namesake's (Frontline). - Data: Frontline plc is in Cyprus on every line; Danone's Milan line is French.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One change to how
only_primary_listingchooses a company's primary listing. It fixes the cases the Website session and the probes found:Rules
Effect on the data
Four new unit tests cover the rules. Checks: full test suite (407 passed), identifier gate, black and ruff.