FRED – NYSE Margin Debt (Monthly)
- Rows
- 323
- Columns
- 2
- Data range
- 1945-10-01 to 2026-04-01
- Auto-refresh
- Re-checks its source every 14 days
- Last refreshed with new data
- 2026-10-10
Quarterly financial liabilities data related to equity market broker-dealer leverage from FRED. Useful supplementary time series for stock market analysis.
AI analysis
Dataset Analysis: FRED NYSE Margin Debt (Quarterly)
1. What This Dataset Represents
This dataset captures broker-dealer financial liabilities related to equity market leverage, sourced from the Federal Reserve Bank of St. Louis (FRED) via their public API at fred.stlouisfed.org. The series identifier BOGZ1FL663067003Q places it within the Financial Accounts of the United States (Z.1 release), a highly authoritative publication from the Federal Reserve. Despite the dataset title referencing "NYSE Margin Debt," the underlying series more precisely tracks broker-dealer credit liabilities, making it a proxy for leveraged speculation and systemic credit risk in equity markets. With coverage spanning October 1945 through January 2026, this is an exceptionally long time series — over 80 years — offering rare historical depth for studying market cycles, credit expansions, and financial crises. Its quarterly frequency limits intra-quarter resolution but is well-suited for macro-level trend and regime analysis.
---
2. Data Quality Observations
Overall data quality is good but not pristine. The dataset contains 322 rows and 2 columns, with a total of 18 null cells, all concentrated in the single value column BOGZ1FL663067003Q — representing a 5.6% null rate for that column. This is a notable but not disqualifying gap; missing values likely correspond to periods where the Federal Reserve had not yet compiled or published estimates (common in the earliest post-WWII quarters). No duplicate rows are flagged, and the date column is fully populated with 322 distinct values, confirming a clean, non-overlapping time index. There are 3 statistical outliers detected in the value column, which almost certainly correspond to the extreme margin debt levels observed during recent bull markets (2020–2022 era). Type consistency appears solid — dates are properly typed and the value column is integer-encoded, which is appropriate for the reported units (likely millions of dollars). The primary remediation needed before analysis is null imputation or exclusion, particularly for the earlier decades.
---
3. Key Column Distributions
The value column BOGZ1FL663067003Q tells a striking growth story with strong right skew. The mean of 115,934 is nearly three times the median of 42,054, and the skewness coefficient of 1.34 confirms the distribution is heavily right-tailed — a signature of exponential long-run growth compounded by episodic credit bubbles. The interquartile range spans from Q1 = 7,677 to Q3 = 216,306, an approximately 28x spread between the 25th and 75th percentiles alone, underscoring how dramatically leverage has scaled since the 1940s. The minimum value of 594 (early post-war era) versus the maximum of 622,199 (recent peak) represents a ~1,000x increase in nominal terms. The standard deviation of 140,099 exceeds the mean, further reflecting the extreme dispersion. These characteristics suggest the raw series will require log-transformation or differencing before any regression or correlation analysis to avoid spurious relationships driven purely by trend.
---
4. Recommended Join Key Columns
The observationdate column is the natural and only viable join key, and it is well-suited for the role — fully populated, all-distinct, and spanning a clean quarterly cadence. When joining to other datasets, analysts should be mindful of frequency alignment: monthly series will need to be aggregated to quarter-end (or the margin debt date matched to the nearest month), and daily data such as stock prices will require resampling to quarterly. The date format appears ISO 8601-compliant (YYYY-MM-DD), which simplifies joins across FRED and other financial data providers. For time-lagged correlation studies, it is worth constructing lead/lag variants of the join key (e.g., t-1, t-2 quarters) to test whether margin debt anticipates or lags market movements.
---
5. Suggested Pairing Datasets for Correlation Discovery
Several dataset categories would pair powerfully with this series:
- S&P 500 or NYSE Composite Index (monthly/quarterly) — The most direct pairing; margin debt is widely theorized to lead or coincide with equity market peaks and troughs, making this a high-priority correlation target. - FRED Federal Funds Rate — Leverage appetite is deeply tied to borrowing costs; a rate vs. margin debt analysis could reveal credit cycle dynamics. - FRED Total Consumer Credit Outstanding — Comparing broker-dealer leverage to consumer leverage illuminates broader credit regime shifts. - VIX (CBOE Volatility Index) — Testing whether margin debt compression precedes volatility spikes could yield actionable risk signals. - Corporate Earnings (S&P 500 EPS, quarterly) — Disentangling leverage-driven price appreciation from fundamentals-driven appreciation. - Household Net Worth (also from Z.1 release, FRED) — A natural companion series from the same statistical release, enabling wealth-leverage ratio construction.
The combination of this series with equity prices and interest rates would form a particularly compelling trivariate model for identifying overheated market conditions historically associated with corrections.
Columns
- observation_date (date)
- BOGZ1FL663067003Q (integer)