Learn R Programming

madness (version 0.2.8)

stock_returns: Stock Returns Data

Description

Historical weekly relative returns of common shares of IBM and AAPL, downloaded from Quandl.

Usage

data(stock_returns)

Arguments

Format

A data.frame object with 1930 observations and 3 columns The columns are defined as follows:

Date

The closing date at which the return was observed, as a Date object. These are Friday dates, ranging from January 1981 through December 2017.

AAPL

The simple returns of AAPL common shares, based on weekly (adjusted) close prices. A value of 0.01 corresponds to a one percent return. Close prices are adjusted for splits and dividends by Quandl.

IBM

The simple returns of IBM common shares, based on weekly (adjusted) close prices. A value of 0.01 corresponds to a one percent return. Close prices are adjusted for splits and dividends by Quandl.

Author

Steven E. Pav shabbychef@gmail.com

Examples

Run this code
data(stock_returns)
str(stock_returns)

Run the code above in your browser using DataLab