Skip to content

Does "symbol_nyse" in stock.yml contain valid values? #1928

Description

@asolntsev

In file "src/main/resources/en/stock.yml" element en.faker.stock.symbol_nyse contains multiple values that seem invalid to me.

@kingthorin Do you know where this list came from?

Feedback from AI:

No, these are not all currently valid NYSE symbols. Many of the base symbols belong to companies that have been delisted, acquired, or have changed their names, and the list includes specialized data-feed formatting rather than just standard tickers.

Here is why this list is not entirely valid today:

  • Delisted or Changed Tickers:

    • NVTA (Invitae): Filed for bankruptcy in 2024 and was delisted from the NYSE.
    • IRET (Investors Real Estate Trust): Changed its name to Centerspace and its ticker to CSR in 2021.
    • STAR (iStar Inc.): Merged with Safehold (SAFE) in 2023 and the STAR ticker was retired.
    • JAX (J. Alexander's): Acquired by SPB Hospitality in 2021 and delisted.
    • IO** (ION Geophysical): Filed for bankruptcy in 2022 and was delisted.
  • Data-Feed Formatting Artifacts:

    • Trailing Spaces: "STAR " includes padded spaces. This is a telltale sign that this list was pulled from a fixed-width plain text file (like an old NYSE or Nasdaq daily master list dump) where ticker fields are padded to a specific character length.
    • Preferred Stock Modifiers (^): Tickers like JPM^A and STAR^D represent preferred stock shares (e.g., JPMorgan Chase Series A). While they are real traded securities, the caret (^) is specific to certain data providers (like Yahoo Finance or specific raw exchange feeds). The NYSE natively uses a hyphen or "p" (e.g., JPM-A or JPMpA).
    • Warrants (.WS): JPM.WS represents a stock warrant. Again, while warrants are traded, the .WS suffix is a data-provider-specific convention.

Valid, Current Base Symbols:

Only a few of the base symbols in your list are still actively trading on the NYSE under these exact tickers, such as JPM (JPMorgan Chase), IRM (Iron Mountain), ITUB (Itaú Unibanco), ICL (ICL Group), and ITT (ITT Inc.).

Activity

  1. kingthorin commented on Oct 10, 2026

    @kingthorin
    Collaborator

    Aside from having done a spotless enforcement in them at some point I have no insight.

    Probably right 4 or 8 years ago?

    image

    You'd have to check blame/history.

  2. asolntsev commented on Oct 11, 2026

    @asolntsev
    CollaboratorAuthor

    @kingthorin My question is rather not "why they appeared", but "should we remove all the strange records" and update the list.
    At least, avoid using spaces and "^" characters.

  3. kingthorin commented on Oct 11, 2026

    @kingthorin
    Collaborator

    Ya I think it makes sense to update it and clean it up.

  4. baaska23 commented on Oct 14, 2026

    @baaska23
    Contributor

    Hi! I’d like to work on this. My plan:

    -Remove entries with trailing spaces, ^ (preferred stock), and .WS (warrants), keeping only plain tickers.
    -Verify each remaining base symbol against the current NYSE listings and remove delisted or renamed ones.

  5. added this to the 3.0.0 milestone on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions