Description Usage Arguments Examples
stockQuoteBig
1 | stockQuoteBig(stockName = "Ex. \"AAPL\" ", year)
|
stock |
= stockTicker |
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])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.