Description Usage Arguments Functions
Intraday, daily, then wk/month functions to pull historical or intraday price data
1 2 3 4 5 6 7 | GetIntraDay(tickers = "MSFT", interval = c("1min", "5min", "15min",
"30min", "60min"), apikey = "demo")
GetTimeSeriesDaily(tickers = "MSFT", adj = FALSE, apikey = "demo")
GetTimeSeries(tickers = "MSFT", adj = FALSE, period = c("day", "wk",
"month"), apikey = "demo")
|
tickers |
a vector of one or more tickers to pull data for |
interval |
applicable to IntraDay Prices only. One of: "1min", "5min", "15min", "30min", "60min" |
apikey |
API key from vendor in order to authorize api calls |
adj |
a boolean applicable for weekly, monthly, and daily time horizons. Set TRUE for prices adjusted for splits etc. |
period |
applicable when needing to specify one of "wk" or "month" |
GetIntraDay
: intraday function. Unique parameter of "interval". See above.
GetTimeSeriesDaily
: intraday function. Similar to intraday, has option for compact or full.
Additionally, set adj = TRUE
when prices should be adjusted (see description)
GetTimeSeries
: function for weekly or monthly data specified by
parameter period
which can be one of: "wk" or "month"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.