Daily S&P 500 data from Jan 3, 1950 to present

Description

The "usual" S&P 500 index, without dividends reinvested.

Usage

1
SP500(tr = FALSE)

Arguments

tr

(bool) choose Total Return (tr=TRUE) or not (default tr=FALSE) Total Return data is available only from 1988; non-dividend-reinvested data is available from 1950.

Details

The columns of the data.frame returned

  • Date

  • Open

  • High

  • Low

  • Close

  • Volume

  • Adj.Close

Value

A data.frame with the daily data

Author(s)

George Fisher

References

Yahoo Finance

Examples

1
2
3
sp500_idx <- SP500()
head(sp500_idx)
tail(sp500_idx)