stockQuoteBig: stockQuoteBig

Description Usage Arguments Examples

Description

stockQuoteBig

Usage

1
stockQuoteBig(stockName = "Ex. \"AAPL\" ", year)

Arguments

stock

= stockTicker

Examples

1
2
3
4
5
6
7
8
9
aapl <- stockQuoteBig("AAPL", "AKRX")
aapl$byDay
aapl$byMonth
aapl$byYear$Date

# Correlation between sh (S&P inverse) and S&P ETF
sh  <- stockQuoteBig("SH", 2010)
spy  <- stockQuoteBig("SPY", 2010)
cor(spy$byMonth$Percent.Change[1:80], sh$byMonth$Percent.Change[1:80])

fdrennan/fdRenn documentation built on May 16, 2019, 12:12 p.m.