Plotly Stock Data Time Series
- Rows
- 2,306
- Columns
- 6
- Data range
- 2007-01-03 to 2016-03-01
- Auto-refresh
- Re-checks its source daily
Multi-stock historical price time series dataset used in examples. Contains daily OHLCV data for major stocks, open-source academic/example source for time series and moving average computations.
AI analysis
Dataset Analysis: Plotly Bloomberg Stock Time Series
1. Dataset Overview & Value for Correlation Studies
This dataset captures nearly a decade of daily closing prices (and implicitly OHLCV structure) for four major individual equities — MSFT, IBM, SBUX, and AAPL — alongside the S&P 500 index (GSPC), spanning January 3, 2007 through March 1, 2016. That window is analytically rich because it encompasses the 2008–2009 financial crisis, the post-crisis recovery, and the early bull market of the 2010s — a rare span that includes both severe drawdown and prolonged appreciation regimes. Sourced from raw.githubusercontent.com/plotly/datasets/, this is a well-known open academic resource maintained by Plotly, making it highly reproducible but not a substitute for a live Bloomberg or Yahoo Finance feed; the data is static and terminates in early 2016, so any freshness-sensitive analysis should account for that ~9-year lag. Its primary value lies in cross-asset correlation, beta estimation, moving average modeling, and regime-change detection across a meaningful macroeconomic cycle.
---
2. Data Quality Observations
The dataset is notably clean by most practical standards. Across all 6 columns and 2,306 rows, total null cells = 0, meaning there are no missing values to impute or filter — a significant advantage for time series modeling where gaps introduce alignment problems. The duplicate row count is flagged as pending Phase D recomputation, which warrants a verification pass before any panel regression or rolling-window analysis, since even a single duplicated trading date would distort daily return calculations and autocorrelation metrics. Distinct value counts are also encouraging: Date shows 2,306 distinct values across 2,306 rows, confirming a perfectly unique date index with no repeated timestamps. Price columns show slightly fewer distinct values (e.g., MSFT: 2,115; SBUX: 2,104) than total rows, which is expected given decimal precision rounding at the storage layer rather than any data integrity concern. No type mismatches are reported, and all price columns are correctly typed as Decimal. Overall, this dataset is production-ready for correlation analysis pending only the duplicate-row confirmation.
---
3. Key Column Distributions & Notable Statistics
AAPL is the most statistically interesting column: its range of $10.35 to $130.67 with a mean of $54.72 and median of $49.33 reflects massive appreciation over the period, and its interquartile range (Q1=$22.93 → Q3=$78.10) spans more than a 3× price multiple, indicating the distribution is heavily driven by post-2012 price levels. A skewness of +0.518 confirms a modest right tail. MSFT shows the strongest positive skew at +1.02 with 78 flagged outliers — the highest outlier count in the dataset — suggesting the upper price range (approaching its max of $56.15) represents a relatively compressed recent period versus a long flat baseline, which could distort simple Pearson correlations if not log-transformed. IBM stands out as the only column with negative skew (-0.149), with a mean of $136.24 but a median of $143.83 — the median exceeding the mean indicates the distribution is left-tailed, consistent with IBM's well-documented price decline from its ~$199 peak back toward the $60s range. SBUX has the widest relative spread (min=$3.28 to max=$63.10, σ=15.52) relative to its mean ($23.21), reflecting explosive growth from a post-crisis low. GSPC serves as the natural market benchmark, with a mean of 1,460 and a relatively modest skew of +0.265, anchoring any beta or factor analysis.
---
4. Recommended Join Key for Cross-Dataset Correlation
Date is the unambiguous join key — it is typed as a date, carries zero nulls, 2,306 distinct values matching total row count exactly, and spans a well-defined ISO 8601 range (2007-01-03 to 2016-03-01). For cross-dataset joins, dates should be normalized to trading-day calendars (NYSE schedule) to avoid spurious nulls when joining against datasets that include weekends or non-US holidays. If joining against macro or economic release datasets that use monthly or quarterly granularity, a date-trunc or period-end aggregation on this key will be necessary. Secondary join candidates could include a derived ticker symbol column if this dataset is unpivoted into long format for joins against earnings, analyst ratings, or news sentiment tables.
---
5. Recommended Paired Datasets for Correlation Discovery
| Paired Dataset | Rationale | |---|---| | Federal Reserve Interest Rate (FRED EFFR) | Test rate sensitivity; IBM and MSFT historically show inverse correlation with rising rates | | VIX Volatility Index | GSPC + VIX pairing is a classic fear-gauge study; validate against 2008–2009 spike | | Apple/MSFT Earnings Reports (quarterly EPS) | Isolate earnings-driven price jumps to separate alpha from beta in AAPL/MSFT outliers | | Crude Oil Prices (WTI) | Macro regime correlation; energy prices co-moved with GSPC during 2008 collapse | | Consumer Sentiment Index (Univ. of Michigan) | SBUX as a consumer-discretionary proxy correlates well with sentiment cycles | | USD/EUR or DXY Currency Index | IBM derives significant international revenue; dollar strength is a known headwind |
Pairing this dataset with macroeconomic indicators on the same date key would enable a multi-factor regression framework, while pairing with sector ETF flows could help decompose how much of individual stock movement is systematic versus idiosyncratic — making this a versatile analytical foundation despite its age.
Columns
- Date (date)
- MSFT (decimal)
- IBM (decimal)
- SBUX (decimal)
- AAPL (decimal)
- GSPC (decimal)