Incorporate S&P 500 Quotes

Learn how to import historical quotes from S&P quotes and the warnings that occur, and their solutions.

Import historical quotes

Let’s add one more data source to our mix. We’ve already seen how the CPI and employment wages trended over the past twenty years. Perhaps it would also be helpful to compare those numbers to a primary US stock market index. Specifically, we will import historical quotes from the Standard and Poors (S&P) 500 index.

The S&P 500 is a measure of the performance of 500 of the most prominent companies currently trading on significant US stock exchanges. The index doesn’t directly represent any real-world equities and has no direct value on its own. Instead, it’s designed as a helpful indicator of the health of the stock market as a whole.

The stock movement is shown in the following figure.

Get hands-on with 1200+ tech skills courses.