Description Usage Arguments Details Value Author(s) See Also Examples
Download historical financial data from a given data provider over the WWW.
1 2 3 4 5 |
instruments |
a character string giving the name of the quote symbol to download. See the web page of the data provider for information about the available quote symbols. |
start |
an R object specifying the date of the start of the
period to download. This must be in a form which is recognized by
|
end |
an R object specifying the end of the download period, see above. Defaults to yesterday. |
quote |
a character string or vector indicating whether to
download opening, high, low, or closing quotes, or volume. For the
default provider, this can be specified as |
provider |
a character string with the name of the data
provider. Currently, only |
method |
tool to be used for downloading the data. See
|
origin |
an R object specifying the origin of the Julian dates, see above. Defaults to 1899-12-30 (Popular spreadsheet programs internally also use Julian dates with this origin). |
quiet |
a flag to suppress output |
compression |
Governs the granularity of the retrieved data; "d" for daily, "w" for weekly or "m" for monthly. Defaults to "d". |
This function is a direct copy from package tseries
, and
all credit must go to the author of that package.
An "its"
object with the requested data
A. Trapletti [*not* responsible for errors, adapted from his original idea by Giles Heywood]
ts
,
as.POSIXct
,
download.file
;
http://quote.yahoo.com/
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.