Description Usage Arguments Value Examples
Download intraday data from Google Finance or Yahoo Finance in xts format
1 2 | getIntradayPrice(ticker, src = "google", period = 1, interval = 5,
tz = NULL, auto.assign = FALSE, time.shift = 0)
|
ticker |
ticker for the data to download, include source (exchange) |
src |
source, can be either "google" or "yahoo" |
period |
time period in integer # of days |
interval |
time interval in integer # of minutes |
tz |
timezone, set to NULL by default |
auto.assign |
similar to getSymbols in quantmod, set to false by default |
time.shift |
time shift to apply (in hours) to align the time stamp |
an xts time series
1 2 | x <- gquote::getIntradayPrice("INDEXSP:.INX",period=5, interval=5)
tail(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.