BLOG

Behind the numbers.

Code examples, market analysis, and data quality deep-dives.

Is MSTR a Leveraged Bitcoin Proxy? Rolling Beta Analysis in Python
Is Micron's Memory Cycle Recovering? Inventory and Margin Forecasting in Python
Which Sectors Work When Bonds Rally? Rate-Sensitive Rotation in Python
Do One-Month Price Extremes Reverse? Signal Evaluation in Python
Do Low-Volatility S&P 500 Stocks Reduce Drawdowns? Factor Test in Python
Is AI Capex Paying Back Fast Enough? Revenue Hurdle Forecasting in Python
Could Shorter AI Asset Lives Hit Earnings? Depreciation Stress Test in Python
How Much AI Capex Risk Can a Portfolio Remove? Constrained Optimization in Python
Is the AI Capex Trade Crowded? Rolling Volatility and Sector Rotation in Python
Did the AI Boom Come From Existing S&P 500 Members? Point-in-Time Momentum Test in Python
Is AI Revenue Circular? Customer-Vendor Capex Loop Analysis in Python
Is the AI Trade Connected to Private Credit? Rolling Correlation Network in Python
Is Apollo More Balance-Sheet Sensitive Than Peers? Leverage Screen in Python
Are AI Earnings Supported by Cash Flow? Accrual and Capex Screen in Python
Can Defensive Stocks Hedge AI Drawdowns? Basket Regime Test in Python
How Fast Does the Market Price In Fed Decisions? FOMC Event Study in Python
How Much Are Options Sellers Overpaid? The Variance Risk Premium in Python
Which Companies Have the Worst Earnings Quality? Sloan Accrual Screen with Geographic Revenue Data in Python
Does the Oil-to-Gold Ratio Signal Recessions? XLE/GLD Backtest in Python
Is AI Spending Crowding Out Free Cash Flow? Capex Sustainability Across the Mag 7 in Python
Does a Long Energy / Short Bonds Portfolio Capture Inflation Surprises? Factor Construction in Python
Can a Hidden Markov Model Detect Oil Market Regimes? HMM Analysis in Python
Do Grain Prices Predict Food Inflation? Granger Causality Test in Python
Does the Corporate Credit Spread Predict Stock Market Crashes? BAA-AAA Spread Analysis in Python
Do Oil Stocks Hedge Inflation? Rolling Beta Analysis in Python
Which Stocks Are Most Rate-Sensitive? Equity Duration via Bond Beta in Python
Which Companies Have the Highest Accrual Ratios? Earnings Quality Screening in Python
Is Alpha Persistent or Decaying? Rolling Sharpe Ratio Analysis in Python
Are Markets Trending or Mean-Reverting? Hurst Exponent Analysis in Python
Is Consumer Discretionary vs Staples a Leading Indicator? XLY/XLP Ratio Analysis in Python
Does Heavy Capex Predict Future Stock Returns? Capital Expenditure Analysis in Python
How to Estimate Cost of Equity Using CAPM in Python
Is Volatility Predictable? Testing for Volatility Clustering in Python
Which Industrials Are Overleveraged? Net Debt to EBITDA Screening in Python
GM Before and After Bankruptcy: Why Entity Resolution Matters for Financial Data
What Is Adjusted Beta? Merrill Lynch Beta Shrinkage in Python
How Good Is a Stock Pick? Information Ratio and Tracking Error in Python
Do Stock Returns Follow a Normal Distribution? Testing for Fat Tails in Python
Which Large Caps Have the Highest Free Cash Flow Yield? FCF Screening in Python
Which Sectors Won Over 5 Years? Sector Rotation Analysis in Python
How to Forecast Stock Volatility with GARCH Models in Python
Are Stock Prices Mean-Reverting? Augmented Dickey-Fuller Test in Python
How to Calculate CAPM Alpha and Beta with Regression in Python
How to Compare Sector Sharpe Ratios and Sortino Ratios in Python
DELL: Why Stitching Historical Price Data Together Is Wrong
How to Analyze Drawdown and Recovery for Bank Stocks in Python
How to Screen SaaS Stocks by Revenue Growth and Cash Flow in Python
How to Screen REITs by Dividend Yield and Valuation in Python
How Correlated Are the Magnificent 7? Intra-Group Correlation in Python
AAPL vs XOM: Do Individual Stocks Have Seasonal Patterns?
How to Rank Large-Cap Stocks by Momentum in Python
How to Build a Multi-Endpoint Financial Dashboard in Python
How to Compare Volatility Across Energy Stocks in Python
How to Screen Healthcare Stocks by Valuation in Python
How to Build a Sector Correlation Matrix for Portfolio Diversification in Python
How to Find Oversold and Overbought Stocks Using Z-Scores in Python
How to Measure Earnings Quality: Cash Flow vs Net Income in Python
How to Build a Multi-Factor Stock Screen in Python (Value + Momentum + Quality)
How to Build a Simple DCF Model for Any Stock in Python
How to Screen Tech Stocks by Revenue Growth in Python
How to Screen Stocks by Balance Sheet Health in Python
Is "Sell in May" Real? SPY Monthly Seasonality Over 10 Years
How to Compare Sector Performance YTD Using Python
How to Track S&P 500 Additions and Removals Over Time in Python
How to Screen Dividend Stocks by Yield and Quality in Python
How to Calculate Max Drawdown and Recovery Time for Any Stock in Python
How to Compare Profitability Across Mega-Cap Tech Stocks in Python
Why Ticker Symbols Are Unreliable: The Recycling Problem Every Quant Should Know
How to Calculate and Compare Stock Volatility in Python
How to Screen Blue-Chip Stocks by P/E Ratio in Python
How to Track Companies Through Ticker Changes, Bankruptcies, and Renames in Python
S&P 500 Turnover: How Much the Index Has Changed Since 2010
How to Calculate Stock Beta and Correlation in Python
← All articles

DELL: Why Stitching Historical Price Data Together Is Wrong

What’s the question?

Dell Inc. went private in October 2013 through a leveraged buyout. Five years later, Dell Technologies re-entered public markets in December 2018 as a structurally different company — one that had absorbed EMC Corporation and held a controlling stake in VMware, producing a revenue mix, capital structure, and operating profile with no continuity to the original Dell Inc. Both entities traded under the ticker “DELL.” A data provider that concatenates these two price histories into a single time series creates a fictitious continuity: return calculations, drawdown analysis, backtests, and factor regressions built on that series would all be contaminated by a price jump that represents a corporate restructuring, not a market movement. How does entity resolution prevent this contamination?

The approach

The xfinlink entity resolution system assigns each distinct corporate entity a permanent, unique identifier (entity_id) that persists regardless of ticker changes, delistings, or re-IPOs. The resolve endpoint is queried for “DELL” to reveal the full entity lineage: two separate entries with non-overlapping validity windows. The prices endpoint is then called for two time periods — Dell Technologies’ first trading days in December 2018 and its most recent week — to confirm that both queries return data exclusively for entity_id 65047 (Dell Technologies Inc.) with no leakage from entity_id 10408 (Dell Inc.).

import xfinlink as xfl
xfl.set_api_key("your_key")  # free at https://xfinlink.com/signup

info = xfl.resolve("DELL")
for entity in info["data"]["DELL"]["entities"]:
    valid_to = entity.get("ticker_valid_to") or "present"
    print(f'{entity["name"]}')
    print(f'  Entity ID: {entity["entity_id"]} | Valid: {entity["ticker_valid_from"]} → {valid_to}')

new_dell = xfl.prices("DELL", start="2018-12-28", end="2019-01-08", fields=["close", "volume"])
print("\nFirst trading days (Dec 2018):")
print(new_dell[["date","entity_name","close","volume"]].to_string(index=False))

recent = xfl.prices("DELL", period="1mo", fields=["close", "volume"])
print("\nRecent:")
print(recent.tail(5)[["date","entity_name","close","volume"]].to_string(index=False))

Output:

=== DELL: Two Companies, One Ticker ===

  DELL INC
    Entity ID: 10408 | Valid: 1988-06-22 → 2013-10-29

  DELL TECHNOLOGIES INC
    Entity ID: 65047 | Valid: 2018-12-28 → present

=== New Dell Technologies — First Trading Days (Dec 2018) ===
      date           entity_name  close  volume
2018-12-31 DELL TECHNOLOGIES INC  48.87 5818707
2019-01-02 DELL TECHNOLOGIES INC  47.12 6108745
2019-01-03 DELL TECHNOLOGIES INC  45.13 6902591
2019-01-04 DELL TECHNOLOGIES INC  46.02 8906759
2019-01-07 DELL TECHNOLOGIES INC  46.32 4925854
2019-01-08 DELL TECHNOLOGIES INC  46.87 7286293

=== Dell Technologies — Recent ===
      date           entity_name  close   volume
2026-05-07 DELL TECHNOLOGIES INC 230.27  4842310
2026-05-08 DELL TECHNOLOGIES INC 260.46 12046171
2026-05-11 DELL TECHNOLOGIES INC 247.04 11195114
2026-05-12 DELL TECHNOLOGIES INC 238.94  7124144
2026-05-13 DELL TECHNOLOGIES INC 243.87  4985109

=== Key Insight ===
New Dell first close: $48.87 (Dec 2018)
Current close:        $243.87
These are DIFFERENT companies. Entity resolution prevents fake data.

What this tells us

The resolve endpoint identifies two distinct entities behind the “DELL” ticker, separated by a five-year gap during which no public company traded under that symbol. Dell Inc. (entity_id 10408, valid 1988–2013) was a personal computer manufacturer. Dell Technologies (entity_id 65047, valid 2018–present) is an enterprise IT conglomerate encompassing the original PC business, EMC’s storage division, and — until its 2021 spinoff — a controlling stake in VMware. Despite sharing a ticker and a founder, the two entities have incomparable financial statements, capital structures, and revenue compositions.

The price queries confirm clean separation across both time periods. Every row returned for December 2018 and May 2026 identifies “DELL TECHNOLOGIES INC” with entity_id 65047. No data from Dell Inc. contaminates the series. Querying “DELL” with as_of=“2012-01-01” would return Dell Inc. data exclusively, because the temporal filter restricts resolution to the entity that was valid at that date.

Without entity resolution, a request for the full “DELL” price history would produce a time series jumping from Dell Inc.’s final pre-privatization close (approximately $13.65 in October 2013) to Dell Technologies’ first post-IPO close ($48.87 in December 2018) — a 258% phantom gain spanning a five-year period when no stock traded. Any return calculation, volatility estimate, or backtest covering this window would be mathematically invalid.

So what?

Ticker recycling — the reuse of the same symbol by different corporate entities — is among the most common and least visible sources of data error in quantitative finance. It affects privatizations and re-IPOs (DELL), bankruptcies (GM before and after 2009), rebrands (FB to META), and exchange delistings. Any analysis spanning multiple years should treat entity-level identifiers, not tickers, as the primary key for joining data across time. The entity_id field guarantees that price series, fundamental data, and derived analytics remain bound to a single corporate entity regardless of how many times a ticker has been reassigned.

Built with xfinlink — free financial data API for Python. pip install xfinlink
← All articles