The New York Stock Exchange publishes end-of-month data for margin debt on the NYX data website, where we can also find historical data back to 1959. Let’s examine the numbers and study the relationship between margin debt and the market, using the S&P 500 as the surrogate for the latter.