| getStocks | R Documentation |
Returns common sample of historical prices of given portfolio.
getStocks(
symbols,
period = "daily",
interval = NULL,
adjusted = TRUE,
key = "premium"
)
symbols |
list of stock symbols to look up |
period |
resolution between prices: "daily", "weekly", "monthly" |
interval |
NULL for anything but intraday otherwise "1min", "5min", "15min", "30min", "60min" |
adjusted |
boolean for adjusted prices |
key |
"premium" or "free"; the type of API key obtained from AV |
xts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.