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

Description Usage Arguments Details Value Author(s) References Examples

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

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)

grfiv/sp500SlidingWindow documentation built on May 17, 2019, 8:36 a.m.