FB was Meta until June 2022 and is now a
ProShares ETF. To handle both, map your old tickers to current ones with a
dated change table, check ISINs, and flag any record dated before its
ticker’s first price.
Below are tested Snowflake queries for each step: what happens when you join
old tickers to current price data, a mapping that follows chains of changes
like Fiserv’s FISV to FI and back, a check for reused tickers, and a
daily snapshot that records renames as they happen.
The queries run in Snowflake against
security_vw and
security_price_history_vw in Fruit Stand’s Historical Stock Prices
listing, which
we publish. They were run on November 21, 2026, with prices through
November 20. Ticker change dates are from each company’s announcement.Renamed tickers and reused tickers
There are two problems, and they need different fixes.- A renamed ticker. The company stays the same and its symbol changes. Old records use the old symbol, and price data may file the whole history under the new one.
- A reused ticker. A symbol that one security gave up is later assigned to another. A join on the ticker then returns the wrong security, usually with no error.
META itself was reused: before Meta took it, it belonged to Roundhill’s
metaverse ETF, which switched to METV on January 31, 2022. And Q now belongs to
Qnity Electronics, spun off from DuPont in November 2025.
Where the history goes after a rename
Many price sources file a company’s whole history under its current ticker. Ours does:META starts on Facebook’s IPO day in 2012, and XYZ on Square’s in 2015.
That is what you want for a chart of today’s companies, but it means the old
tickers no longer find anything:
SQ, MMC and FI return nothing, which you’ll notice. FB returns a
different security, which you might not. (Q starts on October 27 because
Qnity traded on a when-issued basis for a week before its November 3
debut.)
Not every source works this way. Massive (formerly Polygon.io) keeps
history as published,
so a renamed company has some history under each symbol and you join them
yourself. Check which way yours does it before you write the join.
What a plain ticker join gets wrong
Say you have trades recorded under the tickers of the day:FISV and KO are right. MMC and SQ come back empty. FB is the
dangerous one: it has no trade-date price, but it does have a latest close,
the ETF’s $42.90. A portfolio valued this way puts 10 Meta shares at $429
instead of $5,608.
Map old tickers to current ones
Keep a table of ticker changes with the date each took effect:FISV became FI in 2023, then FISV again in 2025. A recursive CTE
follows each chain to its end:
current_code:
Every trade now has both prices. The
FISV trade passed through FI and
came back to FISV. The table is only as complete as your list of changes;
the snapshot section below builds that list for you from now on.
Or join on the ISIN
If your records carry an ISIN or CUSIP, use it instead of the ticker. A ticker change doesn’t change the ISIN: the announcements from Meta, Block, Fiserv and Marsh McLennan each say the CUSIP stays the same. Looking up their ISINs returns today’s tickers:
Three limits:
- ISINs can be missing. In our listing about 14,800 securities have none: about 7,800 mutual funds and 6,300 common stocks.
- One ISIN can have more than one ticker. 38 ISINs map to more than one
active US ticker in our data, often the same company on an exchange and
over the counter, such as Guardforce AI’s
GFAIon Nasdaq andGRDAF. Filter on exchange when that happens. - ISINs do change. A merger, a new holding company or a change of domicile can give a company a new CUSIP and ISIN. Those need a mapping row like the ticker changes above.
Catch reused tickers
You can’t map a reused ticker without knowing it was reused, so check for it. A record dated before its ticker’s first price in the data is a red flag: either the ticker belonged to something else then, or the price history is incomplete.
Run it on the raw tickers before mapping, and again on
current_code
after. If you stored prices alongside the trades, also compare them with the
source’s close on the same date; a reused ticker usually trades at a very
different price.
The check misses one case: a ticker reused while your record’s date is
still inside the new holder’s history. If you bought FB the ETF in 2026,
nothing is wrong; if a 2026 record says FB but means Meta, only the price
comparison or the ISIN catches it.
Check your price source for an earlier holder’s rows
The same problem can sit inside the price data. If a source stitches history by ticker alone, a reused ticker can carry rows from the previous holder before a long gap. Look for gaps of more than a year:
The two gaps mean different things:
ZAPis an earlier holder’s history. The Global X ETF listed on December 18, 2024, but the ticker has rows from 2005 to 2018 at prices up to $274. Those rows aren’t this ETF.NBISis one company. Nebius was Yandex, whose shares were halted on February 28, 2022 and resumed on October 21, 2024 under the new name. The gap is real and the history before it belongs to the same company.
For backtests where a wrong early row is worse than a missing one, a view
that starts each ticker after its last long gap is the safe default:
META keeps all its history. ZAP drops the earlier holder’s rows, and
NBIS drops Yandex’s, which is the cost of the rule: when you know a gap is
the same company, as with Nebius, query the full history for that ticker
instead.
Record ticker changes from daily snapshots
A current security list can’t tell you what a ticker meant last year. A copy of it taken every day can. Create a snapshot table and add today’s list once a day:not exists makes a second run on the same day add nothing, so it’s
safe to schedule as a daily Snowflake
task. Each snapshot
of the US list is about 49,400 rows.
A rename is an ISIN that moved to a new ticker since the previous snapshot,
where the new ticker wasn’t there before and the old ticker no longer has
that ISIN:
FB: the first query
returned FB to META, and the second returned FB changing from Meta’s
ISIN to the ProShares ETF’s.
Two details matter:
- Compare consecutive snapshots only. Comparing all rows that share an ISIN on the same day reports every ISIN with two tickers as a rename. Our first version of the rename query did that and returned 43 false renames from a single snapshot.
- Skipped days are fine.
dense_ranknumbers the snapshots you have, so a missed day compares with the last one taken. A change that happens and reverses between two snapshots is missed.
ticker_changes and the mapping above stays
current.
Mistakes that give wrong numbers
- Joining old records on the ticker alone. Renamed tickers come back empty; reused ones come back with another security’s prices.
- Mapping without dates.
FBmeans Meta in a 2021 record and an ETF in a 2026 one. A mapping without an effective date gets one of them wrong. - Following only one step. Fiserv went
FISV,FI,FISV. A single join leaves a 2020 trade on the wrong ticker for two of those years. - Treating the ISIN as permanent. It survives ticker changes, not every corporate action.
- Dropping every gap. Trimming history at a long gap removes earlier holders’ rows but also real history after a halt, like Nebius’s.
Limits of this approach
- The change table is yours to keep. Our listing has no history of ticker changes, only the current list, so changes before you start taking snapshots have to come from company announcements or another source.
- Delisted securities have no prices. A security that drops off the US
list keeps its row in
security_vwbut loses its price history, so old records for acquired companies won’t find prices under any ticker. See the dataset docs. - Gaps aren’t the only sign of reuse. A ticker can pass straight to a new holder with no long gap. The first-price check and ISINs catch more of those than gap detection does.
F.A.Q.
Why do old tickers return no data?
Why do old tickers return no data?
The company changed its ticker and the price source files its whole history under the new one.
SQ returns nothing in our listing because Block’s history, back to Square’s 2015 IPO, is under XYZ. Map the old ticker to the new one with a dated change table.What is a reused ticker?
What is a reused ticker?
A symbol that one security gave up and another later received.
FB was Meta’s until June 9, 2022, and since June 2025 it has been a ProShares S&P 500 buffer ETF. A join on FB for a 2022 record returns no price; a join for the latest price returns the ETF’s.Is the ISIN a permanent stock identifier?
Is the ISIN a permanent stock identifier?
It survives ticker changes, because the CUSIP inside it stays the same, so it’s a better join key than the ticker. It isn’t permanent: mergers, new holding companies and changes of domicile can issue a new one, and many OTC stocks and funds have none.
How do I find when a ticker changed?
How do I find when a ticker changed?
Company press releases and exchange notices give the effective date. To catch changes going forward, snapshot the security list daily and look for an ISIN that moved to a new ticker between snapshots.
How do I keep reused tickers out of a backtest?
How do I keep reused tickers out of a backtest?
Check that each record’s date is on or after the ticker’s first price, and look for gaps of more than a year in each ticker’s history. Rows before a long gap can belong to an earlier holder of the symbol.